How do you remove zbar tools in Linux / UNIX using apt-get command?
Here is the tutorial to learn how to uninstall zbar tools with apt-get command.
Step 1: Open a terminal with 'su' access and enter the command as shown below.
apt-get remove zbar tools -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 zbar tools -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 gconf2 common libgtk2.0 common
libgsf 1 common update notifier common libzbar0 libchewing3 data
libxcomposite1 ibus table cangjie fakeroot libxerces2 java libcupsimage2
xfonts encodings libxxf86dga1 libatk1.0 data iso codes libmagickcore2
scim bridge client gtk language support zh hans language support zh hant
libsvga1 language support input zh hans language support input zh hant unzip
libibus1 libxxf86vm1 libzend framework php ibus gtk scim modules table
python newt libmagickwand2 language pack zh hant base ibus table wubi
ibus chewing libx86 1 ibus pinyin gconf2 java common libmagick++2 libgomp1
icedtea 6 jre cacao python apt libnspr4 0d default jre headless libcairo2
scim znc tcl xfonts utils libscim8c2a openjdk 6 jre lib
firefox locale zh hans firefox locale zh hant libthai data gcc 4.4
cpu checker librsvg2 common libdatrie1 openjdk 6 jre headless
libavahi common data libchewing3 libxfont1 libindicator0 libgconf2 4 libffi5
libgtkspell0 libpango1.0 common python glade2 libpixman 1 0 libcups2 gcc
linux headers 2.6.32 74 libggi2 libdbusmenu glib1 libxinerama1
linux headers 2.6.32 74 generic zend framework bin libgii1 python xdg
libxft2 ttf arphic uming libcroco3 tzdata java python cairo libdbusmenu gtk1
libgsf 1 114 xfonts wqy libaa1 scim gtk2 immodule znc perl
language support fonts zh hans language support fonts zh hant libthai0
linux headers generic python dbus manpages libidl0 libglade2 0
libzookeeper java im switch libzzip 0 13 python appindicator
libgii1 target x x ttcidfont conf python gtkspell scim bridge agent libgs8
tcl8.5 pinyin database psfontmgr python gobject ttf arphic bsmi00lp
libappindicator0 libperl5.10 ibus pinyin db open phrase
language pack zh hans base ibus libc ares2 libc6 dev liborbit2 ghostscript
librsvg2 2 libavahi client3 ibus table ttf arphic gbsn00lp python support
ca certificates java libpango1.0 0 ttf wqy zenhei libxdamage1 linux libc dev
patch manpages dev ttf arphic ukai language pack zh hans
language pack zh hant libxcb render0 libgtk2.0 bin libggi target x
libpaper utils libc dev bin python ibus binutils znc extra
libjson glib 1.0 0 defoma libavahi common3 liblog4j1.2 java
libxcb render util0 libjline java libxrandr2 indicator application
libnss3 1d python gtk2 libgtk2.0 0 gsfonts libpaper1 libltdl7
scim modules socket
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
zbar tools
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 115kB 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 ... 57932 files and directories currently installed.)
Removing zbar tools ...
root@hiox:~