Uninstall software under Ubuntu command

1. Open a terminal, enter dpkg --list, press the Enter key, the terminal outputs the following content, showing all the software installed on your computer.
2. Find the name of the software you need to uninstall in the terminal, the list is sorted by the first letter.
3. Enter the command sudo apt-get --purge remove package name on the terminal (-purge is optional, write this attribute to delete the software and its configuration files together, if you do not need to delete the configuration files, you can execute sudo apt -get remove package name), here I want to delete polipo, then enter sudo apt-get --purge remove polipo in the terminal, press Enter, enter the password, and press Enter again.
4. During the execution, you will be prompted whether you really want to delete (continue to execute the delete command), enter y in the terminal, and then press Enter, the delete program will continue to execute.
5. Under normal circumstances, the input command line appears again and the deletion is successful.

 

Guess you like

Origin blog.csdn.net/weixin_48345177/article/details/131901538