I recently had a need to install Stata 10 on Ubuntu 7.10. It’s actually pretty easy.
1. Open a terminal
2. We’re going to have to do a few things as root so type ‘sudo su‘.
3. Type ‘mkdir -p /usr/local/stata10 && cd /usr/local/stata10‘
4. Put the Stata 10 CDROM in your computer. In the terminal, type ‘/media/cdrom0/install‘.
5. Answer the appropriate questions in the installation wizard.
6. When it’s done installing, it will ask you to run ‘./stinit‘. Go ahead and type that in to the terminal.
7. After entering your licensing information, type this: ‘ln -s /usr/lib/libtiff.so.4 /usr/lib/libtiff.so.3‘
8. You can now start Stata 10 from the commandline with ‘/usr/local/stata10/stata‘ or ‘/usr/local/stata10/xstata‘ if you want the xwindow version.
9. Optionally, you can run ‘ln -s /usr/local/stata10/stata /usr/bin/stata‘ if you want to run Stata with just ‘stata‘ at the commandline (or you could also include the install directory in your path)
Thanks for your help Alex. Your directions are actually more complete than those on the STATA support website (http://www.stata.com/support/faqs/unix/linux_install10.html).
One thing I would add to your directions is that steps 8 & 9 vary slightly depending on your license. After step 7, you type the following as appropriate:
For STATA 10/IC – # ./stata or ./xstata
For STATA 10/SE – # ./stata-se or ./xstata-se
For STATA 10/MP – # ./stata-mp or ./xstata-mp
As stated above, the ‘x’ simple differentiates between running STATA with a GUI or command-line version.
i googled “stata ubuntu” and this page was the second result. i don’t know how google’s search algorithms work, but i would still like to say congratulations because “stata ubuntu” is a fairly broad search. also, i go to case, and i recognized your name from forum.case.edu