月度归档:2016年10月

solaris 上安装 git

今天要在solaris上安装git。
记录一下步骤:

pkgadd -d http://get.opencsw.org/now
/opt/csw/bin/pkgutil -U
/opt/csw/bin/pkgutil -y -i git 
/usr/sbin/pkgchk -L CSWgit # list files

https://www.opencsw.org/package/git/

byNeil
byNeil.com

原文来自 Blog by Neil, post solaris 上安装 git 转载请注明出处。本站保留一切权力

gentoo linux 安装软件

gentoo linux 使用 emerge 安装 软件。

更新软件包信息:

emerge  --sync

搜索软件包:

emerge  --search   netcat

安装软件:

emerge   curl

如果安装软件遇到如下错误:

# emerge    net-analyzer/openbsd-netcat

 * IMPORTANT: 11 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!
[ebuild   R   ~] net-analyzer/openbsd-netcat-1.105-r1 

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by net-analyzer/openbsd-netcat (argument)
=net-analyzer/openbsd-netcat-1.105-r1 ~amd64

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.

尝试这样:

 ACCEPT_KEYWORDS="~amd64"   emerge  net-analyzer/openbsd-netcat

byNeil
byNeil.com

原文来自 Blog by Neil, post gentoo linux 安装软件 转载请注明出处。本站保留一切权力