User Tools

Site Tools


ubuntu:apt:remove_a_package

Ubuntu - apt - Remove a package

Remove/Delete an installed package except configuration files.

sudo apt remove [package name]

Example

sudo apt remove zip

Tip: If you want to remove a package and install a different package in one step, try:

sudo apt remove htop vim+

Another way to do the same thing:

sudo apt install htop- vim

NOTE: The + (add) and - (remove) suffix to package names can override and flip an install/remove switch.

  • It is a time and typing saving feature for the apt/apt-get.
ubuntu/apt/remove_a_package.txt · Last modified: 2023/06/18 15:27 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki