Install SAS on Ubuntu

From NCEAS Knowledge Base

Jump to: navigation, search

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.

  1. copy license file to the computer
  2. install required packages: sudo apt-get install xauth x11-apps libstdc++5 ia32-libs libxp6
  3. mount the SAS ISO or DVD
  4. change /bin/sh symlink to bash: sudo rm /bin/sh && sudo ln -s /bin/bash /bin/sh
  5. 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
  6. create the default temp direcotry for SAS: sudo mkdir /usr/tmp
  7. give all user write permissions to the temp dir: sudo chmod 777 /usr/tmp
  8. 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
  9. change /bin/sh symlink back to dash: sudo rm /bin/sh && sudo ln -s /bin/dash /bin/sh
  10. edit the first line of /usr/local/SAS/SASFoundation/9.2/bin/sas_en, replace /bin/sh with /bin/bash
Personal tools