Gentoo 中安装 GNU Octave 的注意事项

在 Gentoo 安装 octave 时,如果只使用官方默认的 USE,你会惊喜的发现 pkg 是无法下载软件包的:

1
support for URL transfers was disabled when Octave was built

这是因为 Gentoo 在对 ocatve 配置的 USE 中,没有加上对 curl 的支持,导致 pkg 无法使用 URL 下载软件包。
如果需要使用 pkg 安装软件包,需要为 octave 单独加上 USEcurl
/etc/portage/package.use中,加上:

sci-mathematics/octave curl

即可。

PS: 记得emerge -avuDN @world

作者

William Gong

发布于

2022-03-26

更新于

2024-03-05

许可协议