Reference http://www.tennfy.com/1518.html
Apt-get–purge Remove
Remove the installed package (does not preserve the configuration file).
If package A is dependent on package B, executing the command deletes a and does not preserve the configuration file
Apt-get Autoremove
Remove packages (including installed packages) that are installed to meet dependencies but are no longer needed.
If package A, which depends on package B, executes the command and deletes the package, a, a
Apt-get Remove
Remove the installed packages (keep profile).
such as package A, which relies on package B, executes the command to delete a, and preserves the configuration file
Apt-get AutoClean
The underlying package for apt is dpkg, and when dpkg installs the packages, *.deb is placed in/var/cache/apt/archives/.
Apt-get AutoClean will only remove Deb that has expired/var/cache/apt/archives/.
Apt-get Clean
Using Apt-get clean will erase all Deb/var/cache/apt/archives/.
Similar to Rm/var/cache/apt/archives/*.deb
Summary
If the software is completely uninstalled, it is recommended to use Apt-get–purge remove, which is not recommended, because you can remove the dependent package or be dependent on other software packages, which may result in the unavailability of other programs.
If you are cleaning the hard drive, it is recommended to use Apt-get Autoclean,deb after installation is basically not much use, can be eliminated
Apt-get Way to remove software