Clean up software and residual RC Software List in Ubuntu

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.