If you have ever peeked into the “sources.list” file located at the “/etc/apt/” folder, you will know that it contains the repository of all the packages available to your machine. Additionally, if you want to add PPA manually, you have to open this file and add the PPA to the end of the list. What if, on a fresh install of Ubuntu, you discover that your “sources.list” is empty? Or you need to change the whole repository to one that is specific to your country? How can you generate a new sources list without any technical skill?
The Ubuntu Sources List Generator is one great tool that you can use to generate source list for your Ubuntu.
1. Go to the Ubuntu Sources List Generator site.
2. Select the Country where you want to download the repository from.
3. Select your Ubuntu release.
5. In addition to the main sources, the Generator also include popular PPAs like Cairo Composite Manager, Cortina Wallpaper changer, GIMP, Google Chrome, Virtualbox, Steam, Spotify etc. that you can include in your sources list. Simply check the box beside the PPA.
7. On the next page, you should see three big boxes. The first box at the top contains the sources list that you have selected and you will need to copy/paste them into your sources.list file. In your terminal,
gksu gedit /etc/apt/sources.list |
8. If you have added third party software’s PPA, it will show you the PPA key that you need to add to your system. Run the commands in your terminal, line by line.
To complete the process, you need to update and upgrade your system:
sudo apt-get update && sudo apt-get upgrade |
No comments:
Post a Comment