diff --git a/Maca3.0.md b/Maca3.0.md index 8d27513..08a5c1c 100644 --- a/Maca3.0.md +++ b/Maca3.0.md @@ -15,17 +15,24 @@ 1. **添加仓库并更新缓存** - ``` - curl -o /etc/yum.repos.d/maca.repo https://mirrors.metax-tech.com/maca-sdk-rpm.repo - yum makecache - ``` + ```bash + cat < /etc/yum.repos.d/maca-sdk-rpm.repo +[maca] +name=Maca Yum Repository +baseurl=https://mirror.metax-tech.com/maca-sdk-rpm/ +enabled=1 +gpgcheck=0 +EOF + +yum makecache + + ### 安装 DEB 包 2. **添加仓库并更新缓存** - ``` + ```bash 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 apt-get update - ```