Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed a driver a while ago and now need to remove it to be able to install a new driver. The new driver is compatible with Software Center but will not install saying it cannot co-exist with the old driver.

The old driver was installed in Terminal. I have tried

sudo apt-get purge driver


sudo apt-get autoremove driver

but it will not uninstall. Any other ideas?

share|improve this question

closed as too localized by htorque, Jorge Castro, Bruno Pereira, James, Lekensteyn Feb 11 '12 at 14:39

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

You have to provide real information. How did you install it? "Outside software center" means nothing. You could've copied it in place yourself, compiled it or anything. Without good data, there's nothing to help people provide an answer. – Jo-Erlend Schinstad Oct 14 '11 at 14:52
You may even consider to add the name of the driver. Somebody may have had a similar problem with it ;) – Takkat Oct 14 '11 at 15:10

I suspect that what you are missing is the name of the package containing the driver (if I'm wrong, please provide more information). So, first of all, we have to find the name of the package. There are two ways to proceed, choose the one you prefer.

If you prefer to use a graphical application, you can open Synaptic package manager, then select Origin → Local from the left sidebar. From there, you can see the list of all the locally installed package (i.e. the packages that were not installed through a software repository). Once you have found your driver, you can right-click on it and Mark (it) for removal.

If, instead, you prefer the terminal, you can get a list of the locally installed packages with this command:

aptitude search "~Ol"

Once you have found the name of your package, just use sudo apt-get remove PACKAGE.

share|improve this answer
~Ol gives me a series of non installed packages. Where do you get that string? – enzotib Oct 14 '11 at 16:47

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