Update software source on Ubuntu

From Geekworm Wiki
Jump to navigation Jump to search

How to update software source on Ubuntu

1. Search & open the Terminal application;

2. Run the following command:

cd /etc/apt/sources.list.d
wget https://gist.githubusercontent.com/h0bbel/4b28ede18d65c3527b11b12fa36aa8d1/raw/314419c944ce401039c7def964a3e06324db1128/sources.list
# Or you can refer to here: https://gist.github.com/h0bbel/4b28ede18d65c3527b11b12fa36aa8d1
# You need to use the different software source to different country. we recommend that you use the aliyu software source if you are in China.

3. Run the following command:

sudo apt update
sudo apt upgrade
#Please reboot if you found the update is failed.
Add your comment
Geekworm Wiki welcomes all comments. If you do not want to be anonymous, register or log in. It is free.