From 2262547a01e279123d0b3beeb624dcb3c97cb7e8 Mon Sep 17 00:00:00 2001 From: mirror Date: Fri, 6 Sep 2024 13:39:03 +0800 Subject: [PATCH] Update Maca3.0 --- Maca3.0.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Maca3.0.md b/Maca3.0.md index ad6c778..15683ee 100644 --- a/Maca3.0.md +++ b/Maca3.0.md @@ -5,7 +5,6 @@ 以前我们为不同的操作系统发行版本(如 Ubuntu 20.04、CentOS 8)分别提供不同的软件包。现在,为了简化安装流程并增强兼容性,我们将不再依据具体的系统发行版本打包。所有支持的系统将使用相同的通用安装包,只区分操作系统类型(Debian-based 或 RPM-based)。 - ## 新版本使用方法 ### SDK @@ -14,17 +13,16 @@ 1. **添加仓库并更新缓存** - ``` + ```bash curl -o /etc/yum.repos.d/maca.repo https://mirrors.metax-tech.com/maca-sdk-rpm.repo yum makecache - ``` + ### 安装 DEB 包 2. **添加仓库并更新缓存** - ``` + ```bash curl -fsSL https://mirror.metax-internal.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 - ``` \ No newline at end of file + apt-get update \ No newline at end of file