How to Uninstall , Delete Packages on Ubuntu

 ## Uninstall Packages via Command Line

- First, you search for all installed packages, you can use the apt list command to list all packages that are installed. Run the commands below to list all install packages..

$ sudo apt list --installed 

That should list all installed package..

- To remove a package you find on the list, simply run the apt-get or apt command to uninstall it..

$ sudo apt remove package_name

Example: sudo apt remove ntp

- To uninstall multiple packages, run the commands below

$ sudo apt remove package_name_1 package_name_2

- To completely remove packages and their configuration settings file, you use apt get with purge options

$ sudo apt purge package_name

## For Snap package, you can list using the commands below:

$ snap list

- Remove Snap packages using the commands below:

$ sudo snap remove package_name

Share on Google Plus

About howtoused

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment