Clear Software and residual RC Software List in Ubuntu: 1. Very useful cleanup command: sudoapt-getautoclean clear old software cache sudoapt-getclean clear all software caches sudoap
In Ubuntu, clean up the software and the list of residual RC configuration software:
1. Very useful cleanup commands:
Sudo apt-get autoclean clear old software Cache
Sudo apt-get clean all software caches
Sudo apt-get autoremove deletes isolated software that is no longer used by the System
These three commands mainly clean up and upgrade the cache and useless packages.
2. Clear isolated packages in Linux:
We can use the following terminal commands:
Sudo apt-get install deborphan-y
3. Install the deb Software Package
Command: dpkg-I xxx. deb
Delete a software package
Command: dpkg-r xxx. deb
Delete with configuration file
Command: dpkg-r -- purge xxx. deb
View software package information
Command: dpkg-info xxx. deb
View copy details
Command: dpkg-L xxx. deb
View installed software packages in the system
Command: dpkg-l
Reconfigure the Software Package
Command: dpkg-reconfigure xxx
Dpkg-l | grep ^ rc | awk '{print $2}' | sudo xargs dpkg-P clears the residual configuration file