Difference between revisions of "Stata"

From ArchWiki
Jump to: navigation, search
(Created page with "STATA is a general-purpose statistical software package for *nix, Windows and Mac. In the following you'll be presented with how to install STATA and the needed libraries. =...")
 
(Add category. Add accuracy flag.)
Line 1: Line 1:
 +
[[Category:Status monitoring and notification]]
 
STATA is a general-purpose statistical software package for *nix, Windows and Mac. In the following you'll be presented with how to install STATA and the needed libraries.
 
STATA is a general-purpose statistical software package for *nix, Windows and Mac. In the following you'll be presented with how to install STATA and the needed libraries.
 
  
 
== Needed libraries ==
 
== Needed libraries ==
Line 7: Line 7:
  
 
If you use GNOME, you'll the following additional packages.
 
If you use GNOME, you'll the following additional packages.
 
  
 
=== GNOME ===
 
=== GNOME ===
 +
{{Accuracy|symlink like this is always frowned upon. If so name is changed, it usually means not backward compatiable. So fix the package or rebuild it. Do not use this walk around.}}
  
 
+
You need Packages {{Pkg|libgtksourceviewmm2}} which is found in the '[community]' repository.
You need [https://www.archlinux.org/packages/?sort=&q=libgtksourceview&maintainer=&last_update=&flagged=&limit=50 Packages libgtksourceviewmm] which is found in the '[community]' repository.
+
  
 
After you have installed the package, you need to create a symlink from {{ic|libgtksourceview-2.0.so.0}} to {{ic|libgtksourceview-1.0.so.0}}. To do this run this command as root:
 
After you have installed the package, you need to create a symlink from {{ic|libgtksourceview-2.0.so.0}} to {{ic|libgtksourceview-1.0.so.0}}. To do this run this command as root:
Line 19: Line 18:
  
 
You also need the package {{ic|libgnomeprint}} which is available in the AUR.
 
You also need the package {{ic|libgnomeprint}} which is available in the AUR.
 
  
 
== Installing STATA ==
 
== Installing STATA ==

Revision as of 01:06, 8 February 2013

STATA is a general-purpose statistical software package for *nix, Windows and Mac. In the following you'll be presented with how to install STATA and the needed libraries.

Needed libraries

You need to install a series of libraries to run STATA. STATA uses the GTK+ framework.

If you use GNOME, you'll the following additional packages.

GNOME

Tango-inaccurate.pngThe factual accuracy of this article or section is disputed.Tango-inaccurate.png

Reason: symlink like this is always frowned upon. If so name is changed, it usually means not backward compatiable. So fix the package or rebuild it. Do not use this walk around. (Discuss in Talk:Stata#)

You need Packages libgtksourceviewmm2 which is found in the '[community]' repository.

After you have installed the package, you need to create a symlink from libgtksourceview-2.0.so.0 to libgtksourceview-1.0.so.0. To do this run this command as root:

ln -s /usr/lib/libgtksourceview-2.0.so.0 /usr/lib/libgtksourceview-1.0.so.0

You also need the package libgnomeprint which is available in the AUR.

Installing STATA

After you have installed these packages, you need to insert your STATA CD and mount it.

Create a directory for stata

Create a directory
 mkdir /usr/local/stata12

Once you've created the directory, change into the directory:

cd /usr/local/stata12

And run the installer from the directory you mounted the CD into:

/path/to/mounted/cd/installer

Follow the instructions and you'll end up with STATA installed.

After you have installed STATA, change the permissions on /usr/local/stata12 so you can execute it as a normal user:

chmod -R 755 /usr/local/stata12