HxHippy

apt remove

Remove packages.

Overview

Removes packages from the system. Configuration files for the package may remain on the system.

Syntax

sudo apt remove [options] package_name(s)

Common Options

-y, --yes, --assume-yes

Automatic yes to prompts.

--purge

Use purge instead of remove for the listed packages. This will remove configuration files as well.

Examples

$ sudo apt remove apache2

Remove the apache2 package.

$ sudo apt remove --purge old-software

Remove old-software and its configuration files.

aptpackageremovedeleteuninstall