How do you remove unzip in Linux / UNIX using apt-get command?
Here is the tutorial to learn how to uninstall unzip with apt-get command.
Step 1: Open a terminal with 'su' access and enter the command as shown below.
apt-get remove unzip -y
Step 2: The command reads the package lists and proceeds with the uninstallation.
Result of the Command Execution shown below:
root@hiox:~ apt-get remove unzip -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
kubuntu debug installer libusbip0 sane utils python packagekit libsm dev
python gnome2 syslinux libpackagekit qt 12 libical0 python3 minimal
libjaxp1.3 java dnsmasq base libtwolame0 libjargs java libqca2 xfonts 75dpi
libzbar0 libgnome bluetooth7 python pyorbit rpm2cpio xsltproc
libsilcclient 1.1 3 libido 0.1 0 libchewing3 data libice dev lp solve
libpth20 libdigest sha1 perl fakeroot libxrandr dev libgmime 2.4 2 libv4l 0
ttf dejavu extra xfonts scalable libexpat1 dev libiw dev libxerces2 java
unetbootin translations libxdamage dev libgtk vnc 1.0 0 pkg config
libnet dbus perl libxine1 x libcaca0 libmeanwhile1 libgucharmap7
libsamplerate0 libkpathsea5 kpackagekit libevdocument2 libpthread stubs0
gnome games common libavc1394 0 libmodplug0c2 zenity libpangomm 1.4 1
scim bridge client gtk libotr2 libtie ixhash perl pulseaudio libspectre1
libxnee0 libsvga1 libgnome window settings1 libecal1.2 7 libbeagle1 libsane
libxfixes dev libgtkmm 2.4 1c2a g++ 4.4 libqt4 test libvarnish1 icedtea netx
azureus libibus1 ttf dustin libzend framework php libjack0 libnspr4 dev
ibus gtk libxcb render util0 dev libboost program options1.40.0 libnm util1
libax25 kdelibs5 scim modules table libxcb xv0 phonon
language pack zh hant base libevview2 libpolkit gtk 1 0 libgupnp 1.0 3
nvidia current modaliases x11proto xinerama dev
mobile broadband provider info libpcap0.8 libdca0 libx86 1
x11proto render dev libindicate gtk2 oxygen icon theme libxi dev
xmms2 plugin pulse plasma scriptengine javascript java common
libgdata google1.2 1 librpmio0 xubuntu plymouth theme librpm0
pulseaudio module x11 guile 1.8 libs libmagick++2 rpm common
icedtea 6 jre cacao libedata cal1.2 6 libxnconfig9.0.5 python gnomecanvas
libiso9660 7 libpixman 1 dev libnspr4 0d libsqlite0 libcddb2 lxde common
usb creator gtk libdirectfb extra java wrappers libcommons cli java
gdebi core default jre headless libass4 scim znc tcl g++ plymouth label
libfontconfig1 dev pidgin data libscim8c2a openjdk 6 jre lib
firefox locale zh hans libvde0 firefox locale zh hant python3.1 libnss3 dev
libgadu3 xorg docs core x11proto kb dev x11proto randr dev libwavpack1
libqt4 opengl libdvbpsi5 libxinerama dev gcc 4.4 avahi utils cpu checker
kdesudo libglibmm 2.4 1c2a libxosd2 update manager core
openjdk 6 jre headless xtrans dev libatk1.0 dev libindicate4
libakonadiprivate1 libdevkit power gobject1 libsexy2 libchewing3
libmenu cache1 libbabl 0.0 0 libx264 85 libgegl 0.0 0 libiec61883 0 libelf1
libforms1 libvlc2 libcairomm 1.0 1 libgdata common libgtkspell0
xubuntu artwork libsdl image1.2 libqt4 help python qt4 libclutter gtk 0.10 0
blt x11proto input dev xmms2 plugin id3v2 libenca0 rtkit libpulse browse0
libgnome desktop 2 17 libexempi3 x11proto fixes dev python sip
gnome extra icons cnee xubuntu wallpapers vlc nox gcc libedataserverui1.2 8
gdb libsilc 1.1 2 xpdf reader cvs linux headers 2.6.32 74 libggi2
pulseaudio esound compat linux headers 2.6.32 74 generic libavahi ui0
iputils arping zend framework bin libedata book1.2 2 libreadline5 libgii1
phonon backend xine libupnp3 ttf arphic uming libtelepathy glib0
x11proto xext dev libcolamd2.7.1 libnm glib2 kdepimlibs data
indicator messages xulrunner 1.9.2 libmatroska0 modemmanager tzdata java
apport symptoms libxext dev libpulse mainloop glib0 libegroupwise1.2 13
icoutils libaa1 libclutter 1.0 0 libspeexdsp1 libswt gtk 3.5 jni
libieee1284 3 scim gtk2 immodule znc perl x11proto damage dev
software properties kde language support fonts zh hans
language support fonts zh hant linux headers generic rsync manpages
liba52 0.7.4 libpoppler glib4 libnotify dev libglib2.0 dev libzookeeper java
libxine1 console libswt cairo gtk 3.5 jni zlib1g dev lesstif2 liblzo2 2
desktop base libcairo2 dev xfonts 100dpi lxmenu data xmms2 plugin alsa
im switch liberror perl libzzip 0 13 tcl libpango1.0 dev libfreetype6 dev
libshout3 libdv4 libdvdnav4 build essential libxau dev dpkg dev rpm
libgii1 target x librpmbuild0 xfce4 power manager data libxmmsclient6
polkit kde 1 libdvdread4 install package scim bridge agent gstreamer0.10 x
libgdata6 packagekit fglrx modaliases libtotem plparser17
nvidia 96 modaliases tcl8.5 libqt4 assistant pinyin database gdebi kde
libplasma3 xmms2 core libgimp2.0 ttf dejavu gnumeric common
libxine1 misc plugins python3 ttf arphic bsmi00lp liblircclient0 kdepimlibs5
update manager kde xz utils libgupnp igd 1.0 2 ibus pinyin db open phrase
libc6 dbg kdelibs bin language pack zh hans base gnome desktop data
python gdbm python3.1 minimal usb creator common libc ares2 libc6 dev
libpackagekit glib2 12 tk8.5 libnautilus extension1 liblua5.1 0
libxcomposite dev libcamel1.2 14 vim runtime libxcb render0 dev
app install data libxrender dev xmms2 plugin vorbis liboobs 1 4
libxmmsclient glib1 libmad0 libatspi1.0 0 libxml xpath perl xorg lxpanel
ttf arphic gbsn00lp libgpgme11 evolution data server common pmount
libid3tag0 ca certificates java html2text libcommons lang java vlc data
libzephyr4 xmms2 plugin mad libxft dev libx11 dev kdebase runtime libtar
libqt3 mt x11proto composite dev linux libc dev patch manpages dev xvfb
ttf arphic ukai libgnome menu2 language pack zh hans language pack zh hant
vzquota libebackend1.2 0 libruby1.8 info dvd+rw tools libggi target x
libqt4 scripttools libavahi gobject0 libdbus 1 dev libswt gtk 3.5 java
system tools backends libc dev bin libnice0 murrine themes libxcb1 dev
libimlib2 libxcb shape0 libvala0 gstreamer0.10 nice libgtk2.0 dev
libmail sendmail perl libssh 4 gimp data libjs jquery libxcb shm0
libdirectfb dev libvlccore2 binutils kdebase runtime data libjpeg62 dev
znc extra libvcdinfo0 libdbus glib 1 dev libebml0 nvidia 173 modaliases
p7zip full openjdk 6 jre libossp uuid16 libsys hostname long perl libmpcdec3
libgdata1.2 1 liblog4j1.2 java openbsd inetd libjline java bcmwl modaliases
xmms2 icon libnet1 libnss3 1d x11proto core dev xmms2 client cli
python gconf libxml twig perl libgssdp 1.0 2 xmms2 client nycli libxine1 bin
libxdmcp dev libpthread stubs0 dev libsysfs dev pulseaudio utils
libxcursor dev libmpeg2 4 gnumeric doc libedataserver1.2 11 python kde4
xpdf common vlc plugin pulse libasound2 plugins scim modules socket
libvdeplug2 libstdc++6 4.4 dev libebook1.2 9 libfaad2
libswt mozilla gtk 3.5 jni packagekit backend apt libxine1 libpng12 dev
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
unzip
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 397kB disk space will be freed.
(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 ... 129727 files and directories currently installed.)
Removing unzip ...
Processing triggers for man db ...
root@hiox:~