How do you install duplicity in Linux using apt-get command?
Here is a tutorial to learn how to install duplicity using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install duplicity -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of duplicity if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install duplicity -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libcache cache perl libproc processtable perl libdatetime format mail perl
libdevel symdump perl libsm dev libchart perl libnet daemon perl
libsys cpuload perl libdb je java junit4 libnet ssleay perl postgresql 8.4
libyaml tiny perl libexception class perl dx doc libice dev eclipse jdt
realpath libdigest sha1 perl libfilesys df perl libauthen sasl perl
libnet ip perl libdb4.7 java eclipse platform data emacs23 bin common
libproc process perl libio stringy perl libgcj bc gcj 4.4 base
libreadonly perl libclone perl libpthread stubs0 eclipse pde libjtidy java
libgd gd2 perl libicu4j java eclipse rcp libservlet2.4 java dxsamples
libdb4.7 java gcj libsox fmt base libossp uuid perl junit
libreadonly xs perl libcrypt ssleay perl libsox fmt alsa eclipse plugin cvs
libdbi perl libjson xs perl libdevel stacktrace perl libmime tools perl
libstring shellquote perl liblog log4perl perl libjson perl gcj 4.4 jre lib
libipc sharelite perl gettext base libjs prototype libperl6 junction perl
libfcgi perl libcommons compress java libnet jabber perl x11proto kb dev
libdvbpsi5 libebox libgcj10 libfile mmagic perl libdatetime timezone perl
libfile slurp perl libapache2 reload perl libid3 3.8.3c2a
libmail rfc822 address perl libdatetime format w3cdtf perl tcsh xtrans dev
libxml stream perl libelf1 gettext ant x11proto input dev default jdk
libjsch java libgnome2 gconf perl libsoap lite perl jarwrapper cvs
libjs scriptaculous libxml rss perl ant optional libparams validate perl
libbsd resource perl libfile tail perl libreadline5 libxt dev libhdf4 0
postgresql common libclass container perl libdatetime perl
liblog dispatch perl lesstif2 sat4j postgresql libsys cpu perl
libcommons el java postgresql client 8.4 liberror perl
libdatetime locale perl libapache2 mod perl2 libgsm1 libxau dev libdx4
libtask weaken perl sox libslf4j java libasm3 java libnet xmpp perl
dwm tools emacsen common libplrpc perl libregexp java wwwconfig common
libdbd pg perl fastjar libjasper java emacs23 postgresql client common
ant optional gcj libpq5 libid3tag0 libhamcrest java liblucene2 java
libx11 dev libequinox osgi java liblist moreutils perl
libclass data inheritable perl libintl perl eclipse platform libgcj common
libcommon sense perl libsox1a libnet libidn perl libapache singleton perl
emacs23 common libxcb1 dev openjdk 6 jdk libconvert binhex perl ant gcj
libcommons digester java libio socket ssl perl libhtml mason perl
libjetty java libossp uuid16 libjline java libclass singleton perl
x11proto core dev javascript common libxdmcp dev libpthread stubs0 dev
libnetcdf4
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
librsync1
Suggested packages:
python boto ncftp
The following NEW packages will be installed:
duplicity librsync1
0 upgraded, 2 newly installed, 0 to remove and 50 not upgraded.
Need to get 264kB of archives.
After this operation, 1114kB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid/universe librsync1 0.9.7 7 [70.3kB]
Get:2 http://old releases.ubuntu.com/ubuntu/ lucid updates/universe duplicity 0.6.08b 0ubuntu2.3 [193kB]
Fetched 264kB in 1s (201kB/s)
Selecting previously deselected package librsync1.
(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 ... 190741 files and directories currently installed.)
Unpacking librsync1 (from .../librsync1_0.9.7 7_amd64.deb) ...
Selecting previously deselected package duplicity.
Unpacking duplicity (from .../duplicity_0.6.08b 0ubuntu2.3_amd64.deb) ...
Processing triggers for man db ...
Setting up librsync1 (0.9.7 7) ...
Setting up duplicity (0.6.08b 0ubuntu2.3) ...
Processing triggers for libc bin ...
ldconfig deferred processing now taking place
Processing triggers for python central ...
root@hiox:~