Home > Hacks, Science > Installing SAS 9.2 under Ubuntu 9.10 (Karmic)

Installing SAS 9.2 under Ubuntu 9.10 (Karmic)

Insert the SAS installation disk and start the installation script with

sudo /media/cdrom0/setup.sh

(The path to you CD-ROM drive may differ slightly.)

You need to provide the location of your SAS license file and of the Java Runtime Environment. For the latter, you can have SAS install version 1.5 for you. If you want to use your existing version, you can find it by typing

locate 'bin/java'

into a new terminal window.

If the system throws an error after starting the installation, click on the ‘Retry’ button and read the error message in the console window popping up. Most likely, it will be ‘/bin/sh: Illegal option -p’

This error message comes up if bash is not your default shell (it’s usually dash on a fresh Ubuntu install). You can easily change that by typing

sudo rm /bin/sh
sudo ln -s /bin/bash /bin/sh

into a terminal window. After that, the installation should run smoothly and you can accept all the default selections.
To create a Desktop or panel shortcut at the end of the installation, use

/usr/local/SAS/SASFoundation/9.2/sas -work /tmp

To restore dash as your default shell (dash has a lower overhead than bash), you can do

sudo rm /bin/sh
sudo ln -s /bin/dash /bin/sh

Advertisements
Categories: Hacks, Science
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: