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-bi
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 | 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.