楼主: pertain
6991 8

[原创]STATA for UNIX 安装指导。 [推广有奖]

已卖:3857份资源

院士

8%

还不是VIP/贵宾

-

威望
0
论坛币
248003 个
通用积分
3495.9662
学术水平
29 点
热心指数
30 点
信用等级
19 点
经验
46596 点
帖子
1094
精华
0
在线时间
4171 小时
注册时间
2004-11-13
最后登录
2025-9-30

楼主
pertain 在职认证  发表于 2007-9-1 04:44:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
Install STATA 10 under Linux (Take Ubuntu 7.04 for Example)

  1. To start, copy the file “install” and the folder “unix” from Installation CD into “/home/yourname/stata10install”.

  2. Change current directory into “/home/yourname/stata10install” by typing the following commands into console: cd /home/yourname/stata10install

  3. Make the “install” file executable: chmod 755 install

  4. Create destination folder for Stata 10 installation: sudo mkdir /usr/local/stata10

  5. Change current directory into “/usr/local/stata10” by typing in the console: cd /usr/local/stata10

  6. Now you are in the designation folder, execute the installation script by typing the following commands: /home/yourname/stata10install/install

  7. Follow the instructions of STATA install program, be careful, when you are asked to specify which STATA for PC Linux you wish to install, choose Stata for PC Linux, statically linked

  8. Now make links so everyone can run STATA

cd /usr/local/bin

sudo ln -s /usr/local/stata10/stata-se stata

sudo ln -s /usr/local/stata10/xstata-se xstata

That's all, enjoy. :-) If you have any questions, do not hesitate to ask.

PS: You can increase the visibility of your STATA interface by downloading This Consloe Font from http://www.ank.com.ar/fonts/.

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Stata tata Unix For Installation Stata 指导 Unix 原创

沙发
lilymagic 发表于 2007-9-1 16:54:00
有时间试试……

藤椅
磨叽2012 发表于 2011-5-2 16:25:40
给力啊,楼主。
当初一直是按照stata官网的要求一步一步做的,把文件拷贝至/usr/local/stata10下进行安装,但老是出现安装脚本的错误。想换成安装到其他目录吧,仍然是老问题。

提示:安装的时候尽量将按照楼主的说法,将stata 的安装目录与安装源文件放在不同的文件夹里。。。。从而避
            免script error。。。。。。。。。

板凳
磨叽2012 发表于 2011-5-2 16:52:21
完成以上操作后你可以在命令中进行操作。。要想获取图像界面,还需要其他操作。

完整安装步骤。。

For those like myself who have recently switched to the Linux operating system, installing programs that are not in the Ubuntu repositories can be a challenge at times. I recently installed the statistical analysis program Stata on my computer running the latest stable version of Linux Mint Gloria, which is a fork of the popular Ubuntu Linux distribution. But, more about my choice of Linux distro later. On to installing Stata on linux.

sudo mkdir /usr/local/stata10


cd /usr/local/stata10


sh /media/cdrom/install






Next, follow the prompts to install the program. The Stata install CD includes versions for several operating system so just pay attention. If you want to run the GUI version(图形界面) of Stata just like on windows then you’ll want to select the dynamically linked version in step three of the install.
After the files have been copied run the license install program by typing:(注册stata)
sudo ./stinit

stata 注册号

Serial Number : 198089190                              
Code : z9bc4xqdt7n1es0ab3ny9fmuz17s               
Authorization Key: 87yg                              

或者     
Serial Number : 198081327                           
Code : w6gnsqpi3k1ixcnz1whu7foy49jm                 
Authorization Key: 54vd  


如果安装是出现错误,可能需要更改下权限,或者将安装的源文件与安装目录分开。
1.安装目录更改权限操作
If there is an error you may need to change the permissions on the stata10 folder before starting the license program. Try typing:

sudo chmod -R 755 /usr/local/stata10






如何安装图形界面。。

Enter the serial number, code, and authorization key and you’ll be prompted to enter some info that will appear when Stata starts. I chose to enter my name on the first line and my job title on the second. Now you should be able to run Stata from the command line by typing:

./stata






or you can run the GUI version of Stata by typing:

./xstata






At first try I was able to run Stata from the command line but when I tried to run xstata I got the following error:

./xstata: error while loading shared libraries: libtiff.so.3: cannot openshared object file: No such file or directory






After consulting a document on the Stata website, I was still confused about what to do but after further search I was able to run xstata by running the following commands. If you are running a recent version of Ubuntu such as 9.04 – 10.04 the following should work:

sudo ln -s /usr/lib/libtiff.so.4 /usr/lib/libtiff.so.3






After upgrading to the latest version of Ubuntu, Maverick Meerkat (10.10), a new version of libtiff is included so the following softlink should be used instead of the line above.

sudo ln -s /usr/lib/libtiff.so.4.3.3 /usr/lib/libtiff.so.3






Mostly, this post serves as a reminder to myself how to re-install if I have to but if you find this useful, leave me a comment below. Good luck!


已有 1 人评分论坛币 收起 理由
dxystata + 20 好的意见建议

总评分: 论坛币 + 20   查看全部评分

报纸
磨叽2012 发表于 2011-5-2 17:27:52
stata成功安装界面.png
我已经成功安装了图形界面。。。。
也很欢迎为大家解答。。我的邮箱:  goola.2011@gmail.com

地板
蓝色 发表于 2011-5-2 19:30:18
可惜我是winxp系统啊

7
lisle 发表于 2011-5-5 20:13:51
试了上面的命令,仍然没有成功安装xstata,郁闷!

4# 磨叽2012

8
磨叽2012 发表于 2011-5-7 14:56:43
详细教程解释。。
stata.10.linux 详细安装过程.7z.pdf (110.74 KB)

能把你的问题发出来么?我会为你解答,也便让后人参考哈。。

9
dwyanewade 发表于 2011-12-3 17:14:32
完全按照楼主说的方式做了,但是安装的时候还是出现could not copy ***/ado.taz installation script error这是什么原因啊?

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-25 06:17