Installing STATA 11 on Linux Mint

I could not manage to run the provided install script to install STATA 11/SE on my Linux Mint LMDE 201403 system, so I went through the script itself and did everything manually.

The steps were as follows:

1. Copy unix/linux.64 contents to local disk, let say to ~/Downloads/stata11. The files are


ado.taz  base.taz  bins.taz  install  setrwxp  utilities.taz

2. Create installation folder /usr/local/stata11

sudo /usr/local/stata11

3. Create symlink to the folder

sudo ln -s /usr/local/stata11 /usr/local/stata

4. Copy all files to /usr/local/stata11

sudo cp ~/Downloads/stata11/* /usr/local/stata11

5. Uncompress all .taz files

cd /usr/local/stata11
sudo uncompress *.taz

would result in:


ado.tar  base.tar  bins.tar  install  setrwxp  utilities.tar

6. Untar all .tar files

tar -xof ado.tar
tar -xof base.tar
tar -xof bins.tar
tar -xof utilities.tar

would result in:


ado     stata  stata.lic  stata_pdf utilities  xstata-se
auto.dta     stata11.png  stata-mp   stata-se xstata
isstata.110  stata_br  stata.msg  stinit xstata-mp

in addition to all our installation files listed above.

7. Remove all .tar files

rm *.tar

8. Set permission using setrwxp script

sudo ./setrwxp

9. Once done, just remove install and setrwxp from the folder

sudo rm install setrwxp

10. Start license authorization

sudo ./stinit

11. Once done with license authorization, try running STATA 11/SE GUI version.


You will get a number of errors. The following are the errors with solution:

./xstata-se: error while loading shared libraries: libtiff.so.3: cannot open shared object file: No such file or directory

Check whether you have libtiff4. If not install using Synaptic Package Manager or apt-get. Then make symlink to libtiff.so.4

sudo ln -s x86_64-linux-gnu/libtiff.so.4 libtiff.so.3

Followed by

./xstata-se: error while loading shared libraries: libgtksourceview-1.0.so.0: cannot open shared object file: No such file or directory

Install libgtksourceview2.0-0 using Synaptic Package Manager or apt-get

sudo ln -s libgtksourceview-2.0.so.0 libgtksourceview-1.0.so.0

12. Run STATA again


13. To be able to run directly from Terminal without going to /usr/local/stata11 folder, set your path in ~/.profile

gedit ~/.profile

and edit this line




Log out and log in again to apply the change.

1 comment:

  1. The last step, that is changing PATH="$HOME/bin:$PATH:/usr/local/stata"
    does not seem to work. Please help.