On Sun, Nov 21, 2004 at 03:59:03PM -0500, Jeremy Brown wrote: > Jeremy Brown wrote: > > >Is there any script or command in Debian that will install development > >header subpackages for all of the packages on my system? > > > >If you'd like to compile software above and beyond what is shipped > >with Debian, I've found that you end up manually searching for -dev > >packages for each piece of software your from-source software might > >possibly depend on. > > > >Jeremy > > > > > Just re-checking because I hadn't gotten a response. Anyone know how to > do this?
How about: for x in `dpkg --get-selections | cut -f 1 | grep lib | grep -v dev`; do apt-cache show $x'-dev' > /dev/null 2>&1 && apt-get install -y $x'-dev'; done -- Pigeon Be kind to pigeons Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F
signature.asc
Description: Digital signature