找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1219|回复: 2

[教程分享] Armbian ustc软件源

[复制链接]

6

主题

13

回帖

173

积分

注册会员

积分
173
发表于 2023-5-23 14:33:05 | 显示全部楼层 |阅读模式
本帖最后由 xiayang 于 2023-5-23 14:39 编辑

Armbian下载网址
https://github.com/armbian/os/releases
https://stpete-mirror.armbian.com/archive/
https://github.com/ophub/amlogic-s9xxx-armbian/releases


原始使用方法:


1,用ssh登录,一定要root用户

2,备份一下原始的源文件:

  1. mv /etc/apt/sources.list /etc/apt/sources.list.bak
复制代码

3,命令:

  1. nano /etc/apt/sources.list
复制代码

把下面的符合你操作系统的源地址复制粘贴进去, ctrl+s 保存, ctrl+x 退出

4,更新一下:

  1. apt-get update
复制代码

一键换源方法

国内使用(默认)
  1. bash <(curl -sSL https://linuxmirrors.cn/main.sh)
复制代码
海外使用
  1. bash <(curl -sSL https://linuxmirrors.cn/main.sh) --abroad
复制代码
国内教育网使用
  1. bash <(curl -sSL https://linuxmirrors.cn/main.sh) --edu
复制代码


附不同版本软件源:

# ubuntu 22.04  jammy
  1. # 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释

  2. deb https://mirrors.ustc.edu.cn/ubuntu-ports/ jammy main restricted universe multiverse

  3. # deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ jammy main restricted universe multiverse

  4. deb https://mirrors.ustc.edu.cn/ubuntu-ports/ jammy-updates main restricted universe multiverse

  5. # deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ jammy-updates main restricted universe multiverse

  6. deb https://mirrors.ustc.edu.cn/ubuntu-ports/ jammy-backports main restricted universe multiverse

  7. # deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ jammy-backports main restricted universe multiverse

  8. deb https://mirrors.ustc.edu.cn/ubuntu-ports/ jammy-security main restricted universe multiverse

  9. # deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ jammy-security main restricted universe multiverse



  10. # 预发布软件源,不建议启用

  11. # deb https://mirrors.ustc.edu.cn/ubuntu-ports/ jammy-proposed main restricted universe multiverse

  12. # deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ jammy-proposed main restricted universe multiverse
复制代码

#ubuntu  20.04 focal
  1. # 默认注释了源码仓库,如有需要可自行取消注释

  2. deb https://mirrors.ustc.edu.cn/ubuntu-ports/ focal main restricted universe multiverse

  3. # deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ focal main main restricted universe multiverse

  4. deb https://mirrors.ustc.edu.cn/ubuntu-ports/ focal-updates main restricted universe multiverse

  5. # deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ focal-updates main restricted universe multiverse

  6. deb https://mirrors.ustc.edu.cn/ubuntu-ports/ focal-backports main restricted universe multiverse

  7. # deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ focal-backports main restricted universe multiverse

  8. deb https://mirrors.ustc.edu.cn/ubuntu-ports/ focal-security main restricted universe multiverse

  9. # deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ focal-security main restricted universe multiverse
复制代码

# Ubuntu 18.04 bionic

  1. deb https://mirrors.ustc.edu.cn/ubuntu-ports/ bionic main restricted universe multiverse

  2. # deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ bionic main main restricted universe multiverse

  3. deb https://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-updates main restricted universe multiverse

  4. # deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-updates main restricted universe multiverse

  5. deb https://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-backports main restricted universe multiverse

  6. # deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-backports main restricted universe multiverse

  7. deb https://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-security main restricted universe multiverse

  8. # deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-security main restricted universe multiverse
复制代码


# debian  11 (bullseye)
  1. deb https://mirrors.ustc.edu.cn/debian/ bullseye main contrib non-free

  2. #deb-src https://mirrors.ustc.edu.cn/debian/ bullseye main contrib non-free



  3. deb https://mirrors.ustc.edu.cn/debian/ bullseye-updates main contrib non-free

  4. #deb-src https://mirrors.ustc.edu.cn/debian/ bullseye-updates main contrib non-free



  5. deb https://mirrors.ustc.edu.cn/debian/ bullseye-backports main contrib non-free

  6. #deb-src https://mirrors.ustc.edu.cn/debian/ bullseye-backports main contrib non-free



  7. deb https://mirrors.ustc.edu.cn/debian-security/ bullseye-security main contrib non-free

  8. #deb-src https://mirrors.ustc.edu.cn/debian-security/ bullseye-security main contrib non-free
复制代码






69

主题

350

回帖

1649

积分

个人商家

积分
1649
发表于 2023-5-23 14:34:54 | 显示全部楼层
沙发围观
回复

使用道具 举报

4

主题

32

回帖

143

积分

注册会员

积分
143
发表于 2023-5-26 22:20:49 | 显示全部楼层
自动脚本我要下载下来。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|垃圾佬点拓扑 ( 蜀ICP备14007565号-4|川公网安备 51172202000143号 )

GMT+8, 2025-4-3 22:48 , Processed in 0.251299 second(s), 20 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表