1

I'm very new to Linux. I thought having a GUI would be nice, but it is using too much RAM so I'd like to just use the regular terminal for now. I have Ubuntu 12.04 server with XFCE installed.

How can I uninstall all GUI related packages and everything that came with them?

Trich
  • 135
  • 1
  • 5

1 Answers1

1

To remove XFCE completely along with its installed packages do as

sudo apt-get purge $(dpkg -l | awk '/[X,x]fce/{print $2}')

That will do the part. Hope that helps.

Raja G
  • 102,391
  • 106
  • 255
  • 328
  • Thanks, that seemed to work. It said it would only free up around 60mb of space though, does that sound right? I'm not worried about the hard drive space but it also didn't put the RAM usage down as much as I thought. I only saved about 100mb of RAM after a server restart. – Trich Dec 18 '13 at 13:35
  • Glad that it worked for you.l – Raja G Dec 18 '13 at 13:36