我需要Stata在我的笔记本上,我是Ubuntu的新手。我有一个包含一些taz文件的文件夹,但我不知道该如何处理它们。我根据提供的说明安装了它,但是它不会打开,它会给我带来以下错误:
error while loading shared libraries: libgtksourceview-1.0.so.0: cannot open shared object file: No such file or directory下面是它附带的说明
在开始之前:
sudo apt-get install libgtksourceview-3.0-common
sudo ln -s /usr/lib/libgtksourceview-2.0.so.0 /usr/lib/libgtksourceview-1.0.so.0
sudo apt-get install libgnomeprint2.2-0使用SloveniaX提供的序列号、代码和授权
恭喜!!安装了Stata 12。
./xstata
发布于 2016-11-22 06:03:14
同样的安装过程也有同样的问题。准确地说,在这个安装过程之后,Stata将通过命令行(即终端)运行,但是这是非常无用的,因为人们只对友好的GUI使用Stata,对吗?为了使用GUI,我们需要Ubuntu16.04不支持的包libgnomeprint2.2-0和libgtksourceview2.0-0。通过在Ubuntu16.04 apt源代码中添加Ubuntu12.04(我认为最后一个支持这些包的存储库)来解决这个问题。以管理员身份开放终端,并:
sudo gedit /etc/apt/sources.list将这一行添加到打开的sources.list文件中:
deb http://cz.archive.ubuntu.com/ubuntu precise main universe保存并关闭。更新航站楼的新来源:
sudo apt-get update使用以下方法安装以前不受支持的软件包:
sudo apt-get install libgnomeprint2.2-0 libgtksourceview2.0-0这是为我做的。Stata启动并运行!
这个解决方案不是我做的。读取http://people.duke.edu/~aql3/install-stata12-ubuntu1404/
有人能看出这个手术有什么副作用吗?我的意思是将旧存储库添加到更新的发行版中?
发布于 2018-02-28 17:24:42
有个更简单的办法!您只需更新到Stata 12的更新版本即可。为此,通过运行./stata打开非图形化的Stata,然后使用update query更新,然后使用update all进行更新。
更新后的版本不依赖于libgtksourceview或libgnomeprint。
应该是这样的:
. update query
(contacting http://www.stata.com)
Update status
Last check for updates: 28 Feb 2018
New update available: 23 Jan 2014
Current update level: 24 Aug 2011
Comment
<Ad for Stata 15 here>
Possible actions
Updates are available. Type -update all- to install.
. update all
(contacting http://www.stata.com)
downloading executable files ... complete
downloading documentation files ... complete
downloading ado files ... complete
installing executable files ... complete
installing documentation files ... complete
installing ado files ... complete
All files were sucessfully installed.
(!) Stata is about to shutdown this version of
Stata and automatically launch the new version.顺便提一句,你也不需要做所有的公开。您可以只运行./install。
https://askubuntu.com/questions/841618
复制相似问题