I installed Unified Remote using dpkg:

dpkg -i urserver.deb

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


2 Answers 2


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

dpkg -l '*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 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.

  • 6
    Just a note that you have to use the package name, not the name of the installed software. Example: dpkg -i google-chrome-stable_current_amd64.deb installs google-chrome, but to remove you must use dpkg -i google-chrome-stable, not dpkg -i google-chrome, neither dpkg -i google-chrome-stable_current_amd64.deb.
    – not2savvy
    Commented Jun 29, 2022 at 16:24
  • Good note on the package name. For instance : dpkg -l 'hddtemp' returns: ||/ Name Version Architecture Description +++-==============-=============-============-========================================= ii hddtemp 0.3-beta15-53 amd64 hard drive temperature monitoring utility The 'name' column is what you need
    – Jay Lepore
    Commented Oct 7, 2022 at 5:52

I figured it out:

dpkg -r urserver
  • 8
    If you want to remove the configuration files too then dpkg -P ursserver
    – heemayl
    Commented Apr 12, 2015 at 16:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .