How Do I Update the Source List in Kali Linux?
Contents

How do I edit a source list in Kali Linux?

Update your packages list: $ sudo apt update Get:1 kali-rolling InRelease [30.5 kB] Get:2 /kali kali-rolling/main Sources [12.8 MB] Get:3.

How do I update the source list in Linux?

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.
David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest