Skip to content. | Skip to navigation

Personal tools

Updating Stata

How to update Stata

 

Stata Corp. makes updates to their current version available on their website. If you have your own Stata license, such as on a standalone PC or laptop, it's a good idea to make a habit of checking once a month for updates. (At CPC, we keep the network copies up-to-date for you.)

To check whether your copy is up-to-date, first make sure that your computer is connected to the Internet, start Stata, and type the command:

update query
This instructs Stata to first check when you last updated it, then connect to www.stata.com and check whether a newer version is available. If updates are available for you, it will instruct you to type one of the following:
update executable
update ado
update all
The executable is the core Stata program. The ado files are how most individual Stata commands are stored. All updates both the executable and the ado files. After the updates have been downloaded, follow the installation instructions, if any are given.

If you haven't updated your copy for some time, or if your connection speed is slow, your connection may time out before all the updates have been downloaded. The default connection period is 5 minutes (300 seconds). If you need to increase this, type:

set timeout2 sss
where "sss" is the number of seconds. The maximum is 32,000.

If you don't have Internet connectivity for your computer, you can download the updates at CPC, copy them to a flash drive or other portable storage, and install them on your computer at a later date. See Keeping Stata up to date for complete instructions.

You can instruct Stata to check for updates automatically. Go to Edit, Preferences, General Preferences, and click on the Internet tab. Click the "Enable automatic update checking" box.


Review again?

 

Another topic?

Questions or comments? If you are affiliated with the Carolina Population Center, send them to Phil Bardsley or Dan Blanchette.