apt-get remove x window system

How do you remove x window system in Linux / UNIX using apt-get command?

How to Uninstall x window system in Linux with apt-get?

apt-get remove x window system -y

Remove X Window System  Remove Command

Here is the tutorial to learn how to uninstall x window system with apt-get command.

Step 1: Open a terminal with 'su' access and enter the command as shown below.
apt-get remove x window system -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 x window system -y
Reading package lists...
Building dependency tree...
Reading state information...
Note, selecting xorg instead of x window system
The following packages were automatically installed and are no longer required:
x11 apps libatk1.0 0 libpcsclite1 python3 minimal libjaxp1.3 java
gconf2 common libgtk2.0 common libgsf 1 common libjargs java xfonts 75dpi
libzbar0 rpm2cpio xserver xorg video all libchewing3 data libxcomposite1
xserver xorg video apm xserver xorg video ark fakeroot
xserver xorg video ati xfonts scalable libxerces2 java xfonts encodings
libfile copy recursive perl xserver xorg video openchrome intel gpu tools
libatk1.0 data scim bridge client gtk xserver xorg video s3virge
xserver xorg video v4l x11 xkb utils xserver xorg video mga libsvga1
xserver xorg video chips update inetd unzip xserver xorg core
xserver xorg video mach64 libibus1 libzend framework php xterm ibus gtk
xserver common scim modules table language pack zh hant base
xserver xorg video trident xserver xorg video sis libpcap0.8 java common
librpmio0 librpm0 libmagick++2 rpm common icedtea 6 jre cacao libsqlite0
java wrappers xserver xorg video siliconmotion default jre headless
libcairo2 xserver xorg input vmmouse scim znc tcl xfonts utils
xserver xorg video savage libscim8c2a openjdk 6 jre lib
firefox locale zh hans firefox locale zh hant libthai data python3.1
xorg docs core xserver xorg video tdfx gcc 4.4 x11 session utils cpu checker
librsvg2 common libdatrie1 openjdk 6 jre headless konsole libchewing3
xserver xorg video intel libxfont1 libindicator0 libgconf2 4 xinput libelf1
xserver xorg input all libgtkspell0 xbitmaps libpango1.0 common blt
xserver xorg video vmware libpixman 1 0 xserver xorg video r128 gcc
linux headers 2.6.32 74 xfonts base libggi2 xserver xorg input evdev
libdbusmenu glib1 linux headers 2.6.32 74 generic zend framework bin
xserver xorg video vesa libgii1 x11 xfs utils ttf arphic uming libcroco3
tzdata java libdbusmenu gtk1 libgsf 1 114 xfonts wqy scim gtk2 immodule
znc perl language support fonts zh hans language support fonts zh hant
libthai0 linux headers generic manpages libidl0 xserver xorg video s3
xserver xorg libglade2 0 libzookeeper java xserver xorg video nv
xfonts 100dpi xserver xorg video voodoo xserver xorg video fbdev
xserver xorg input wacom im switch xinit libzzip 0 13 tcl
xserver xorg video nouveau rpm libgii1 target x librpmbuild0
x ttcidfont conf libfs6 scim bridge agent xserver xorg video neomagic tcl8.4
tcl8.5 pinyin database xserver xorg input mouse python3 ttf arphic bsmi00lp
libappindicator0 ibus pinyin db open phrase language pack zh hans base
python3.1 minimal libc ares2 libc6 dev liborbit2 tk8.4 tk8.5 liblua5.1 0
librsvg2 2 ttf arphic gbsn00lp ca certificates java
xserver xorg video sisusb libpango1.0 0 ttf wqy zenhei linux libc dev patch
manpages dev ttf arphic ukai language pack zh hans language pack zh hant
xserver xorg video tseng xserver xorg video radeon libxcb render0
libgtk2.0 bin libggi target x libc dev bin xserver xorg video cirrus
binutils znc extra libjson glib 1.0 0 liblog4j1.2 java libxcb render util0
openbsd inetd libjline java indicator application libnet1
xserver xorg input synaptics libgtk2.0 0 xserver xorg video rendition talkd
libxkbfile1 xserver xorg video i128 scim modules socket
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
xorg
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 36.9kB 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 ... 79028 files and directories currently installed.)
Removing xorg ...
root@hiox:~


Related Topics

Apt Get Commands