03-10-2013
Ever looked at dpkg?
man dpkg:
Quote:
Examples: . . .
To install a package, you first need to find it in an archive or CDROM. The "available" file shows that the vim package is in section "editors":
cd /media/cdrom/pool/main/v/vim
dpkg -i vim_4.5-3.deb
This User Gave Thanks to RudiC For This Post:
9 More Discussions You Might Find Interesting
1. Linux
Does anybody know what command will bring up my harddrive and how much room is left on it? (13 Replies)
Discussion started by: byblyk
13 Replies
2. UNIX for Dummies Questions & Answers
:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows......
dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/????????
Where I have the question marks is the problem.
How do I find out what the... (4 Replies)
Discussion started by: shorty
4 Replies
3. Filesystems, Disks and Memory
Hi
I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies
4. Solaris
How can I get only the local hard disks in Solaris?
I've tried iostat -x, iostat -E, etc, but it shows the cdroms, dvds, external storage... I want only the local physical hard disks.
Thanks. (2 Replies)
Discussion started by: psimoes79
2 Replies
5. UNIX for Advanced & Expert Users
Hi all,
I would to know if I can install Linux on an external 320 gigabyte hard drive..I have Windows XP on my internal hard drive which is 80 GB , but this installation on 320 external HDD is for testing purpose
If it is possible to install Linux on the external drive, will it cause any... (5 Replies)
Discussion started by: bsandeep_80
5 Replies
6. Linux
Dear all,
I would like to install a new version of package without remove old version on Centos and vice versa.
Please give me advice!
thanks much, (2 Replies)
Discussion started by: all4cfa
2 Replies
7. Ubuntu
Hi Guys..
I want to install Linux on my portable hard drive.
I created a 20GB partition in my hard drive for linux, Now I want to make it bootable mean when I connect it to system n start the system it will start the LINUX and when start without usb-hard drive it should start the windows.
... (3 Replies)
Discussion started by: atul9806
3 Replies
8. Solaris
I am trying to build a Sun Ultra 10 with solaris 10. This computer is one of a collection that was donated to the non-profic company I work for. All media was wiped before I recieved them, so I am starting from stratch.
I downloaded the Solaris 10 ISO and burned a DVD. The computer came with a... (4 Replies)
Discussion started by: gwillhight
4 Replies
9. UNIX for Dummies Questions & Answers
Hello,
i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm"
in /usr/local/ directory.
I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't.
I did:
1st try: Didn't work
sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies
LEARN ABOUT DEBIAN
dpkg-repack
DPKG-REPACK(1) General Commands Manual DPKG-REPACK(1)
NAME
dpkg-repack - put an unpacked .deb file back together
SYNOPSIS
dpkg-repack [--root=dir] [--arch=architecture] [--generate] packagename [packagename ...]
DESCRIPTION
dpkg-repack creates a .deb file out of a Debian package that has already been installed on your system.
If any changes have been made to the package while it was unpacked (ie, conffiles files in /etc modified), the new package will inherit the
changes. (There are exceptions to this, including changes to configuration files that are not conffiles, including those managed by ucf.)
This utility can make it easy to copy packages from one computer to another, or to recreate packages that are installed on your system, but
no longer available elsewhere.
Note: dpkg-repack will place the created package in the current directory.
OPTIONS
--root=dir
Take package from filesystem rooted on <dir>. This is useful if, for example, you have another computer nfs mounted on /mnt, then
you can use --root=/mnt to reassemble packages from that computer.
--arch=architecture
Make the package be for a different architecture. dpkg-repack cannot tell if an installed package is architecture all or is spe-
cific to the system's architecture, so by default it uses dpkg --print-architecture to determine the build architecture. If you know
the package is architecture all, you can use this option to force dpkg-repack to use the right architecture.
--generate
Generate a temporary directory suitable for building a package from, but do not actually create the package. This is useful if you
want to move files around in the package before building it. The package can be built from this temporary directory by running "dpkg
--build", passing it the generated directory.
packagename
The name of the package to attempt to repack. Multiple packages can be listed.
BUGS
This program accesses the dpkg database directly in places, querying for data that cannot be gotten via dpkg.
There is a tricky situation that can occur if you dpkg-repack a package that has modified conffiles. The modified conffiles are packed up.
Now if you install the package, dpkg does not realize that the conffiles in it are modified. So if you later upgrade to a new version of
the package, dpkg will believe that the old (repacked) package has older conffiles than the new version, and will silently replace the
conffiles with those in the package you are upgrading to.
While dpkg-repack can be run under fakeroot and will work most of the time, fakeroot -u must be used if any of the files to be repacked are
owned by non-root users. Otherwise the package will have them owned by root. dpkg-repack will warn if you run it under fakeroot without
the -u flag.
AUTHOR
Joey Hess <joeyh@debian.org>
DEBIAN
Debian Utilities DPKG-REPACK(1)