How do you install dpkg repack in Linux using apt-get command?
Here is a tutorial to learn how to install dpkg repack using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install dpkg repack -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of dpkg repack if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install dpkg repack -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libcache cache perl courier authlib libproc processtable perl php fpdf
libdatetime format mail perl libdevel symdump perl libsm dev libgd text perl
libchart perl libnet daemon perl libsys cpuload perl libdb je java junit4
pure ftpd common libnet ssleay perl libcrypt openssl rsa perl rpm2cpio
pure ftpd mysql postgresql 8.4 libyaml tiny perl bind9
libexception class perl dx doc courier imap ssl libice dev eclipse jdt
realpath libfilesys df perl libauthen sasl perl sasl2 bin libdb4.7 java
eclipse platform data libunshield0 emacs23 bin common libproc process perl
libconvert tnef perl libgd graph3d perl libio stringy perl db4.8 util
libgcj bc gcj 4.4 base libreadonly perl libclone perl libpthread stubs0
libpam unix2 eclipse pde libjtidy java libgd gd2 perl
libapache2 mod log sql ssl libicu4j java courier base eclipse rcp
libapache2 mod log sql mysql libservlet2.4 java dxsamples libdb4.7 java gcj
libsox fmt base rrdtool clamav mysql server bind9utils libossp uuid perl
junit php5 libreadonly xs perl libcrypt ssleay perl unshield libsox fmt alsa
eclipse plugin cvs libdbi perl ncftp libjson xs perl
libdevel stacktrace perl libarchive zip perl libmime tools perl
libstring shellquote perl courier pop ssl liblog log4perl perl libnusoap php
librpmio0 libjson perl librpm0 rpm common dspam librrd4 gcj 4.4 jre lib
libdshconfig1 libipc sharelite perl gettext base libhtml template perl
libjs prototype libapache2 mod php5 clamav base dtc common
libperl6 junction perl libclamav6 libfcgi perl libcommons compress java
dspam doc libnet jabber perl php5 gd x11proto kb dev libdvbpsi5 libebox
libdspam7 libgcj10 libfile mmagic perl libdatetime timezone perl
php mail mime libfile slurp perl libapache2 reload perl libid3 3.8.3c2a
libmail rfc822 address perl libdatetime format w3cdtf perl courier pop tcsh
procmail xtrans dev libxml stream perl php xml serializer libnet cidr perl
libxcrypt1 libelf1 courier ssl gettext sbox dtc libgd graph perl ant
libnss mysql bg php pear x11proto input dev default jdk libjsch java
libgnome2 gconf perl libsoap lite perl php5 curl libt1 5 jarwrapper cvs
libjs scriptaculous libxml rss perl ant optional libparams validate perl
libbsd resource perl libpam mysql expect libfile tail perl libreadline5
mlmmj libxt dev libnet server perl libhdf4 0 postgresql common
libdbd mysql perl libclass container perl libdatetime perl
liblog dispatch perl pax lesstif2 sat4j postfix mysql postgresql
libsys cpu perl libcommons el java postgresql client 8.4
libcompress raw zlib perl cabextract courier authdaemon
libdatetime locale perl libapache2 mod perl2 webalizer libgsm1 libxau dev
libdx4 rpm courier authlib userdb librpmbuild0 libtask weaken perl
courier imap sox courier maildrop mysql client libslf4j java libasm3 java
libnet xmpp perl dwm tools emacsen common libplrpc perl libregexp java
wwwconfig common php xml parser mhonarc libdbd pg perl fastjar
clamav freshclam libjasper java libapache2 mod log sql libmail dkim perl
emacs23 libconvert uulib perl chrootuid postgresql client common libdb4.6
libdb4.7 libberkeleydb perl ant optional gcj libpq5 amavisd new libid3tag0
libio multiplex perl libhamcrest java liblucene2 java php5 mysql libx11 dev
libequinox osgi java liblist moreutils perl libclass data inheritable perl
libintl perl eclipse platform libgcj common libcommon sense perl php5 cli
courier authlib mysql php crypt cbc libsox1a libnet libidn perl
libapache singleton perl emacs23 common libxcb1 dev openjdk 6 jdk
libconvert binhex perl ant gcj libcommons digester java clamav daemon
libio socket ssl perl libhtml mason perl libjetty java libossp uuid16
php mail mimedecode librsync1 php5 common openbsd inetd libjline java
mysql server 5.1 libclass singleton perl libnet1 x11proto core dev
javascript common libxdmcp dev libpthread stubs0 dev libunix syslog perl
libcrypt openssl bignum perl mysql client 5.1 libnids1.21 libnetcdf4
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
build essential dpkg dev fakeroot g++ g++ 4.4 libstdc++6 4.4 dev xz utils
Suggested packages:
debian keyring debian maintainers g++ multilib g++ 4.4 multilib gcc 4.4 doc
libstdc++6 4.4 dbg libstdc++6 4.4 doc
The following NEW packages will be installed:
build essential dpkg dev dpkg repack fakeroot g++ g++ 4.4 libstdc++6 4.4 dev
xz utils
0 upgraded, 8 newly installed, 0 to remove and 49 not upgraded.
Need to get 12.0kB/8287kB of archives.
After this operation, 26.6MB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid/universe dpkg repack 1.32 [12.0kB]
Fetched 12.0kB in 0s (28.8kB/s)
Selecting previously deselected package libstdc++6 4.4 dev.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 195835 files and directories currently installed.)
Unpacking libstdc++6 4.4 dev (from .../libstdc++6 4.4 dev_4.4.3 4ubuntu5.1_amd64.deb) ...
Selecting previously deselected package g++ 4.4.
Unpacking g++ 4.4 (from .../g++ 4.4_4.4.3 4ubuntu5.1_amd64.deb) ...
Selecting previously deselected package g++.
Unpacking g++ (from .../g++_4%3a4.4.3 1ubuntu1_amd64.deb) ...
Selecting previously deselected package xz utils.
Unpacking xz utils (from .../xz utils_4.999.9beta+20091116 1_amd64.deb) ...
Selecting previously deselected package dpkg dev.
Unpacking dpkg dev (from .../dpkg dev_1.15.5.6ubuntu4.10_all.deb) ...
Selecting previously deselected package build essential.
Unpacking build essential (from .../build essential_11.4build1_amd64.deb) ...
Selecting previously deselected package dpkg repack.
Unpacking dpkg repack (from .../dpkg repack_1.32_all.deb) ...
Selecting previously deselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.14.4 1ubuntu1_amd64.deb) ...
Processing triggers for man db ...
Setting up xz utils (4.999.9beta+20091116 1) ...
Setting up dpkg dev (1.15.5.6ubuntu4.10) ...
Setting up dpkg repack (1.32) ...
Setting up fakeroot (1.14.4 1ubuntu1) ...
update alternatives: using /usr/bin/fakeroot sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
Setting up libstdc++6 4.4 dev (4.4.3 4ubuntu5.1) ...
Setting up g++ 4.4 (4.4.3 4ubuntu5.1) ...
Setting up g++ (4:4.4.3 1ubuntu1) ...
update alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode.
Setting up build essential (11.4build1) ...
root@hiox:~