Repository
From Granular Linux Documentation
Contents |
Package Repository
A repository is an online storage area where all the software packages (along with their source code) of a Linux distribution are stored. In Granular, the Synaptic Package Manager maintains a list of repositories from which it downloads and installs software packages on user's request. Basically, the repositories used by Granular are apt-get based that contain RPM packages and source packages (SRPMs).
Repositories used by Granular
Granular Project now maintains it's own repository. But the other repositories of PCLinuxOS are also available for use with Synaptic.
Repositories enabled by default in Synaptic
In Granular 1.0, the repositories enabled by default in the Synaptic Package Manager are:
- Granular's own repository:
URI: http://www.granularproject.org/content/repo/
Distribution: granular/2008
Section(s): kde main
Note: In the Section(s), you can also add "test" to install those packages that are under testing by Team Granular.
- One of the PCLinuxOS's many repository:
URI: http://spout.ussg.indiana.edu/linux/pclinuxos/pclinuxos/apt/
Distribution: pclinuxos/2007
Section(s): kde main extra nonfree
Enabling more repositories
By default, Synaptic contains a list of many repositories, but as mentioned above, only 2 repositories are enabled by default. You may need to add/enable more repositories due to one of the following reasons:
- The currently enabled repositories do not give you good download speeds
- You suspect that the currently enabled repository is not being updated as frequently as the others
- Some packages aren't available in the currently enabled repository
To enable a repository, follow the steps mentioned below:
- Open Synaptic Package Manager
- Go to Settings > Repositories. Here you'll find that except the first two, all the repositories have been grayed out.
- To enable the desired repository, click on the respective check box.
- Press the OK button.
- On the main Synaptic interface, click the Reload button to finish the whole process.
Note: You can add new repositories in the similar fashion, that is by going to Settings > Repositories, clicking on the New button, entering the values for URI, Distribution and Section(s), and clicking the OK button, and finally clicking on the Reload button on the main interface.