Update Maca3.0
parent
c137368d2c
commit
2c8cfe90ec
19
Maca3.0.md
19
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 <<EOF> /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
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user