## 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
0 comments:
Post a Comment