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=http://sildenafilcitratepw.com/]buy sildenafil citrate online[/url]
sildenafil citrate dosing
http://sildenafilcitratepw.com/
sildenafil citrate 100mg troche reviews

zdvikxdetm

100mg viagra https://mo-basta.org/ viagra brand 50 mg generic [url=https://mo-basta.org/#]https://mo-basta.org/[/url]

viagra generic date wikipedia Ner

female viagra walmart over the counter
generic viagra
brand viagra 50mg online
[url=http://amsboatyard.com/]buy viagra online[/url]
female viagra pills
http://amsboatyard.com/
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=http://buyviagrapw.com/]buy generic viagra online[/url]
viagra caseiro funciona mesmo
http://buyviagrapw.com/
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
[url=http://airvietnamairline.com/]cialis[/url]
viagra vs cialis comparison
http://airvietnamairline.com/
cialis generico en mexico df

kamagra oral jelly 100mg pouzitie Ner

kamagra gel directions
kamagra 100 mg
kamagra oral jelly amazon nederland texas
[url=http://kamagraonl.com/]buy kamagra online[/url]
kamagra usage
http://kamagraonl.com/
kamagra 100mg oral jelly wirkung

bqgssxhjie

viagra 50 mg https://bitcapblog.com/ herbal viagra reviews https://bitcapblog.com/

levitra vs viagra reviews Ner

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

what sildenafil citrate tablets used for Ner

us sildenafil citrate pricing
[url=http://sildenafilcitratepw.com/]buy generic viagra[/url]
sildenafil citrate generic
sildenafil citrate online
sildenafil citrate generic
http://sildenafilcitratepw.com/
what are sildenafil citrate tablets ip

ajsrkrbqxz

viagra 100mg pills https://susamsokagim.com/ buy brand viagra https://susamsokagim.com/

viagra without a doctor prescription cost Ner

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

cialis super active plus kaufen Ner

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

acquistare cialis generico in italia Ner

generic cialis with dapoxetine
generic cialis
cialis super active vs professional
[url=http://airvietnamairline.com/]buy cialis online[/url]
cipla generic cialis india
http://airvietnamairline.com/
cialis generic release date

kamagra reviews uk Ner

kamagra oral jelly side effects
[url=http://kamagraonl.com/]buy kamagra[/url]
kamagra oral jelly directions use
kamagra 100 mg
kamagra forum srpski
http://kamagraonl.com/
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=http://cialisgenericmg.com/]buy cialis[/url]
generic cialis tadalafil best price
http://cialisgenericmg.com/
cialis price walmart vs walgreens

fildena 100 mg direction Ner

fildena 100 mg softgel capsule
sildenafil citrate
fildena 100
[url=http://fildenaonl.com/]buy fildena[/url]
fildena 50mg
http://fildenaonl.com/
fildena 50 mg reviews

prix de cialis

venta cialis en espaa generic cialis
cialis rezeptfrei sterreich [url=http://cialisonl.com/ ]cialis 20mg prix en pharmacie[/url]
viagra without presc Viagra vs viagra
uk online pharmacy viagra [url=http://rldta.com/ ]Buy viagra online[/url]
cialis 5 effetti collaterali http://cialisonl.com/generic-for-cialis
where to buy viagra in stores http://viagravipsale.com/

wfrkcezwvo

online viagra sales https://movietrailershd.org/ where to buy viagra [url=https://movietrailershd.org/#]https://movietrailershd.org/[/url]

viagra pills price in usa Ner

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

gfmamvvyao

buy cheap viagra https://aluixnetwork.com/ viagra jelly [url=https://aluixnetwork.com/#]https://aluixnetwork.com/[/url]

levitra cialis viagra forum Ner

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

kamagra kopen rotterdam winkel Ner

kamagra 100 gold upotreba
[url=http://kamagraonl.com/]kamagra 100mg[/url]
kamagra oral jelly wirkungsweise
kamagra 100mg
kamagra website reviews uk
http://kamagraonl.com/
kamagra

xgtvlxhxgg

generic viagra https://holidayrentallorgues.com/ viagra wholesale [url=https://holidayrentallorgues.com/#]https://holidayrentallorgues.com/[/url]

viagra generic walmart cost Ner

price of generic viagra at walmart
[url=http://genericviagrasu.com/]viagra[/url]
comprar viagra generica online espaГ±a
viagra
generic viagra cheap canada
http://genericviagrasu.com/
what is the best time to take viagra

fkjifwwgcl

viagra coupon https://bitcapblog.com/ viagra side effects [url=https://bitcapblog.com/#]https://bitcapblog.com/[/url]

levitra 20 mg side effects Ner

generic drug for levitra
[url=http://levitraonlq.com/]buy levitra online[/url]
levitra coupons 2018
buy levitra online
cialis vs viagra vs levitra cost
http://levitraonlq.com/
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 http://cialisyoues.com/
buy viagra cheap prices http://viagravipsale.com/

what is sildenafil citrate tablets used for Ner

sildenafil citrate
sildenafil citrate 100mg
sildenafil citrate dose
buy viagra
sildenafil citrate 20 mg tab teva
http://sildenafilcitratepw.com/
sildenafil citrate does what

guacmfthhw

side effects of viagra https://susamsokagim.com/ buying viagra online [url=https://susamsokagim.com/#]https://susamsokagim.com/[/url]

viagra natural para la mujer Ner

viagra naturale cibo
viagra generic
generic viagra soft gel capsule
buy viagra
order generic viagra from india
http://amsboatyard.com/
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
http://airvietnamairline.com/
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
http://kamagraonl.com/
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
http://buyviagrapw.com/
cialis or viagra generic

levitra 20 mg cost walmart generic Ner

coupons for levitra 20mg
buy levitra online
levitra
levitra
levitra coupon code
http://buylevitraonl.com/
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
http://sildenafilviagrap.com/
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 http://cialisyoues.com/#tadalafil-20-mg
viagra online with a prescription http://viagravonline.com/

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
http://amsboatyard.com/
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
http://airvietnamairline.com/
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
http://kamagraonl.com/
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 http://kawanboni.com/#cialis-coupon
buying viagra without prescription http://viagravonline.com/#viagra-lowest-price

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
http://amsboatyard.com/
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 http://kawanboni.com/
sildenafil buy online http://viagravonline.com/

low cost generic cialis Ner

comprar cialis generico foro
generic cialis
cost of cialis compared to viagra
buy cialis online
maximum dosage of cialis
http://airvietnamairline.com/
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
http://kamagraonl.com/
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 http://cialisonl.com/
where can you buy viagra from http://viagrayosale.com/

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
http://amsboatyard.com/
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 http://cialisonl.com/#tadalafilo
buy viagra online with paypal http://rldta.com/#viagra-lowest-price

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
http://airvietnamairline.com/
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
http://kamagraonl.com/
kamagra forum doctissimo

viagra commercial youtube Ner

buy generic viagra in usa
viagra
viagra caseiro de melancia funciona
buy generic viagra
viagra dose riddim 2004
http://amsboatyard.com/
effects of viagra on women and semen