From 03446cab6f3ce426bc14ba746c791a2092f77535 Mon Sep 17 00:00:00 2001 From: mirror Date: Fri, 20 Sep 2024 17:06:15 +0800 Subject: [PATCH] Update Maca --- Maca.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Maca.md b/Maca.md index 3f979a1..7257e57 100644 --- a/Maca.md +++ b/Maca.md @@ -1,35 +1,35 @@ ## Maca For Ubuntu-18.04 ``` -curl -fsSL https://mirror.metax-tech.com/public.gpg.key | apt-key add - -echo "deb [arch=$(dpkg --print-architecture)] https://mirror.metax-tech.com/r/maca-ubuntu18.04/ bionic main" | tee /etc/apt/sources.list.d/maca-18.04.list +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/maca-ubuntu18.04/ bionic main" | tee /etc/apt/sources.list.d/maca-18.04.list apt-get update ``` ## Maca For Ubuntu-20.04 ``` -curl -fsSL https://mirror.metax-tech.com/public.gpg.key | apt-key add - -echo "deb [arch=$(dpkg --print-architecture)] https://mirror.metax-tech.com/r/maca-ubuntu20.04/ focal main" | tee /etc/apt/sources.list.d/maca-20.04.list +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/maca-ubuntu20.04/ focal main" | tee /etc/apt/sources.list.d/maca-20.04.list apt-get update ``` ## Maca For Ubuntu-22.04 ``` -curl -fsSL https://mirror.metax-tech.com/public.gpg.key | apt-key add - -echo "deb [arch=$(dpkg --print-architecture)] https://mirror.metax-tech.com/r/maca-ubuntu22.04/ jammy main" | tee /etc/apt/sources.list.d/maca-22.04.list +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/maca-ubuntu22.04/ jammy main" | tee /etc/apt/sources.list.d/maca-22.04.list apt-get update ``` ## Maca For CentOS8 ``` -curl -o /etc/yum.repos.d/maca-centos8.repo https://mirror.metax-tech.com/r/maca-centos8.repo +curl -o /etc/yum.repos.d/maca-centos8.repo https://repos.metax-tech.com/r/maca-centos8.repo yum makecache ``` ## Maca For CentOS9 ``` -curl -o /etc/yum.repos.d/maca-centos9.repo https://mirror.metax-tech.com/r/maca-centos9.repo +curl -o /etc/yum.repos.d/maca-centos9.repo https://repos.metax-tech.com/r/maca-centos9.repo yum makecache ``` @@ -37,10 +37,10 @@ yum makecache ## Maca For Pytorch ### 一次性安装 ``` -pip install -i https://mirror.metax-tech.com/r/maca-pypi/simple --trusted-host https://mirror.metax-tech.com +pip install -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host https://repos.metax-tech.com ``` ### 永久配置 ``` -pip config set global.index-url https://mirror.metax-tech.com/r/maca-pypi/simple -pip config set global.trusted-host https://mirror.metax-tech.com +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 ``` \ No newline at end of file