← Back to team overview

ubuntuforums-unanswered team mailing list archive

Re: [Question #77360]: uninstall package + all its dependencies

 

Question #77360 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/77360

    Status: Open => Answered

Vihar proposed the following answer:
The command dpkg. Here's what Linux manual says for it when I run "man
dpkg" in terminal:

-r, --remove, -P, --purge package...|-a|--pending
              Remove  an  installed  package. -r or --remove remove everything
              except configuration files. This may avoid having to reconfigure
              the package if it is reinstalled later. (Configuration files are
              the files listed in the debian/conffiles control  file).  -P  or
              --purge removes everything, including configuration files. If -a
              or --pending is given instead of a package name, then all  pack‐
              ages  unpacked,  but  marked  to  be  removed  or purged in file
              /var/lib/dpkg/status, are removed or purged, respectively.

So you can do

sudo dpkg -r "the_exact_name_of_the application"


Also apt-get:

       remove
           remove is identical to install except that packages are removed
           instead of installed. Note the removing a package leaves its
           configuration files in system. If a plus sign is appended to the
           package name (with no intervening space), the identified package
           will be installed instead of removed.

       purge
           purge is identical to remove except that packages are removed and
           purged (any configuration files are deleted too).

So you can do

sudo apt-get remove "the_exact_name_of_the application"

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.