When we operate and maintain the server, we need to uninstall the old software before installing the software. What command does the ubuntu server use to uninstall software? Here, Lao Zuo prepares three methods to uninstall the application.
1. Use the apt get remove command to uninstall the application:
Sudo apt get remove<application name>
2. Use the apt get purge command to uninstall the application and its configuration file:
Sudo apt get purge<application name>
3. Use the apt command to uninstall the application (introduced from Ubuntu 16.04):
Sudo apt remove<application name>
Here, we can choose the above method and need to replace<application name>with the name of the actual application to be uninstalled.