Ask Your Question
2

slim down fedora by removing biggest packages

asked 2014-10-20 00:19:27 -0500

kirilligum gravatar image

I installed fedora lxde. it's 2GB. netinstall was around 0.9GB. I want to use awesome windows manager so I don't need lxde but what other packages I should uninstall?

The reason that I'm not using net install is that it's too bare. I tried to have awesome install but I couldn't start it. I think X windows wasn't installed and I don't have to figure all of this things that come with lxde spin already. So instead of building up from netinstall, i'm trying to slim down lxde spin.

The question: is there a way to list packages by size so I can delete them?

bonus question: is it possible to list packages that are not in net install?

edit retag flag offensive close merge delete

Comments

Generally packages sometimes depend on other packages so its not simple that you find some big size package, you remove it and you will still be having working desktop.

pnemade gravatar imagepnemade ( 2014-10-20 00:24:27 -0500 )edit

@pnemade, I understand that. I'm just looking for the best way to slim things down.

kirilligum gravatar imagekirilligum ( 2014-10-20 00:32:21 -0500 )edit

Try this to contact more LXDE users -> http://spins.fedoraproject.org/lxde/#support

pnemade gravatar imagepnemade ( 2014-10-20 00:44:12 -0500 )edit

You may also be interested in this plugin for yum: yum-plugin-show-leaves which can display the packages that appear as leaves in the dependency tree. It can help identify packages that can be removed, I've used it before to trim down the size of an installed footprint. it doesn't show packages by size, but shows the least important ones to your system.

cobra gravatar imagecobra ( 2014-10-20 04:10:24 -0500 )edit
1

You could use rpmreaper which lists all installed packages by its size - and also allows to select them for removal. The tool additionally honors dependencies so it usually offers you only packages which are not required by other packages. Nevertheless rpmreaper requires some knowledge regarding package names.

rsc gravatar imagersc ( 2014-10-20 18:28:19 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2014-10-21 04:33:50 -0500

marcindulak gravatar image

It's documented here http://www.rpm.org/max-rpm/s1-rpm-query-handy-queries.html :

rpm -qa --queryformat '%{name} %{size}\n' | sort -n -k 2
edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-10-20 00:19:27 -0500

Seen: 2,668 times

Last updated: Oct 21 '14