Friday, 4 September 2015

Difference between “apt-get remove” or “apt-get purge”

Should I use apt-get remove or apt-get purge

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

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

I would tend to use purge if you tend to not want to keep any configuration files around.

Related Posts :

Linux Tutorial for Beginners

Importance command for Java developer

How to Empty a file  

No comments:

Post a Comment