How do I update the source list in Linux?

Ngân Lam

New member
How do I update the source list in Linux?
Answer
Append new line of text to current sources.list file
  1. CLI echo “new line of text” | sudo tee -a /etc/apt/sources.list.
  2. GUI (Text Editor) sudo gedit /etc/apt/sources.list.
  3. Paste new line of text on new line at end of current sources. list text file in Text Editor.
  4. Save and close sources.list.
 

Tìm kiếm

Back
Top