Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if the ubuntu apt-get uninstall software cannot be uninstalled cleanly?

2025-03-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "ubuntu apt-get uninstall software can not uninstall clean how to do", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "ubuntu apt-get uninstall software can not uninstall clean what to do" bar!

After sudo apt-get install xxxx installs the software, it is always unable to uninstall cleanly. Here, taking Apache as an example, provides a method:

First

The code is as follows:

Sudo apt-get remove apache2

Again

The code is as follows:

Sudo apt-get autoremove

Recently, to write python under Ubuntu, I need to look at the documents of python. I found a lot of information about checking chm under ubuntu, and finally determined to install kchmviewer-nokde. There was a conflict when installing kchmviewer-nokde, and then I wanted to delete some software and found some information, so record it here.

When I installed kchmviewer-nokde, I installed it with Synaptic (the name is very new, "the new one is immediately available").

There are some discussions about installing software on the Internet. I'll record it here. The easiest thing is to use Synaptic. The command line I know is apt-get. In fact, a better one is aptitude, which is used in a similar way to apt-get.

When installing:

The code is as follows:

Sudo aptitude install kchmviewer-nokde

Then if you want to delete:

The code is as follows:

Sudo aptitude remove kchmviewer-nokde

Just do it.

Advantages over apt-get: dependent packages can be deleted automatically, while apt-get actually has the ability to delete, but the deletion is not clean and it is not so convenient to delete. The convenience of an order is reflected here.

Disadvantages compared with apt-get: software deleted with sudo aptitude remove must be installed with sudo aptitude instal, that is, they are in pairs

Add a point of use: one is to start kchmviewer from the command line and the second is to let the chm file be automatically associated, which can be selected in the right click of the chm file. The chosen name is kchmviewer. In fact, this order is

As you can see under / usr/bin, you can see a lot of similar commands. It may be too inconvenient to use ls. You can use redirect ls > ~ / log.txt. Of course, you can use other shell such as tail or more

At this point, I believe that everyone on the "ubuntu apt-get uninstall software can not uninstall clean how to do" have a deeper understanding, might as well to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report