Modify the apt source to tuna under ubuntu

Method one: gnome

System -> Software and Updates -> Modification

Method 2: Command line mode

There are a variety of domestic mirrors, you can choose according to your needs, the following is the Tsinghua mirror

 

 

You can complete the modification of apt from the USA source to the tuna source

cd /etc/apt
sudo cp sources.list sources.list.bak 
echo '' > sources.list
vim sources.list
i
粘贴上一步选中的高亮部分
:wq!

sudo apt-get update

 

Guess you like

Origin blog.csdn.net/qq_924485343/article/details/114893387
Recommended