欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

Ubuntu 18.04 ARM64 可用的国内源

程序员文章站 2022-05-18 20:15:16
Ubuntu 18.04 ARM64 可用的国内源将下面的源替换到/etc/apt/source/list即可 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic universe deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-updates universe deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic multivers.....

 

Ubuntu 18.04 ARM64 可用的国内源

将下面的源替换到 /etc/apt/source/list 即可

 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic universe
 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-updates universe
 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic multiverse
 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-updates multiverse
 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-backports main restricted universe multiverse
 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-security main restricted
 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-security universe
 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-security multiverse

Ubuntu18.04 armhf 版本国内源:

deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-backports main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-proposed main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-security main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-updates main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-backports main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-proposed main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-security main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-updates main multiverse restricted universe

突然发现,国内有华为arm64的镜像源!使用华为的镜像源速度十分快!
支持 ubuntu、华为鲲鹏服务器!
使用以下脚本即可自动替换为华为镜像源。

 

wget -O /etc/apt/sources.list https://repo.huaweicloud.com/repository/conf/Ubuntu-Ports-bionic.list
apt-get update

获取手动修改,将源地址改成

deb https://repo.huaweicloud.com/ubuntu-ports/ bionic main restricted universe multiverse
deb-src https://repo.huaweicloud.com/ubuntu-ports/ bionic main restricted universe multiverse

deb https://repo.huaweicloud.com/ubuntu-ports/ bionic-security main restricted universe multiverse
deb-src https://repo.huaweicloud.com/ubuntu-ports/ bionic-security main restricted universe multiverse

deb https://repo.huaweicloud.com/ubuntu-ports/ bionic-updates main restricted universe multiverse
deb-src https://repo.huaweicloud.com/ubuntu-ports/ bionic-updates main restricted universe multiverse

deb https://repo.huaweicloud.com/ubuntu-ports/ bionic-backports main restricted universe multiverse
deb-src https://repo.huaweicloud.com/ubuntu-ports/ bionic-backports main restricted universe multiverse

## Not recommended
# deb https://repo.huaweicloud.com/ubuntu-ports/ bionic-proposed main restricted universe multiverse

install eclipse

sudo apt-cache  search eclipse

sudo apt-get install eclipse-mylyn-context-pydev
 

 

本文地址:https://blog.csdn.net/baidu_41617231/article/details/107314843