2

Hey all I downloaded this file (http://packages.ubuntu.com/lucid/laptop-mode-tools) but can't seem to be able to uninstall it. I tried looking online as well as the README file but there is only instruction for installing, not uninstalling the package.

Attempted solutions:

sudo apt-get remove laptop_mode

returned

E: Unable to locate package laptop_mode

but when I type in laptop_mode I do get

Unhandled kernel version: 3.13 ('uname -r' = '3.13.0-32-generic')

Is there any way I can uninstall laptop-mode-tools?

3

You have installed the DEB file eg. laptop-mode-tools_1.52-1ubuntu2_all.deb. The version is not decisive.

Therefore

sudo apt-get remove laptop-mode-tools

If you compiled it yourself from an archive. Goto the source folder and run

sudo make uninstall

If this not work, follow these steps:

  1. Install checkinstall

    sudo apt-get install checkinstall
    
  2. Go into the laptop-mode-tools source folder and compile the tools again

  3. Start the installation with this command

    (The command installs a DEB package and replaces your previous installation)

    sudo checkinstall
    
  4. Remove the package

    sudo apt-get remove laptop-mode-tools
    

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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