Merge branch 't123yh-entware'

This commit is contained in:
Zenithal 2022-09-05 16:10:01 +08:00
commit bf8d2d39fa
No known key found for this signature in database
GPG Key ID: 1189C659F3D04C1C
2 changed files with 25 additions and 0 deletions

View File

@ -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

View File

@ -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
```