|Author||Kevin Crow, StataCorp|
To install Stata for Unix/Linux from the Stata16Linux64.tar.gz or the Stata16Linux64-Legacy.tar.gz tar file:
Download the tar file from
There are two options for installing Stata for Unix. Most users will need the first linked option, but some users on systems with older libraries such as CentOS 6 and CentOS 7 will need the Legacy libraries option. If you are unsure, we recommend you choose the first one. If Stata does not start or has an issue such as the icons not displaying properly, you may be running on a Linux system with older libraries. In this case, erase your installation and reinstall choosing the Legacy libraries version.
Below is a sample session for the Stata 16 install we assume you saved the archive in /home/you/Downloads.
# sudo -s # cd /tmp/ # mkdir statafiles # cd statafiles # tar -zxf /home/you/Downloads/Stata16Linux64.tar.gz or # tar -zxf /home/you/Downloads/Stata16Linux64-Legacy.tar.gz # cd /usr/local # mkdir stata16 # cd stata16 # /tmp/statafiles/install