在 Solaris 上安装软件
我想在我没有root 访问权限的solaris 10 计算机上安装几个unix 实用程序(包括xmlstarlet、wget)(显然,我有一个用户帐户)。我对Solaris 没有那么丰富的经验,我想知道我是否可以简单地为我需要的每个实用程序获取一个超级二进制文件,然后将其放在我的主目录中?这可行吗?
非常感谢
I'd like to install several unix utilities (incl. xmlstarlet, wget) on a solaris 10 machine which I don't have root access to (obviously, I have a user account). I'm not that experienced with solaris and am wondering if I can simply get hold of an uber binary for each utility I need and just place this in my home directory? Is this feasible?
Many thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
wget 默认安装在 Solaris 10 上的 /usr/sfw/bin/wget 中。
xmlstarlet 需要 Solaris 10 中未包含的四个库,因此这会比较棘手,但当然,您可以构建它们,然后从它们各自的源代码构建 xmlstarlet。
查看有关所需内容的信息: http://www.opencsw.org/packages/xmlstarlet
如果您确实不想编译二进制文件,那么当然有一种方法可以手动将这些 Solaris 软件包中存储的文件安装到其他地方,并修补/修复它们以使整个工作正常进行。我已经这么做了。
最后,不要低估系统管理员提供帮助的意愿。
wget is installed by default on Solaris 10 in /usr/sfw/bin/wget.
xmlstarlet requires four libraries that aren't included in Solaris 10 so it's going to be trickier but of course, you can build them and then xmlstarlet from their respective source code.
Have a look there for information about what is needed: http://www.opencsw.org/packages/xmlstarlet
If you really don't want to compile the binaries, there is certainly a way to manually install the files stored on these Solaris packages elsewhere and patch/fix them to make the whole work. I did that already.
Finally, don't underestimate the willingness of the system administrator to help.
只要二进制文件不尝试执行需要超级用户权限的操作并且二进制文件是针对您的平台编译的,就应该没问题。
As long as the binary doesn't try to do something that requires superuser privileges and the binary is compiled for your platform, you should be ok.