emerge -uavDN world (Updating Gentoo)

Borrrrrrrring. Sat here… upgrading Gentoo. What a fun filled night / morning it’s been. For my own reference and for anyone that wants to know, this is how I keep Gentoo up to date.

  • emerge –sync //sync local tree with server
  • emerge portage //if portage update available
  • emerge -uavDN world //–update, –ask, –verbose, –deep, –newuse
  • etc-update //carefully update config files in /etc
  • glsa-check –list //list security updates
  • glsa-check -f all //apply updates

If gentoo-sources have been downloaded in the update then I’ll upgrade to the latest kernel like so:

  • cd /usr/src; unlink linux; ln -s linux-2.6.2*/ linux; cd linux
  • make menuconfig
  • make clean && make && make modules_install
  • mount /boot && make install
  • Add a new entry in /boot/grub/grub.conf to point to the new kernel
  • Test Kernel / get angry with broken configuration / repeat above.

It’s just so easy. And so simple. I don’t see why most people don’t run linux.

Leave a Reply