I installed the AMD graphics driver and it made some problems on my computer.
How can I uninstall the AMD graphics driver by terminal?

1 Answer 1


Run the following commands to remove the driver

sudo apt-get purge fglrx*
sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo reconfigure xserver-xorg

After running the commands reboot your computer.

WARNING : These commands might destroy your system

  • 1
    when you do that, you didn't need to reinstall the open source driver?and i think this question is similar to this one elementaryos.stackexchange.com/questions/6795/…
    – Alexandr
    Jun 25, 2016 at 15:36
  • Yes, It worked on my laptop.But I'll just add the other commands in case the system is different
    – Suici Doga
    Jun 26, 2016 at 0:38
  • So can you run this from the desktop ?
    – Suici Doga
    Sep 9, 2016 at 4:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.