diff --git a/_data/options.yml b/_data/options.yml index c7e1319..2c4a760 100644 --- a/_data/options.yml +++ b/_data/options.yml @@ -124,6 +124,8 @@ mirror_desc: desc: RHEL 及其变体的 RPM 软件包仓库 - name: elvish desc: TUNA 前会长 xiaq 开发的革命性 Shell + - name: entware + desc: 适用于嵌入式系统的软件包库 - name: epel desc: 企业版 Linux 附加软件包 - name: erlang-solutions diff --git a/help/_posts/2022-09-05-entware.md b/help/_posts/2022-09-05-entware.md new file mode 100644 index 0000000..bc3c2b7 --- /dev/null +++ b/help/_posts/2022-09-05-entware.md @@ -0,0 +1,23 @@ +--- +category: help +layout: help +mirrorid: entware +--- + +## Entware 镜像使用帮助 + +Entware 使用 opkg 来管理其软件包,只需修改 opkg 配置文件中的软件源地址,就可以使用镜像来下载软件包。 +按照官方 Wiki 中的教程安装好 entware 后,使用 `sed` 命令即可将软件源地址替换为 BFSU。 +替换后,请运行 `opkg update` 命令,更新软件包 feed。 + +```console +sed -i 's|bin.entware.net|mirrors.bfsu.edu.cn/entware|g' /opt/etc/opkg.conf +opkg update +``` + +如果系统没有 sed 命令,可以手动编辑 `/opt/etc/opkg.conf` 文件,编辑时请注意自己设备的处理器架构。 +例如: + +``` +src/gz entware http://mirrors.bfsu.edu.cn/entware/aarch64-k3.10 +``` \ No newline at end of file