Installing and Configuring Stata

It has been a while since I used Stata last time, admittedly. Nonetheless, at some point I used it extensively, and I definitely satisfy the 10,000 hours criterion for mastery. In the process, I had to install Stata on a number of Linux-based systems, and a number of small issues re-emerged again and again. So I decided to write down a guide for future self, as well as for anyone else who might be interested.

In what follows, I assume that you need to install Stata 13 or newer on a Linux system to which you only have command-line access, most likely over ssh. You have a CD from which you can install Stata on Windows or OS X machine, assuming those have a CD drive, which aren't that common these days. You will need sudo priviliges on the Linux host to install Stata if you want to install it for all users, but it's not necessary if you primarily seek to install it for yourself only.

Start by copying the entire CD contents into a folder on your local machine. Then rsync this folder to the Linux host, e.g. /home/username/stataInstall. Make a folder into which you want to install Stata. The default is /usr/local/stataXX, where XX represents version number, and you almost certainly will need sudo rights to create it. Navigate to this directory using cd and start the installation via [sudo] /home/username/stataInstall/install (sudo is optional, depending on installation location).

You will have to answer a few questions, which are mostly self-explanatory. I assume that by now nobody will want to have a 32-bit installation, since a cap of 4GB for a data set can be restrictive these days. Once the installation concludes, you will need to run ./stinit to activate Stata with your key. Once that process concludes, you should be able to invoke Stata via /usr/local/stataXX/stata-mp.

Even though the installation process is finished, there are a few more steps you should take. First, you should get the updates via the update all command from within Stata. Note that if you installed Stata into /usr/local/stataXX, you will have to invoke the executable with sudo stata-mp if you want the update to succeed.

Second, you will want to add Stata folder to PATH, so that you could invoke the stata-mp command from anywhere. In bash shell this is done via export PATH=$PATH:/usr/local/stataXX: command, which you may want to add to your .bashrc file. (If you have sudo rights and want Stata to be in PATH for all users, then you need to edit the /etc/profile file instead.) If, like me, you prefer zsh to bash, the command is slightly different: PATH=$PATH:/usr/local/stataXX:; export PATH.

Third, and this is where most people trip themselves, you need to make sure that Stata has ample disk space for its temp files. Since it is limited to having a single dataset in memory at any point, many Stata commands require making temporary disk dumps to work. On many Linux hosts the default path for storing temp files is /tmp, which is almost always mounted under the root of the filesystem, i.e. on the primary physical/logical hard drive, where space is usually limited. (To see the overview of the file system, use the df -h command.) There is even a Stata FAQ on how to accomplish this, but, it a nutshell, all you need is to define another environment variable TMPDIR in your .bashrc file and make sure it is pointing to a directory on a disk with lots of space. The above link tells you how to test if the mapping was successful.

This pretty much sums up the process. As a bonus, it is possible to archive the entire contents of /usr/local/stataXX after installation was concluded and updates were deployed. This archive can then be copied to another machine to avoid interactive installation. You will still have to set up the environment variables per above, but this can be done via a shell script. And, of course, make sure that you do not violate the number of concurrent users allowed by your Stata license.

sildenafil citrate supplement Ner

sildenafil citrate price comparison
viagra generic
what is sildenafil citrate 20 mg tablet
[url=]buy sildenafil citrate online[/url]
sildenafil citrate dosing
sildenafil citrate 100mg troche reviews


100mg viagra viagra brand 50 mg generic [url=][/url]

viagra generic date wikipedia Ner

female viagra walmart over the counter
generic viagra
brand viagra 50mg online
[url=]buy viagra online[/url]
female viagra pills
generic viagra prices walmart

viagra generico brasileiro Ner

viagra commercial actress brunette blue dress
buy generic viagra online
viagra long term use side effects
[url=]buy generic viagra online[/url]
viagra caseiro funciona mesmo
walmart generic viagra 100mg exporters

price for cialis 20mg at walmart Ner

price comparison viagra vs cialis
buy cialis online
viagra levitra cialis cost comparison
viagra vs cialis comparison
cialis generico en mexico df

kamagra oral jelly 100mg pouzitie Ner

kamagra gel directions
kamagra 100 mg
kamagra oral jelly amazon nederland texas
[url=]buy kamagra online[/url]
kamagra usage
kamagra 100mg oral jelly wirkung


viagra 50 mg herbal viagra reviews

levitra vs viagra reviews Ner

generic prices for levitra at costco
[url=]levitra 10mg[/url]
levitra vs viagra cost
levitra online
levitra generic lowest prices
cost of levitra 20 mg cvs

what sildenafil citrate tablets used for Ner

us sildenafil citrate pricing
[url=]buy generic viagra[/url]
sildenafil citrate generic
sildenafil citrate online
sildenafil citrate generic
what are sildenafil citrate tablets ip


viagra 100mg pills buy brand viagra

viagra without a doctor prescription cost Ner

buy viagra online us pharmacy
buy viagra
cialis vs viagra dosage comparison
[url=]generic viagra online[/url]
viagra price at cvs pharmacy
buy generic viagra and cialis online uk

cialis super active plus kaufen Ner

generic cialis professional 20 mg
[url=]buy generic cialis online[/url]
is there generic cialis in canada
buy cialis
walmart cialis 5mg price
cialis 5mg daily use cost

acquistare cialis generico in italia Ner

generic cialis with dapoxetine
generic cialis
cialis super active vs professional
[url=]buy cialis online[/url]
cipla generic cialis india
cialis generic release date

kamagra reviews uk Ner

kamagra oral jelly side effects
[url=]buy kamagra[/url]
kamagra oral jelly directions use
kamagra 100 mg
kamagra forum srpski
kamagra oral jelly 100mg factory discount prices

directions for cialis 20mg how much water Ner

cialis v viagra comparison
generic cialis
compare viagra vs cialis
[url=]buy cialis[/url]
generic cialis tadalafil best price
cialis price walmart vs walgreens

fildena 100 mg direction Ner

fildena 100 mg softgel capsule
sildenafil citrate
fildena 100
[url=]buy fildena[/url]
fildena 50mg
fildena 50 mg reviews

prix de cialis

venta cialis en espaa generic cialis
cialis rezeptfrei sterreich [url= ]cialis 20mg prix en pharmacie[/url]
viagra without presc Viagra vs viagra
uk online pharmacy viagra [url= ]Buy viagra online[/url]
cialis 5 effetti collaterali
where to buy viagra in stores


online viagra sales where to buy viagra [url=][/url]

viagra pills price in usa Ner

viagra generic availability sildenafil citrate) malegra 100 mg
[url=]buy generic viagra online[/url]
generic viagra best online pharmacy
buy generic viagra online
generic viagra soft tabs
buy generic viagra online usa


buy cheap viagra viagra jelly [url=][/url]

levitra cialis viagra forum Ner

cialis costco pharmacy
[url=]generic cialis online[/url]
cialis coupon codes
buy cialis online
cialis price vs viagra comparison
generic cialis available in us

kamagra kopen rotterdam winkel Ner

kamagra 100 gold upotreba
[url=]kamagra 100mg[/url]
kamagra oral jelly wirkungsweise
kamagra 100mg
kamagra website reviews uk


generic viagra viagra wholesale [url=][/url]

viagra generic walmart cost Ner

price of generic viagra at walmart
comprar viagra generica online espaГ±a
generic viagra cheap canada
what is the best time to take viagra


viagra coupon viagra side effects [url=][/url]

levitra 20 mg side effects Ner

generic drug for levitra
[url=]buy levitra online[/url]
levitra coupons 2018
buy levitra online
cialis vs viagra vs levitra cost
is generic levitra available in the us

cialis prezzo al pubblico

buy cialis sample pack cialis 20mg prix en pharmacie
link for you cialis price cialis without a doctor's prescription
best place to buy viagra Buy generic viagra
buy viagra overnight delivery Low cost viagra 20mg
cialis super acti
buy viagra cheap prices

what is sildenafil citrate tablets used for Ner

sildenafil citrate
sildenafil citrate 100mg
sildenafil citrate dose
buy viagra
sildenafil citrate 20 mg tab teva
sildenafil citrate does what


side effects of viagra buying viagra online [url=][/url]

viagra natural para la mujer Ner

viagra naturale cibo
viagra generic
generic viagra soft gel capsule
buy viagra
order generic viagra from india
viagra commercial model may 2015

generic brand for cialis 5mg canada Ner

cialis generico 5 mg espaГ±a
buy generic cialis online
cvs price for cialis 5mg
buy cialis online
super active cialis reviews
cialis generico italia farmacia

kamagra jelly amazon Ner

the kamagra store hoax
kamagra 100 mg oral jelly
kamagra oral jelly 100mg side effects
kamagra 100 mg oral jelly
kamagra oral jelly viagra
kamagra winkel utrecht

youtube viagra commercial 2015 location Ner

ez online pharmacy buy viagra usa
viagra generic
viagra side effects chills
buy viagra
viagra natural efectiva
cialis or viagra generic

levitra 20 mg cost walmart generic Ner

coupons for levitra 20mg
buy levitra online
levitra coupon code
levitra generic drug

sildenafil citrate 100mg how does it work Ner

sildenafil citrate 20 mg dosage
generic viagra
what are sildenafil citrate tablets ip
buy generic viagra
sildenafil citrate generic india
sildenafil citrate 100mg tab cost per pill

generic cialis at the pharmacy

cialis tablets australia tadalafil 20 mg
viagra or cialis tadalafil 20 mg
buy viagra online with prescription Buy viagra
viagra pharmacy online Tadalafil 5mg
the best site cialis tablets
viagra online with a prescription

woman in viagra commercial wearing jersey Ner

buy cheap viagra online us
buy generic viagra
viagra tv commercial actress
viagra generic
viagra generic availability date
female viagra drugs

cialis generic prices with prescription Ner

cialis generico en mexico
buy cialis online
cialis vs viagra vs levitra which is better
cialis generic
generic cialis usa date
cialis 20 mg tablets how to take

kamagra stores Ner

kamagra 100mg chewables for sale
buy kamagra 100mg
kamagra oral jelly reviews
buy kamagra online
kamagra 100mg tablets for sale in us
kamagra oral jelly 100mg side effects

chinese cialis 50 mg

cialis bula cialis cost
female cialis no prescription cialis uk
buy viagra over the counter Viagra purchasing
buying online viagra Viagra 5mg prix
generic for cialis
buying viagra without prescription

levitra dosage vs viagra Ner

viagra commercial actress names
buy generic viagra online
side effects of viagra and cialis
viagra generic
viagra vs cialis vs levitra price
youtube viagra commercial 2015 football

cialis online nederland

does cialis cause gout cialis generique
side effects for cialis cialis generico online
viagra for men Viagra 20 mg best price
buy viagra online canada no prescription Viagra from canada
cialis herbs
sildenafil buy online

low cost generic cialis Ner

comprar cialis generico foro
generic cialis
cost of cialis compared to viagra
buy cialis online
maximum dosage of cialis
cialis side effects vision impairment

kamagra oral jelly sildenafil vol 3 Ner

the kamagra store coupon
kamagra 100 mg
kamagra reviews users
buy kamagra 100 mg oral jelly
kamagra us website
kamagra shop erfahrungen 2014

5 mg cialis pharmacie en ligne

effetti del cialis cialis 5mg
cialis 100 mg 30 tablet cialis coupon
buy viagra online paypal Viagra daily
where can i buy viagra online Tadalafil
venta de cialis canada
where can you buy viagra from

price of viagra vs cialis Ner

viagra generic availability sildenafil 100mg uk
generic viagra
brand viagra on internet
buy generic viagra
cvs generic viagra prices
youtube viagra commercial 2015 asian actress

cialis 20 mg

prix cialis once a da tadalafil
cialis et insomni low cost cialis 20mg
buy viagra uk without prescription Tadalafil
viagra online pharmacy Canadian viagra
cialis baratos compran uk
buy viagra online with paypal

where to buy generic cialis over the counter Ner

will cialis go generic in 2018
buy cialis
cialis tadalafil lilly 10mg
buy cialis
cialis 5mg daily price in the united states
maximum dose of cialis at a time

kamagra online bestellen nederland Ner

kamagra 100mg chewable
buy kamagra
kamagra gold 100mg
buy kamagra 100mg
kamagra kopen in de winkel utrecht
kamagra forum doctissimo

viagra commercial youtube Ner

buy generic viagra in usa
viagra caseiro de melancia funciona
buy generic viagra
viagra dose riddim 2004
effects of viagra on women and semen