How do you remove usbutils in Linux / UNIX using apt-get command?
Here is the tutorial to learn how to uninstall usbutils with apt-get command.
Step 1: Open a terminal with 'su' access and enter the command as shown below.
apt-get remove usbutils -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 usbutils -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
x11 apps libusbip0 sane utils 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 libgail18 libpth20 libdigest sha1 perl
fakeroot libxrandr dev libgmime 2.4 2 libv4l 0 ttf dejavu extra
xfonts scalable libexpat1 dev libgnome2 0 libiw dev libwebkit 1.0 common
libxerces2 java libxdamage dev libgtk vnc 1.0 0 pkg config libnet dbus perl
libxine1 x libcaca0 libmeanwhile1 libgucharmap7 libgnomecanvas2 0
libsamplerate0 libkpathsea5 xbase clients libevdocument2 libpthread stubs0
libicu42 gnome games common libavc1394 0 esound clients libbonobo2 common
gnome mime data libmodplug0c2 zenity libpangomm 1.4 1 scim bridge client gtk
libotr2 libtie ixhash perl pulseaudio libspectre1 libgnomeui 0 libcairo perl
libxnee0 libsvga1 libgtk2 perl 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 scim modules table
libxcb xv0 libbonobo2 0 phonon language pack zh hant base libevview2
libgnomevfs2 common 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 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 libdirectfb extra java wrappers
libcommons cli java 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
x11 session utils libpango perl cpu checker libglibmm 2.4 1c2a libxosd2
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 libclutter gtk 0.10 0 blt
x11proto input dev python glade2 xmms2 plugin id3v2 libenca0 rtkit
libpulse browse0 libgnome desktop 2 17 libexempi3 x11proto fixes dev
gnome extra icons cnee xubuntu wallpapers vlc nox gcc libgnome2 common
libedataserverui1.2 8 gdb libsilc 1.1 2 xpdf reader cvs
linux headers 2.6.32 74 libggi2 pulseaudio esound compat libesd0
linux headers 2.6.32 74 generic libavahi ui0 iputils arping
zend framework bin libedata book1.2 2 libgii1 phonon backend xine
x11 xfs utils libupnp3 ttf arphic uming libgnomevfs2 0 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 python cairo libpulse mainloop glib0
libegroupwise1.2 13 icoutils libgtop2 common libaa1 libclutter 1.0 0
libspeexdsp1 libswt gtk 3.5 jni libieee1284 3 scim gtk2 immodule znc perl
x11proto damage dev libgnome2 canvas perl 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 esound common lxmenu data
xmms2 plugin alsa im switch libglib perl 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 libfs6 libdvdread4 scim bridge agent
gstreamer0.10 x libgdata6 fglrx modaliases libtotem plparser17
nvidia 96 modaliases tcl8.5 libqt4 assistant pinyin database libgtop2 7
xmms2 core libgimp2.0 gnumeric common libxine1 misc plugins python3
ttf arphic bsmi00lp liblircclient0 libgnomeui common xz utils synaptic
libwebkit 1.0 2 libgupnp igd 1.0 2 gksu ibus pinyin db open phrase libc6 dbg
smartdimmer language pack zh hans base gnome desktop data python3.1 minimal
libc ares2 libc6 dev libpackagekit glib2 12 tk8.5 libnautilus extension1
liblua5.1 0 libxcomposite dev libcamel1.2 14 libbonoboui2 0 vim runtime
libxcb render0 dev app install data libxrender dev xmms2 plugin vorbis
liboobs 1 4 libxmmsclient glib1 libgksu2 0 libmad0 libatspi1.0 0
libxml xpath perl xorg lxpanel ttf arphic gbsn00lp libgpgme11 libart 2.0 2
evolution data server common libid3tag0 ca certificates java html2text
libcommons lang java vlc data libzephyr4 xmms2 plugin mad libxft dev
libx11 dev libtar hal info 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 libbonoboui2 common
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 openjdk 6 jre
libossp uuid16 libsys hostname long perl libmpcdec3 libgdata1.2 1
liblog4j1.2 java openbsd inetd libjline java bcmwl modaliases
gnome icon theme xmms2 icon libnet1 libnss3 1d x11proto core dev python gtk2
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 libgnomecanvas2 common 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 libxine1 libaudiofile0
libpng12 dev
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
usbutils
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 586kB 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 ... 127782 files and directories currently installed.)
Removing usbutils ...
Processing triggers for man db ...
root@hiox:~