On Fedora, fedora-rmdevelrpms tries to remove too many development packages:
Code:
Found 8 devel packages:
flex-2.5.4a-41.fc5
bison-2.1-2.FC5
automake-1.9.6-2
pkgconfig-0.20-2.2.1
gettext-0.14.5-3
m4-1.4.4-1.2.1
autoconf-2.59-7
...but removal would cause unresolved dependencies:
nfs-utils-1.0.8-2.fc5 requires pkgconfig
system-config-printer-0.6.151.7-1 requires m4
Skipped.
So, try this script:
Code:
#!/bin/bash
TOOLS="rpmlint cvs rpm-build subversion"
DEVEL=`rpm -qa --queryformat "%{NAME}\n" | grep "\\-devel" | xargs echo`
PKGS="$DEVEL $TOOLS flex bison automake gettext autoconf comps gdb"
echo removing packages: $PKGS
yum remove $PKGS
And here's a command to find the biggest, installed development packages
Code:
rpm -qa --queryformat "%{SIZE} %{GROUP} %{NAME}\n" | grep -i devel | sort -n