Olmec SDK Installation
The general procedure is to obtain an access key for Olmec Linux, install it on your system, and then install the Olmec tools package. Once this is in place, you can then install the SDK package for your architecture.
VMware images of a system with the SDK installed are available at http://ftp.olmeclinux.com/tools/SDK_vmware/. You will still need to obtain an Access Key and install it according to the instruction in the next section. In addition, you will also need to copy the olmecaccess.pem to the /etc/apt/ssl directory inside the SDK chroot.
Obtaining an Access Key
You can obtain an access key for Olmec Linux by signing up at http://access.olmeclinux.com. The first step, is to join the site, and create an account. The site will send you an email when your account is activated. Once activated, you must reset your password using the "I lost my password!?!?!" link at the bottom of the page. This whole process can often be competed in under an hour.
Once you have your account, you must request a key. Choose the "Manage Your Key" link. You are first presented with a choice for what type of key you are requesting. Choose Non-Commercial if you will be using Olmec Linux for personal, educational, evaluation or other non-Commercial uses. Choose Commercial for all other uses. Note that a Commercial key requires that you have an active Software Subscription. After selecting the type of key, you must read and agree to the license terms.
Once your key has been issued, you can download it using the "Download Key" link on the "Manage Your Key" page. You must save the key to a file instead of letting your broswer add it as a new certificate authority (right-click on the link to save as a file). Once you have the key in a file, copy or rename the file to /etc/apt/ssl/olmecaccess.pem. Create the /etc/apt/ssl directory if needed.
Install the Olmec Tools package
You can download the Olmec Tools package from http://ftp.olmeclinux.com/tools/. Download either the Debian or Ubuntu version of the package that matches the release you are running. Install the package with
dpkg -i olmec-tools-debian-rel_x.xx_all.deb
or
dpkg -i olmec-tools-ubuntu-rel_x.xx_all.deb
where rel is the release you are running, and x.xx is the version of the package that you downloaded.
Adding the https transport on Debian Etch
If you are running Debian Etch, you will also need to download and install the apt-transport-https from http://ftp.olmeclinux.com/tools/.
dpkg -i apt-transport-https_0.6.46.4-0.1_i386.deb
If you don't install this package, you will not be able to access and install the SDK.
Adding the https transport on Debian and Ubuntu
Debian releases after Etch, and Ubuntu already include the apt-transport-https package so you can install it normally
apt-get install apt-transport-https
Installing the SDK
Now, you need to refresh your list of available packages to add the Olmec SDK packages. You should do this by running
apt-get update
You can get a list of what SDKs are available by running
apt-cache search olmec-sdk
If your target architecture is different from your host architecture (ie a powerpc target and an x86 host), you will need to install the olmec-qemu package in addition to the SDK package.
You should install the Olmec SDK with
apt-get install olmec-sdk-<arch>-<rel>
or
apt-get install olmec-sdk-<arch>-<rel> olmec-qemu
where <arch> is Architecture and <rel> is Release. Pick one of each from the tables below.
Architectures
Architecture |
i386 |
amd64 |
powerpc |
ppc405 |
armel |
Releases
<rel> |
Release |
h |
Hydrogen (unstable) |
li |
Lithium (2Q08) |
be |
Berylium (4Q08) |
Final setup
You will need to add your non-root user and group to the SDK chroot by editing the file /etc/schroot/schroot.conf.d/<arch>-<rel>. Add you username to the users= line. Add your group to the groups= line.
Once installed, the SDK can be entered by running the command
# schroot -c olmec-<arch>-<rel>
where <rel> comes from the above table
Next, you'll need to prepare the SDK chroot.