Ubuntu-get uninstall software cannot uninstall clean solution (ubuntu uninstall apach

Source: Internet
Author: User
After sudoapt-getinstallxxxx is installed, the software cannot be uninstalled. Here we provide a method to solve this problem. for details, refer to Ubuntu.

After installing the software through sudo apt-get install xxxx, you cannot uninstall the software. here, we use Apache as an example to provide the following methods:
First

Copy codeThe code is as follows:
Sudo apt-get remove apache2

Again

Copy codeThe code is as follows:
Sudo apt-get autoremove

I recently wrote python in Ubuntu. I need to read the python Documentation. I found a lot of information about chm in ubuntu, and finally confirmed to install kchmviewer-nokde, A conflict occurred when installing kchmviewer-nokde. if you want to delete some software and find some information, record it here.

When I installed kchmviewer-nokde, I installed it with a new version (the name is very new, and the new version is immediately available.

Some discussions on installing software on the Internet are recorded here. the simplest thing is to use the new software. The command line I know is apt-get. In fact, aptitude is better. the usage is similar to apt-get.

During installation:

Copy codeThe code is as follows:
Sudo aptitude install kchmviewer-nokde

Then, if you want to delete:

Copy codeThe code is as follows:
Sudo aptitude remove kchmviewer-nokde

You can.

Compared with apt-get, apt-get can automatically delete dependent packages. apt-get can also delete dependent packages, but the deletion is not clean and not convenient. The convenience of a command is shown here.

Disadvantages compared with apt-get: the software to be deleted using sudo aptitude remove must be installed using sudo aptitude instal, that is, they are paired.

One more method is to start kchmviewer from the command line. The other is to automatically associate the chm file. right-click the chm file and select it. The selected name is kchmviewer. In fact, this command
You can also see many similar commands under/usr/bin. Using ls may be too inconvenient to read. you can use redirection ls> ~ /Log.txt of course, you can use other shells such as tail or more

Related Article

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.