Home > Hacks, Science > Installing StatTransfer 10 on Ubuntu 9.10 (Karmic)

Installing StatTransfer 10 on Ubuntu 9.10 (Karmic)

OK, here we go again… just as with Stata it’s great to have a Linux version of StatTransfer available but there’s some quirks to overcome before it will run smoothly.

Please note: Circle Systems (the makers of S/T) recommends that you install their software as a non-root user in your home directory. I personally prefer to separate my applications and my data, therefore I install it with sudo. If you are not sure what you are doing and you rather to be on the safe side, install S/T as a non-root user. In that case, you will only have to install that older C++ library version (see below) to make S/T run on your machine.

After downloading the installer file to your Desktop, open a terminal and do

chmod +x ~/Desktop/stlinux32_install # make file executable

sudo ~/Desktop/stlinux32_install # install it

The program will install in /usr/local/stattransfer10. A user configuration directory will be created in your /home folder. Because you installed with sudo, the file is owned by root. Doing

sudo chown -R yourusername:yourusername ~/.stattransfer10

will make the file readable and writable for you.
Now try to start S/T using the Desktop shortcut. If the GUI comes up, you can proceed with the licensing procedure. If not, try to start it from the Terminal

/usr/local/stattransfer10/stattransfer

Chances are you get an ‘ error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory’.

I tried the symbolic link trick that worked so well with Stata but it didn’t cut no ice with StatTransfer. However, installing an older version of libstdc++ worked. Download the package and install by doing

cd ~/Desktop
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb
sudo dpkg --install libstdc++5_3.3.6-17ubuntu1_i386.deb

To activate your copy, you have to run S/T as root:

sudo /usr/local/stattransfer10/stattransfer

Go to About, press Activate Online, and follow the instructions. Once activated, run S/T only as a non-root user.

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: