compiling emacs22 on my eeepc

Tonight I took some time and compiled emacs22 for my eeepc.  After a little trial and error, here were my steps:

  1. Download emacs
  2. Add non-asus package repositories
  3. sudo apt-get install build-essential
  4. sudo apt-get install libncurses5-dev
  5. sudo apt-get install xlibs-dev (if you want to emacs to use X)
  6. unpack emacs tarball
  7. ./configure
  8. make (took about 6 minutes)
  9. sudo make-install
  10. go to sleep