How to uninstall software in Ubuntu20.04

Since then, I have switched to Ubuntu system, and many of them are very uncomfortable to use. For example, if I delete a software, I just right-click on the window system to force delete it. I don’t know how to fix it now! ! ! (>_<)
Hereby we have sorted out the following situations, hoping to help friends who are in the same situation as me O(∩_∩)O~

  1. Manual uninstall: Click 'Settings - Applications', select the program you want to uninstall, then click 'Open in software', and then select 'Remove'! ! (Note: This method is not applicable to some software. It is recommended to use the corresponding command below to delete)
    As shown in the figure below (the numbers in the figure indicate the execution sequence):
    Insert image description hereInsert image description here

  2. Use apt-get to install software directly in the terminal, that is sudo apt-get install 软件名, the uninstall method is as follows:

  • Method 1: sudo apt-get remove 软件名, but this method may not clean up some configurations! ! I personally recommend the second method to uninstall.
  • Method 2: sudo apt-get remove --purge 软件名Add –purge to uninstall and clear the configuration, perfect! !!
  1. If you downloaded the .deb package to install the software, that is sudo dpkg -i *.deb, at this time, you can use to sudo dpkg -info *.debview the software package information, and then uninstall as follows:
  • Method 1: sudo dpkg -r *.deb, this method is the same, it is not clean! !
  • Method 2: sudo dpkg -r --purge *.deb, you can delete it together with the configuration file! !
    Note: If you want to view the information about installed software packages in the system, you can use the commanddpkg -l

Guess you like

Origin blog.csdn.net/weixin_43994864/article/details/110531264