Stata
Products Purchase Support Company
Search
   >> Home >> Resources & support >> FAQs >> Linux install

How do I install Stata on a Unix/Linux machine?

Title   Unix/Linux installation
Author Kevin Crow, StataCorp
Date July 2007

To install Stata for Unix/Linux:

  1. Become superuser (root) and insert the installation CD.
  2. Create the installation directory (we recommend /usr/local/stata10) with 755 permissions and change into that directory.
  3. Since most current linux distributions will automatically mount an inserted cd-rom with the noexec option, you will need to remount the device with the proper options, or the Stata installer will fail.
    # umount /mnt/cdrom
    # mount -o exec -t iso9660 /dev/cdrom /mnt/cdrom
    
    NOTE:   you may need to change the devices to be appropriate for your machine
    
  4. You can now launch the Stata installer by typing /mnt/cdrom/install from within the directory you created in step 2.
  5. Once the installer has completed, you must initialize the license by typing ./stinit

If the steps above fail, you can copy the contents of the CD to a temporary location and run the installer from there:

# mkdir /tmp/statainstall
# cp -a /path/to/cdrom/* /tmp/statainstall
# mkdir /usr/local/stata10
# cd /usr/local/stata10
# /tmp/statainstall/install

NOTE:  current linux distributions will generally automount the cd-rom as /media/Stata
FAQs
What's new?
Statistics
Data management
Graphics
Programming Stata
Mata
Resources
Internet capabilities
Stata for Windows
Stata for Unix
Stata for Macintosh
Technical support
Resources & support
FAQs
Technical support
NetCourses
Short courses
Users Group meetings
Statalist
Links
Software updates
Software archives
Customer service
Manuals & supplements
Stata Journal
STB
Stata News
Stata Automation
Plugins

Site overview
Products
Resources & support
Company
Site index

© Copyright 1996–2008 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index