Ubuntu Linux and LKB Installation
Here is what worked in 2008:
- Install ubuntu
You can either buy a book that comes with a Ubuntu disk or burn a disk yourself from the official Ubuntu website
. If you want to get a linux-only machine, back up all your system before installing Ubuntu, and install Ubuntu. If you want to get a dual-boot machine, first, defragment your disk a couple of times to get a good chunk of free space on your disk before installing Ubuntu. In case you don't know how to defragment your disk, go to Start -> All Programs -> Accessories -> System Tools -> Disk Defragmenter. It might say that you don't need to defragment, but defragment it anyway. You may also want to look into Wubi
, although I don't really recommend it. It messes up your computer... FYI, It takes about 30 minutes to install Ubuntu.
- If you wanted a dual-boot machine, it seems to work best if you partition your drive with the Windows utility (without formatting the new partition). Then boot from the Ubuntu CD and install to the largest continuous free space (the partition you just created). I strongly recommend also making sure all the drivers work (and maybe even being somewhere that you can have a wired Internet connectoin) before doing your Ubuntu install.
- After installing Ubuntu, install emacs if you don't have it.
Any linux distribution comes with Emacs, but it might not be pre-installed. Go to Applications -> Add/Remove, and look for Emacs.
- Install LKB (automatic installation.)
Open your terminal, follow the LKB instructions.
- At the end of the LKB installation, it'll ask you to put some lines in your .emacs file, so do that.
You may have to create your .emacs file first. Open your emacs, and press Ctrl-x-f, and type ~/.emacs at the bottom of your emacs window.
- In your .bashrc (which is in your home directory), put the following lines:
NOTE: "/home/mayo/" should be replaced with yours, obviously... The automatic LKB installation would tell you what your path is.
- Edit your dot.emacs file
Go to ~/delphin/lkb/etc, and open dot.emacs. Change Line 63.
(load "fi-site-init" nil t)
(load "~/delphin/eli/fi-site-init" nil t)
(Thanks to Mayo Kudo for documenting her experience.)
Back to FAQs page
Back to main course page
- 12 Jan 2008
-- moved by brodbd
- 13 Jan 2009