How do you install zip in Linux using apt-get command?
Result of the Command Execution shown below:
root@hiox:~ apt-get install zip -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libatk1.0 0 libpcsclite1 libjaxp1.3 java libgtk2.0 common
update notifier common libxcomposite1 fakeroot libxerces2 java
xfonts encodings libxxf86dga1 libatk1.0 data iso codes libsvga1 libxxf86vm1
python newt language pack zh hant base libx86 1 java common libgomp1
icedtea 6 jre cacao python apt libnspr4 0d default jre headless libcairo2
znc tcl xfonts utils openjdk 6 jre lib firefox locale zh hans
firefox locale zh hant libthai data gcc 4.4 cpu checker libdatrie1
openjdk 6 jre headless libavahi common data libxfont1 libffi5 libgtkspell0
libpango1.0 common libpixman 1 0 libcups2 gcc linux headers 2.6.32 74
libggi2 libxinerama1 linux headers 2.6.32 74 generic libgii1 python xdg
libxft2 tzdata java python cairo libaa1 znc perl libthai0
linux headers generic manpages libzookeeper java libzzip 0 13
libgii1 target x x ttcidfont conf python gtkspell tcl8.5 python gobject
libperl5.10 language pack zh hans base libc ares2 libc6 dev libavahi client3
python support ca certificates java libpango1.0 0 libxdamage1 linux libc dev
patch manpages dev language pack zh hans language pack zh hant
libxcb render0 libgtk2.0 bin libggi target x libc dev bin binutils znc extra
defoma libavahi common3 liblog4j1.2 java libxcb render util0 libjline java
libxrandr2 libnss3 1d python gtk2 libgtk2.0 0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
unzip
The following NEW packages will be installed:
unzip zip
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/525kB of archives.
After this operation, 1044kB of additional disk space will be used.
Selecting previously deselected package unzip.
(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 ... 49041 files and directories currently installed.)
Unpacking unzip (from .../unzip_6.0 1ubuntu0.2_amd64.deb) ...
Selecting previously deselected package zip.
Unpacking zip (from .../archives/zip_3.0 2_amd64.deb) ...
Processing triggers for man db ...
Setting up unzip (6.0 1ubuntu0.2) ...
Setting up zip (3.0 2) ...
root@hiox:~