Update Maca3.0

mirror 2024-09-10 11:21:43 +08:00
parent c137368d2c
commit 2c8cfe90ec

@ -15,17 +15,24 @@
1. **添加仓库并更新缓存** 1. **添加仓库并更新缓存**
``` ```bash
curl -o /etc/yum.repos.d/maca.repo https://mirrors.metax-tech.com/maca-sdk-rpm.repo cat <<EOF> /etc/yum.repos.d/maca-sdk-rpm.repo
yum makecache [maca]
``` name=Maca Yum Repository
baseurl=https://mirror.metax-tech.com/maca-sdk-rpm/
enabled=1
gpgcheck=0
EOF
yum makecache
### 安装 DEB 包 ### 安装 DEB 包
2. **添加仓库并更新缓存** 2. **添加仓库并更新缓存**
``` ```bash
curl -fsSL https://mirror.metax-tech.com/nexus_pub.asc | apt-key add - curl -fsSL https://mirror.metax-tech.com/nexus_pub.asc | apt-key add -
echo "deb [arch=$(dpkg --print-architecture)] https://mirrors.metax-tech.com/maca-sdk-deb/ stable main" | tee /etc/apt/sources.list.d/maca-sdk-deb.list echo "deb [arch=$(dpkg --print-architecture)] https://mirrors.metax-tech.com/maca-sdk-deb/ stable main" | tee /etc/apt/sources.list.d/maca-sdk-deb.list
apt-get update apt-get update
```