Saturday, January 15, 2011

How to install into the ltsp chroot

This works to install openoffice into the chroot of lucid:
sudo chroot /opt/ltsp/i386
mount -t proc proc /proc
apt-get install
umount /proc
To install firefox it's simply:
Sudo chroot /opt/ltsp/i386 install firefox
I tried to install SmartBoard software--SMART Notebook Software with Drivers 10.package--into my ltsp chroot. This problem was compounded by the software that installs this type of package, the .package format, is called "AutoPackage" or some such. Unfortunately it doesn't work on 64 bit systems without certain libraries (which I didn't install) and my server is 64 bit. However, its successor, "Listaller" does work on 64 bit systems.

First I installed Listaller in the regular root, then I installed it into the chroot and entered the chroot with sudo chroot /opt/lits/i386 then started the listallmgr-gtk program but then wasn't able to make Listaller run the .package file. So finally I went to Veli-Menti solution which was to install it on a regular 1386 system then use his cool script to convert it into a .deb file which is easy to install into a chroot.

This page explains how to do that: I did it in a Virtual box and the install went great but there was an issue upon running the script. Hoping that Matti will get back to me about that...

Issue: when in the ltsp chroot one can't use the new command (since Karmic): "add-apt-repository" because the command is missing.  Thanks to alkisg I found out you have to add the following libraries in the chroot first:
apt-get install python-software-properties
Then apt-add-repository works!

No comments:

Post a Comment