remove unwanted packaged for ubuntu

Asked by macice

Hi,

Does anyone know of a utility, which allows me to remove any and all packages, which are not actually being used by my Feisty installation (packages which I have used in the past but have uninstalled and so are no longer needed)?

I basically I want to flush my system of all junk and to recover hard disk space.

Cheers,

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mathias Uebelacker (muebelacker) said :
#1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

there are two ways:

you can mark the package in synaptic (mark to complete remove) or you
can use Administration ->remove orphaned packages and last but not least
 in a terminal dpkg -r packagename (this will not deinstall the
configuration files)

br
Mathias
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGkQvsZapgManfRh0RAhxQAJ9NRILP2UP7sK/16AfdZYDu5rus6QCfa4GP
c1Jshv+P+OkHyjp+SyLFPUA=
=PrNu
-----END PGP SIGNATURE-----

Revision history for this message
Cesare Tirabassi (norsetto) said :
#2

You can also clean your apt cache with these commands:

sudo apt-get clean
sudo apt-get autoremove

To completely remove a package you can also use:

sudo apt-get remove --purge <package_name>

Where <package_name> shall be substituted by the package you want to remove.

Can you help with this problem?

Provide an answer of your own, or ask macice for more information if necessary.

To post a message you must log in.