The only thing you should watch for, is if you started using one of the dependencies say “Python” but never actually installed it yourself then it will be removed. If you remove apache, all these libraries will be left behind until you run autoremove. Say that you install apache, it will install a lot of libraries. In other words, it will only goes through the catalog and remove any left over packages that were not directly installed and that are not required by packages that are installed. apt autoremoveĪutoremove is used to remove packages that were automatically installed to satisfy dependencies for other packages and are now no longer needed. Note that other tools like aptitude will only remember dependency information for packages that it has installed. There is no easy way to get those removed as well. However, purge won’t touch configuration or data files inside the user’s home folder (e.g. It will remove about everything regarding the package, but not the dependencies installed with it on installation, which is particularly useful when you want to “start all over” with an application because you messed up the configuration. Purge is identical to remove except that packages are removed and purged (any configuration files are deleted too). It will remove the binaries, but leave configuration files, data files, and dependencies installed with it on installation time untouched. Remove is identical to install except that packages are removed instead of installed. The differences between the command you metioned are described as follows.
0 Comments
Leave a Reply. |