简体   繁体   English

在Solaris上安装软件

[英]Installing software on 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). 我想在我没有root访问权限的solaris 10机器上安装几个unix实用程序(包括xmlstarlet,wget)(显然,我有一个用户帐户)。 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? 我对solaris并没有那么丰富的经验,想知道我是否可以简单地掌握所需的每个实用程序的uber二进制文件,然后将其放在主目录中? Is this feasible? 这可行吗?

Many thanks 非常感谢

wget is installed by default on Solaris 10 in /usr/sfw/bin/wget. wget默认安装在Solaris 10的/ 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. xmlstarlet需要Solaris 10中未包含的四个库,因此它会比较棘手,但是您可以先构建它们,然后从各自的源代码构建xmlstarlet。

Have a look there for information about what is needed: http://www.opencsw.org/packages/xmlstarlet 在那里查看有关所需信息的信息: 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. 如果您真的不想编译二进制文件,则肯定有一种方法可以手动将存储在这些Solaris软件包中的文件安装到其他位置,并对其进行修补/修复以完成整个工作。 I did that already. 我已经做到了

Finally, don't underestimate the willingness of the system administrator to help. 最后,请不要低估系统管理员提供帮助的意愿。

只要二进制文件不尝试执行需要超级用户特权的事情, 并且二进制文件已针对您的平台进行编译,您就可以了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM