How do I remove a package on Debian?
How do I remove a package on Debian?
- Update the package list by running the command
sudo apt-get update. - Remove the package by running the command
sudo apt-get remove <package_name>. - Type
yto confirm the removal. - Run the command
sudo apt-get autoremoveto remove any unnecessary packages. - Check if the package is still installed by running the command
dpkg -l | grep <package_name>.