A happy migration day in my life of a Linux user.

I easily managed to upgrade my entire system from GCC 3.4.3 to GCC 4.0.2, using the wonderful ArchLinux distribution.

Steps:

  1. list self-compiled packages using a script

    #! /bin/bash
    installed=`pacman -Q | sed -e “s|\(.*[^ ]*\) .*|\1|g” `
    repos=`pacman -Sl | sed -e “s|[^ ]* \(.*[^ ]*\) .*|\1|g”`

    for pkg in $installed
    do
    found=`echo $repos | grep $pkg`
    if [ "$found" == "" ]; then
    echo $pkg
    fi
    done

  2. disable/uninstall all the packages listed above, in order for the system to remain stable after a bootup with new GCC & libraries
  3. upgraded everything with “pacman -Syu” - followed close all the changes being done in the system, mainly backuped files
  4. rerun “lilo” - new kernels got installed
  5. rebooted
  6. I could feel fresh GCC 4 air
  7. reinstalled “nvidia” - the installer has a setup which must be run after a kernel upgrade
  8. recompiled own packages previously disabled/uninstalled
  9. started X
  10. enjoyed KDE 3.4.2… an updated version compared to my previous one

Now, I’m getting ready for KDE 3.5 :)

P.S. Yep, I do enjoy being an ArchLinux user.