Wiki Page Content

Building from Source

I frequently need to recompile stuff under Ubuntu.

My favorite ./configure line so far is this one:

 ./configure  --datadir=/usr --prefix=/usr --localstatedir=/var --sysconfdir=/etc

If you get:

  • warning: macro `AM_GCONF_SOURCE_2' not found in library

all you need to do is:

  • sudo apt-get install libgconf2-dev

Thanks to:

Milinda Pathirage http://mpathirage.com/fixing-macro-am_gconf_source_2-not-found-in-library-in-ubuntu/

Clean install

Essential Packages

vim git-core

Additionals

firefox extensions

Removing Kernels

Over time an awful lot of kernels gathe in Debian or Ubuntu.

To remove these obsolete kernels do:

uname -a
dpkg -l |grep kernel-image
apt-get remove --purge EXACT-OLD-KERNEL-NAME
update-grub

/!\ Be careful not to remove the currently installed kernel!

UbuntuTips (last edited 2011-02-01 20:05:41 by SteveClement)