ubuntu replace Ali source

  Backup original source:   

  1. cd /etc/apt
  2. sudo mv sources.list sources.list_bak
  3. sudo we sources.list  

  Visit: https: //opsx.alibaba.com/mirror

  The correspondence information copy version Installation ubuntu

    PS: Check system version command lsb_release -a

  Save and sudo apt-get update, the update is successful

  

 

  Another way to add the source: ppa

  add-apt-repository

add-apt-repository ppa:<ppa_name>
For example: Install the latest Audacious ( Ubuntu under)
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install audacious
From Baidu Encyclopedia
In this way the source added, is generally not added to the official list of the system, or test versions of various software.
 

  

 

Guess you like

Origin www.cnblogs.com/simple-point/p/10941752.html