Home >Operation and Maintenance >Linux Operation and Maintenance >How to uninstall software on ubuntu?
How to uninstall software on ubuntu? The following article will introduce you to several methods of uninstalling software on Ubuntu. I hope it will be helpful to you.
Method 1: Use Synaptic package manager to uninstall
1. Open the package manager.
Ubuntu comes with a GUI (Graphical User Interface, graphical user interface) package manager, which allows you to uninstall programs in a visual window. This tool is very useful if you are not comfortable using the command line.
● Click on System and then select Management. In the Administration menu, select Synaptic Package Manager.
● Some newer versions of Ubuntu do not have Synaptic pre-installed. To install it, open a terminal and type: sudo apt-get install synaptic
● If you are using Unity, you can open the dashboard and search for "Synaptic"
2. Find the program you want to uninstall.
In the left pane, you can sort the list of programs by category. Installed programs (packages) will be listed in the pane above Synaptic.
● Programs are often shown by their abbreviated names. For example, Media Player is often shown as "mplayer". If you can't determine by the program's abbreviated name whether it is the program you need to delete, please search for relevant information online to confirm before deleting it.
#3. Right-click the software package you need help with.
Select Mark for removal in the menu. You can choose to repeat this operation for multiple packages that need to be uninstalled.
● You can also choose to mark for complete removal so that configuration files and program files can be deleted.
Method 2: Use the Software Center to uninstall
Open the Software Center. Software Center is a GUI package manager that can install and uninstall Linux software.
Method 3: Use the terminal to uninstall
1. Open the terminal: Ctrl Alt T
2. Use the "apt-get" command, which is a common command for managing installed programs. You may be asked to enter your administrator password when uninstalling the program.
●When you enter your password, the password will not be displayed. After completing the input, press Enter.
● Browse installed programs. To view the list of installed packages, enter the following command. Note the name of the package you wish to uninstall. Enter the command: dpkg --list
● Uninstall the program and all configuration files. Enter the following command in the terminal, replacing the program you want to completely remove:
sudo apt-get --purge remove <programname>
For example:
sudo apt-get --purge remove 0ad-data-common
● Uninstall only the program . If you remove the program but keep the configuration file, please enter the following command:
sudo apt-get remove <programname>
Recommended related Linux video tutorials: "Linux Tutorial"
The above is the detailed content of How to uninstall software on ubuntu?. For more information, please follow other related articles on the PHP Chinese website!