Using chroot/schroot
Once you have installed the Olmec SDK following these Installation instructions, you will be able to use the Olmec SDK. Begin by executing the schroot command:
# schroot -c olmec-<arch>-<rel>
This gives you a shell inside the target development environment, referred to as the "SDK chroot". Any programs you compile using this shell will be built for the target architecture. Typically, you will edit your files outside the SDK chroot, and only execute builds using the SDK shell. This is made easy for you by the schroot command which mounts the /home directory from your host machine inside the SDK chroot tree.
Installing Additional Packages
You may need to install additional packages, particularly libraries and development tools, inside the Olmec SDK chroot tree. By default, only a minimum set of packages is installed. You can execute any standard debian commands inside the SDK chroot to find and install packages by name. A brief overview of important commands is listed below, detailed information can always be found by executing the man <term> command, where <term> can be a command, function or file name. Update your system so it knows about the latest packages in the repository, usually does not need to be run more than once a day.
apt-get update
Perform a string search for the library or tool you need. This gives you the exact package name for the apt-get install command.
apt-cache search <package>
Installs the given package and any needed dependencies, once needed packages are determined, you will be asked to confirm the install.
apt-get install <package-name>
Run these two commands to update all of your installed packages to match the latest versions in the repository.
apt-get upgrade apt-get dist-upgrade