Install SAS on Ubuntu
From NCEAS Knowledge Base
Install SAS 9.2 on Ubuntu 8.04
These instructions are for the AMD64 version of Ubuntu, but probably work fine with the i386 version by omitting ia32-libs in the second step.
- copy license file to the computer
- install required packages: sudo apt-get install xauth x11-apps libstdc++5 ia32-libs libxp6
- mount the SAS ISO or DVD
- change /bin/sh symlink to bash: sudo rm /bin/sh && sudo ln -s /bin/bash /bin/sh
- start the install from the DVD/ISO with sudo bash setup.sh
- click: install SAS software
- set: SAS Home: /usr/local/SAS (default)
- select all licensed packages (default)
- give the installer the sas installation data file (license file)
- stay with the recommended JRE (default)
- Start installation
- Finish installation
- create the default temp direcotry for SAS: sudo mkdir /usr/tmp
- give all user write permissions to the temp dir: sudo chmod 777 /usr/tmp
- symlink /usr/local/SAS/SASFoundation/9.2/sas to /usr/bin/sas: sudo ln -s /usr/local/SAS/SASFoundation/9.2/sas /usr/bin/sas
- change /bin/sh symlink back to dash: sudo rm /bin/sh && sudo ln -s /bin/dash /bin/sh
- edit the first line of /usr/local/SAS/SASFoundation/9.2/bin/sas_en, replace /bin/sh with /bin/bash
