How do I uninstall deb packages under Ubuntu Linux using GUI or CLI (command line) methods?
Type the following command at shell prompt to uninstall any installed package (open a terminal and enter command)
sudo apt-get remove pakcageName
To remove a package called samba-common-bin, enter:
sudo apt-get remove samba-common-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
0 upgraded, 0 newly installed, 2 to remove and 1 not upgraded.
After this operation, 13.8MB disk space will be freed.
Do you want to continue [Y/n]?
How Do I Find Out List Of ALL Installed Packages?
Type the following command:
dpkg --list dpkg --list | grep -i apache
The Synaptic Package Manager enables you to install software onto your computer and to manage the software, that already installed. You can delete or remove package with this tool. To start this tool:
Click on System > Administration > Synaptic Package Manager
To remove a packages follow these steps
- Double click on the name of the installed package in the package list.
- Click on the status icon of the package and choose Mark for Removal from the menu.
Right click on the package and choose Remove from the context menu.
Select the package and press the key Delete.
- If the removal of the package(s) requires additional changes, you will be asked for confirmation. To also mark the additional changes click on the button Mark. Apply the marked changes to actually remove the package(s) so Click on Apply in the toolbar. You are asked for confirmation. Check the summarized changes that will be applied. To continue with the actual removal confirm the changes click on Apply. During the processing of the changes you will see a progressbar. Wait until the changes have been applied. This can take some time depending on the number of changes. Afterwards you will be returned to the main window.
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
|Category||List of Unix and Linux commands|
|Firewall||Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04|
|Network Utilities||dig • host • ip • nmap|
|OpenVPN||CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04|
|Package Manager||apk • apt|
|Processes Management||bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time|
|Searching||grep • whereis • which|
|User Information||groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w|
|WireGuard VPN||Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04|