32

I installed Unified Remote using dpkg:

dpkg -i urserver.deb

How do I uninstall it so I can reinstall from scratch?

59

First of all you should check if this package is correctly installed in your system and being listed by dpkg tool:

dpkg -l | grep urserver

It should have an option ii in the first column of the output - that means 'installed ok installed'.

If you'd like to remove the package itself (without the configuration files), you'll have to run:

dpkg -r urserver

If you'd like to delete (purge) the package completely (with configuration files), you'll have to run:

dpkg -P urserver

You may check if the package has been removed successfully - simply run again:

dpkg -l | grep urserver

If the package has been removed without configuration files, you'll see the rc status near the package name, otherwise, if you have purged the package completely, the output will be empty.

  • I actually prefer --purge to -P, easier to remember. – Rui F Ribeiro Mar 15 '16 at 22:05
8

I figured it out:

dpkg -r urserver
  • 4
    If you want to remove the configuration files too then dpkg -P ursserver – heemayl Apr 12 '15 at 16:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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