Update MACA
parent
1a490a0c44
commit
44f456c9db
5
MACA.md
5
MACA.md
@ -125,8 +125,9 @@
|
|||||||
|
|
||||||
yum makecache
|
yum makecache
|
||||||
|
|
||||||
- **适配所有 Ubuntu 系统**
|
### 适配所有 Ubuntu 系统
|
||||||
|
|
||||||
|
- **配置APT源**
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://repos.metax-tech.com/public.gpg.key | apt-key add -
|
curl -fsSL https://repos.metax-tech.com/public.gpg.key | apt-key add -
|
||||||
echo "deb [arch=$(dpkg --print-architecture)] https://repos.metax-tech.com/r/metax-driver-ubuntu/ stable main" | tee /etc/apt/sources.list.d/metax-driver-ubuntu.list
|
echo "deb [arch=$(dpkg --print-architecture)] https://repos.metax-tech.com/r/metax-driver-ubuntu/ stable main" | tee /etc/apt/sources.list.d/metax-driver-ubuntu.list
|
||||||
@ -139,7 +140,7 @@
|
|||||||
```bash
|
```bash
|
||||||
pip install <PKG Name> -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host https://repos.metax-tech.com
|
pip install <PKG Name> -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host https://repos.metax-tech.com
|
||||||
|
|
||||||
1. **永久配置**
|
2. **永久配置**
|
||||||
```bash
|
```bash
|
||||||
pip config set global.index-url https://repos.metax-tech.com/r/maca-pypi/simple
|
pip config set global.index-url https://repos.metax-tech.com/r/maca-pypi/simple
|
||||||
pip config set global.trusted-host https://repos.metax-tech.com
|
pip config set global.trusted-host https://repos.metax-tech.com
|
||||||
|
Loading…
Reference in New Issue
Block a user