---+ Ubuntu Linux and LKB Installation Here is what worked in 2008: 1 *Install ubuntu* You can either buy a book that comes with a Ubuntu disk or burn a disk yourself from the [[http://www.ubuntu.com][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 [[http://wubi-installer.org/][Wubi]], although I don't really recommend it. It messes up your computer... FYI, It takes about 30 minutes to install Ubuntu. $ Note: 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. 1 *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. 1 *Install LKB (automatic installation.)* Open your terminal, follow the LKB instructions. 1 *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. 1 *In your .bashrc (which is in your home directory), put the following lines:* LD_LIBRARY_PATH=$DELPHINHOME/lkb/lib/linux.x86.32:$LD_LIBRARY_PATH export LD_LIBRARY_PATH export DELPHINHOME=/home/mayo/delphin OR export DELPHINHOME=~/delphin NOTE: "/home/mayo/" should be replaced with yours, obviously... The automatic LKB installation would tell you what your path is. 1 *Edit your dot.emacs file* Go to ~/delphin/lkb/etc, and open dot.emacs. Change Line 63. (load "fi-site-init" nil t) to (load "~/delphin/eli/fi-site-int" nil t) (Thanks to Mayo Kudo for documenting her experience.) * <p>[gslayden 12/13/2008] After installing as above on ubuntu x64, I got an error that libXm.so.4 couldn't be found when loading LKB in emacs. This appears to be fixed by creating a symbolic link in the ~/delphin/lkb/lib/linux.x86.64 directory as follows:</p> * ln -s libXm.so.3 libXm.so.4 --- [[GrammarEngineeringFAQ][Back to FAQs page]] [[http://courses.washington.edu/ling471/][Back to main course page]] -- Main.EmilyBender - 12 Jan 2008 -- moved by [[Main.brodbd][brodbd]] - 13 Jan 2009
This topic: Main
>
UbuntuLKB
Topic revision: r1 - 2009-01-13 - brodbd
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback