uninstalling unwanted packages

Asked by Edmond Condillac

Hi
Kindly advise how unwanted packages like Bluetooth may be identified on my system and removed.
Most gratefully yours

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Solved:
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#1

Package manager "apt-get" can remove any unwanted packages with one single command in terminal (CTRL+ALT+T)

$ sudo apt-get --purge autoremove

Now , define unwanted .. because "apt-get" consider as unwanted all the packages are orphaned .. or not needed anymore in your system.

If you consider as unwanted a package (that "apt-get" not) then you must remove it manual.

Thanks

Revision history for this message
Edmond Condillac (econ22) said :
#2

Hi

Thanks for your kind advice and help. I ran the given command and got the following results:
efcon@Dell:~$ sudo apt-get --purge autoremove
[sudo] password for efcon:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

May I request your further help with searching for packages and removing those like Bluetooth, if possible.

Thanks again. Your instructions are most appreciated.

Revision history for this message
Best N1ck 7h0m4d4k15 (nicktux) said :
#3

Specifically for bluetooth

$ sudo apt-get remove --purge gnome-bluetooth

Thanks.

Revision history for this message
Edmond Condillac (econ22) said :
#4

Hi

Thanks for your much appreciated help.
Kind regards

Revision history for this message
someonehelpme (belkapower) said :
#5

Excuse me, what command should I type in the terminal to view all packages installed in my Ubuntu system?
Thank You.

Revision history for this message
Edmond Condillac (econ22) said :
#6

HI

The command we need to use is dpkg –get-selections, which will give us a list of all the currently installed packages. This infomation can be verified on the site:http://www.howtogeek.com/howto/linux/show-the-list-of-installed-packages-on-ubuntu-or-debian.

Hope this is of some help to you.

Revision history for this message
Edmond Condillac (econ22) said :
#7

Thanks NikTh, that solved my question.

Revision history for this message
Edmond Condillac (econ22) said :
#8

The correct command is ofcourse: dpkg --get-selections

Revision history for this message
Edmond Condillac (econ22) said :
#9

It should be: dpkg dpkg --get-selections. There is a space between dpkg and --get-selections. OK