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