Modify the Raspbian software source to speed up software downloads

Source: Internet
Author: User
Tags raspi

Materials:

    • Raspberry Pi (already connected to the power supply and inserted SD card to write the operating system)
    • 1 laptop computers
    • PuTTY
Step 1: Login to the Raspbian command line interface Step 2: Modify the Raspbian software source

The software source is the Linux system Free application installs the storehouse, many application software will this collects in this storehouse. Installing directly from software in the software source eliminates the need for self-compiling, which can save time for slow-speed Raspberry Pi.
The software source configuration file is /etc/apt/sources.list , it writes the source address of the software you use (Note that not the software installation package in this folder, but only the description of the server, all the software installation to obtain or need to network).
Rasbpian maintains an official software source, which is the address that is written in the configuration file by default, but the official software source is abroad, and the download speed is slow. Some universities and businesses will download to their servers for faster download speeds because of the need to download software extensively or for public benefit purposes. The Raspbian software sources in China are:
China University of Science and Technology http://mirrors.ustc.edu.cn/raspbian/raspbian/
Tsinghua University http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/
Zhejiang University http://mirrors.zju.edu.cn/raspbian/raspbian/
List of officially certified Raspbian software sources
If you need to modify the software source, edit the configuration file sudo nano /etc/apt/sources.list directly
For example, using the software source of China University of Science and technology, can be modified to:

deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main contrib non-free  #deb-srchttp://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main contrib non-free
Step 3: Modify the Raspberry Pi software source

In addition to the Raspbian software source, the Raspberry Pi also has a dedicated software source, the configuration file is located /etc/apt/sources.list.d/raspi.list . This software source has fewer mirrors.

    • Directly edit the configuration file sudo nano /etc/apt/sources.list.d/raspi.list
      For example, using the software source of China University of Science and technology, can be modified to:
deb http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian/ wheezy main  #deb-src http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian/ wheezy main

Source: Play the Raspberry Pi
Links: http://shumeipi.cn/accelerate-software-download-speed/

Modify the Raspbian software source to speed up software downloads

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.