How do you remove twm in Linux / UNIX using apt-get command?
Here is the tutorial to learn how to uninstall twm with apt-get command.
Step 1: Open a terminal with 'su' access and enter the command as shown below.
apt-get remove twm -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 twm -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libusbip0 libsm dev syslinux python3 minimal libtwolame0 libjargs java
xfonts 75dpi libzbar0 rpm2cpio libchewing3 data libice dev
libdigest sha1 perl fakeroot libxrandr dev xfonts scalable libexpat1 dev
libiw dev squashfs tools unetbootin translations libxdamage dev
libpthread stubs0 scim bridge client gtk libotr2 gfxboot libxnee0 libsvga1
libxfixes dev g++ 4.4 libvarnish1 ttf dustin libzend framework php
libnspr4 dev libxcb render util0 dev libax25 scim modules table
language pack zh hant base x11proto xinerama dev libdca0 libx86 1
x11proto render dev libxi dev xmms2 plugin pulse java common librpmio0
xubuntu plymouth theme librpm0 libmagick++2 rpm common libxnconfig9.0.5
libiso9660 7 libpixman 1 dev libcddb2 lxde common usb creator gtk
libdirectfb extra java wrappers python urlgrabber libass4 scim znc tcl g++
libfontconfig1 dev pidgin data libscim8c2a firefox locale zh hans libvde0
firefox locale zh hant python3.1 libnss3 dev xorg docs core x11proto kb dev
x11proto randr dev libdvbpsi5 libxinerama dev gcc 4.4 libxosd2 xtrans dev
libatk1.0 dev libsexy2 libchewing3 libmenu cache1 libbabl 0.0 0 libx264 85
libgegl 0.0 0 libelf1 libforms1 libvlc2 xubuntu artwork libsdl image1.2 blt
x11proto input dev xmms2 plugin id3v2 libenca0 python sqlitecachec
x11proto fixes dev gnome extra icons cnee python rpm xubuntu wallpapers
vlc nox gcc xpdf reader cvs linux headers 2.6.32 74 libggi2 libgtkimageview0
linux headers 2.6.32 74 generic zend framework bin libreadline5 libgii1
libupnp3 x11proto xext dev libmatroska0 libxext dev libswt gtk 3.5 jni
scim gtk2 immodule znc perl x11proto damage dev linux headers generic rsync
manpages liba52 0.7.4 libnotify dev libglib2.0 dev libswt cairo gtk 3.5 jni
zlib1g dev lesstif2 liblzo2 2 desktop base python sqlite libcairo2 dev
xfonts 100dpi lxmenu data xmms2 plugin alsa liberror perl libzzip 0 13 tcl
libpango1.0 dev libfreetype6 dev libdvdnav4 build essential libxau dev
dpkg dev rpm libgii1 target x librpmbuild0 xfce4 power manager data
libxmmsclient6 libdvdread4 scim bridge agent gimp tcl8.5 pinyin database
xmms2 core libgimp2.0 gnumeric common python3 ttf arphic bsmi00lp xz utils
ibus pinyin db open phrase libc6 dbg libsidplay1 language pack zh hans base
python3.1 minimal usb creator common libc ares2 libc6 dev tk8.5 liblua5.1 0
libxcomposite dev libxcb render0 dev libxrender dev xmms2 plugin vorbis
libxmmsclient glib1 libmad0 xorg lxpanel ttf arphic gbsn00lp pmount
libid3tag0 html2text libopencore amrnb0 vlc data xmms2 plugin mad libxft dev
libx11 dev libtar libqt3 mt x11proto composite dev linux libc dev patch
manpages dev xvfb language pack zh hans language pack zh hant vzquota
libruby1.8 info libggi target x libdbus 1 dev libswt gtk 3.5 java
libc dev bin murrine themes libxcb1 dev libimlib2 libvala0 libgtk2.0 dev
libmail sendmail perl gimp data libdirectfb dev libvlccore2 binutils
libjpeg62 dev znc extra libvcdinfo0 libdbus glib 1 dev libebml0
libossp uuid16 libsys hostname long perl libopencore amrwb0 openbsd inetd
xmms2 icon libnet1 x11proto core dev xmms2 client cli xmms2 client nycli
libxdmcp dev libpthread stubs0 dev libsysfs dev libxcursor dev libmpeg2 4
gnumeric doc xpdf common vlc plugin pulse libxine1 ffmpeg
scim modules socket libvdeplug2 libstdc++6 4.4 dev libfaad2
libswt mozilla gtk 3.5 jni libpng12 dev
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
twm
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 418kB 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 ... 183690 files and directories currently installed.)
Removing twm ...
dpkg: warning: obsolete option ' print installation architecture', please use ' print architecture' instead.
dpkg: warning: obsolete option ' print installation architecture', please use ' print architecture' instead.
Processing triggers for menu ...
Processing triggers for man db ...
root@hiox:~