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

Related commands for Ubuntu to completely uninstall the software

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly explains "Ubuntu complete uninstall software related commands", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Now let the editor to take you to learn "Ubuntu complete uninstall software-related commands" it!

Commands related to software viewing information

1. View the installed software

Dpkg-l # View all installed software dpkg-l | grep xxx # View the specified software installed. Xxx is the name of the software, such as nginx.

2. Check the software version

Dpkg-l | grep xxx # xxx is the software name, such as nginx

3. View the path of software installation

Dpkg-L | grep xxx # xxx is the software name, such as nginx

Commands related to uninstalling the software

1. Uninstall the specified software and its configuration files

Sudo apt-get-- purge remove xxx # xxx is the name of the software, such as nginx

2. List the specified related software

Dpkg-- get-selections | grep xxx # xxx is the software name, such as nginx

3. Delete the related file names listed

Sudo apt-get-purge remove xxx # xxx indicates the name of the related file listed

4. View the software processes being executed

Ps-ef | grep xxx # xxx is the software name, such as nginx

5. Kill the process being executed

Kill-9 xxx # xxx indicates the process No. Zhengzhou STD Hospital http://www.120zhongyuanyy.com/

6. Find out the files related to the software globally

Find /-name xxx* # xxx is the software name, such as nginx

7. Delete and find the software related to nginx in turn

Rm-rf xxx # xxx indicates the file path

8. Automatically remove all unused software packages (that is, those packages that are related to the installation of one software, but are not used later)

Sudo apt-get autoremove

At this point, I believe you have a deeper understanding of "Ubuntu complete uninstall software related commands", might as well come 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