Ubuntu Change Source Address List

Source: Internet
Author: User

1. Backup Source list

sudo CP /etc/apt/sources.list/etc/apt/sources.list.backup

2. Open the Source list

sudo gedit/etc/apt/sources.list

3. Clear the original content, add a new source address

It is recommended to use the source of Tsinghua University open source software image station

16.04

# Default Annotated source image to improve apt update speed, if necessary, can self-uncomment deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial main restricted universe multiverse# DEB-SRC https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial main restricted universe multiverseDeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial-updates main restricted universe multiverse# DEB-SRC https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial-updates main restricted universe multiverseDeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial-backports main restricted universe multiverse# DEB-SRC https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial-backports main restricted universe multiverseDeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial-security main restricted universe multiverse# DEB-SRC https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial-security main restricted universe multiverse# Pre-release software source, not recommended to enable # Deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial-proposed main restricted universe multiverse# DEB-SRC https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial-proposed main restricted universe multiverse

14.04

# Default Annotated source image to improve apt update speed, if necessary, can self-uncomment deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/trusty main restricted universe multiverse# DEB-SRC https://mirrors.tuna.tsinghua.edu.cn/ubuntu/trusty main restricted universe multiverseDeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/trusty-updates main restricted universe multiverse# DEB-SRC https://mirrors.tuna.tsinghua.edu.cn/ubuntu/trusty-updates main restricted universe multiverseDeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/trusty-backports main restricted universe multiverse# DEB-SRC https://mirrors.tuna.tsinghua.edu.cn/ubuntu/trusty-backports main restricted universe multiverseDeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/trusty-security main restricted universe multiverse# DEB-SRC https://mirrors.tuna.tsinghua.edu.cn/ubuntu/trusty-security main restricted universe multiverse# Pre-release software source, not recommended to enable # Deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/trusty-proposed main restricted universe multiverse# DEB-SRC https://mirrors.tuna.tsinghua.edu.cn/ubuntu/trusty-proposed main restricted universe multiverse

Ubuntu Change Source Address List

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.