Use the Ubuntu Sources List Generator.
sudo -H nautilusin terminal
- Right click and open the file with a text editor (if you click on it, it will open the software sources GUI)
- Simply copy and paste into the
- Exit terminal and you’re done.