Stata: Install Stata 10 MP dynamically linked (gui) in Ubuntu Natty
This post draws heavily from andrewdyck blog .
You need unix installation files for Stata 11 of course, then open a terminal and:
sudo mkdir /usr/local/stata10
cd /usr/local/stata10
sh /media/cdrom/install
Dont forget to give permissions to read and write and create and delete files to this folder. sudo chmod -R 755 /usr/local/stata10
Alternatively, use gksudo nautilus and create the required folder /usr/local/stata10. Make a right click over stata10 folder and choose properties, and give all the permissions. No other folder is allowed.
After you choose the required options, in Ubuntu first 3. Linux then the version of Stata you have, either Linux 32 or Linux 64.
You’re not finished yet, you need to make the symbolic link necessary to run the Stata gui:
sudo ln -s /usr/lib64/x86_64-linux-gnu/libtiff.so.4.3.3 /usr/lib/libtiff.so.3
If, you’re running a different version of ubuntu you have to locate libtiff.so and make a symbolic link with the required version of Stata (if it already exists libtiff.so.4.3.3 or whatever version there is -i have not tested others but I know v 4 works). If the file doesn’t exist install it. (Synaptic)
Finally, you need the libgtksourceviewmm-1.0-dev through Synaptic or sudo apt-get it!
In the /usr/local/stata10 folder run
./xstata you have the gui, and then run update all
If you want the console
./stata
Finally, you can install ess emacs speaks statistics from the repositories and emacs will help you edit your scripts.
Enjoy, Stata under ubuntu.
Filed under: linux, Stata, ubuntu | Leave a Comment
No Responses Yet to “Stata: Install Stata 10 MP dynamically linked (gui) in Ubuntu Natty”