DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
With apt and while you're trying new programs you'll get a hell of a lot packages in, like libraries. Now deleting the programs is often easier to remember. But how do you find out unnessescary packages? Maybe something you can search by date with it and which catches the debian packages?
"debfoster" is another useful utility for keeping your system as clean as possible.
And if you want to remove also the config files when you remove a program, do "apt-get --purge remove <package>" (or "aptitude purge <package>"). But even this won't remove the "local" config files for the removed programs in your home directory, so you'll have to remove them yourself.
#debfoster
keep what you want, sometimes after you purge, still there are other libraries pertaining to the app removed, which are left behind. Example: emacsen, after removing emacs21. If you make a mistake press 'u', to change your selection. Do not get rid of libraries you don't what they are, leave them there, deborphan will give you a list of the obsolete ones.
#deborphan
it gives you a list of 'orphaned' libs, to get rid of them:
choose only your locales, choose your locale environment, say 'no' to localized man pages, and 'no' to new locales. It should save you 40-50 MB right there.
Still, like Dead Parrot says, fire up mc, and delete stuff like hidden files, you don't need. Example: i don't use gnome, so i nuke gconf, gnome2, etc
I didn't make different /root (I have barely anything in that folder anyway) but maybe I'm just catching a lot of config and log files. Going to try apt-get clean as well
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.