TWiki> Main Web>AndLinuxLKB (2009-05-09, gslayden)EditAttach

Installing andLinux and LKB

andLinux is a special distribution of Linux that can run in parallel with Windows. As such, it's a good choice for running the Linux version of LKB on Windows systems.

Requirements

  • Approx. 2.5 GB of free disk space.
  • Windows 2000, XP, 2003, or Vista (32-bit only)
  • NTFS file system (it will not work on FAT32 due to file size limits)
  • At least 256 MB of RAM

andLinux Installation

(Tested on Windows XP and Windows Vista using andLinux Beta 1.)

  1. Visit the andLinux website and download one of the installer packages. For LKB use I recommend the minimal/XFCE version, but the larger KDE version should work as well. (Note that the KDE version will require an additional 2 GB of disk space.)
  2. Run the installer. Configuration notes:
    • Memory size: 192 MB is probably OK. (If someone discovers this isn't enough for LKB, please correct this page.)
    • I recommend choosing "run andLinux automatically as a NT service + use Windows shortcuts." This way andLinux is automatically started when Windows boots. If you're very short on memory, however, you might prefer manual startup.
    • For ease of configuration, I recommend choosing CoFS to access your Windows files. If you need to use Samba instead, see the official andLinux installation instructions for information on configuring it.
    • You will get a warning popup about software that hasn't passed Windows Logo testing. Click "Continue Anyway."
    • At the end of the installation, you will need to reboot your computer.
  3. If you have Windows Firewall enabled, you should disable it on andLinux's internal network interface.
    • For Windows XP:
      • Open the Network Connections control panel.
      • There should be a connection called "TAP-Colinux". (If not, see Troubleshooting below.) Right-click it and choose "Properties".
      • Click the "Advanced" tab, then click the "Settings" button under "Windows Firewall".
      • In the Windows Firewall dialog box, click the "Advanced" tab.
      • Uncheck the check box next to "TAP-Colinux".
    • For Windows Vista:
      • Open the Windows Firewall control panel.
      • Click "Change Settings"
      • Click the "Advanced" tab
      • Uncheck the check box next to "TAP-Colinux".
  4. If you chose to start andLinux manually, find the andLinux folder in your Start Menu and click "Start andLinux". This will start a minimized command prompt window. Note that closing this window will shut down Linux! If you chose to run andLinux automatically as an NT service, it will start automatically and invisibly when Windows boots.
  5. You should now have an andLinux icon in your system tray -- a little black-and-white yin/yang. Right-click it and choose "Synaptic". Synaptic is a package manager, the Linux equivalent of Windows' "Add/remove programs" control panel.
  6. Click the "Reload" button. This will refresh Synaptic's list of available software.
  7. Click Editors in the left pane. In the upper right pane, click the box next to "emacs22", then click "Mark for installation" in the pop-up menu. You will be asked to mark some additional packages that emacs22 depends on; go ahead and click the "Mark" button.
  8. Click the "Apply" button. Synaptic will download and install the packages. This may take a few minutes depending on your connection speed.
  9. Right-click the andLinux icon again and choose "Terminal". This will open a Linux command prompt.
  10. Do an automated LKB installation by typing the following:
    wget http://lingo.delph-in.net/etc/install && bash install --home ~/delphin
    This will take a few minutes, depending on your connection speed.
  11. Edit your .emacs file (e.g., "emacs .emacs") and add these lines. (The delphin installer also spits these out at the end, so you can just cut-and-paste.)
      (let ((root (or (getenv "DELPHINHOME")
                      "/root/delphin")))
        (if (file-exists-p (format "%s/lkb/etc/dot.emacs" root))
          (load (format "%s/lkb/etc/dot.emacs" root) nil t t)))
  12. Edit your .bashrc and add this line at the end:
    export DELPHINHOME=$HOME/delphin
  13. Exit your terminal and start a new one, or type "source .bashrc", to load the changes. Make sure you also exit and restart emacs, to load the changes to your .emacs file.
  14. That's it! To use LKB, run emacs (just type "emacs" in the Terminal), press Alt-X, then type "lkb" and press enter. LKB should start up.

Troubleshooting

  1. Trying to launch andLinux programs gives the error "can't connect to..." followed by an IP address.
    • If you chose to start andLinux manually, make sure you actually started it. ;) Note that it can sometimes take a few minutes to load.
    • The TAP-Win32 interface may not have installed properly. Look under network connections; if it's called something like "Local Area Connection 3", rename it to "TAP-Colinux", reboot, and try again.
    • Make sure you've disabled your Windows firewall as described in step 3.
    • Try uninstalling and reinstalling andLinux. This is beta-test software and sometimes it just doesn't work. :/ The second try was the charm for me.
  2. Error messages about pulseaudio.exe.
    • These can be safely ignored. Pulseaudio is only needed for Linux applications to play sounds.

Uninstalling

If you want to get rid of andLinux, you can uninstall it with the Add/Remove Programs control panel, like any other Windows application. You will also want to manually delete the C:\Program Files\andLinux folder.

-- Main.brodbd - 13 Jan 2009

Topic revision: r3 - 2009-05-09 - 23:38:15 - gslayden
 

This site is powered by the TWiki collaboration platformCopyright & by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Privacy Statement Terms & Conditions