-
-
Notifications
You must be signed in to change notification settings - Fork 19
Adding custom repositories
Alright, let's assume you just installed Ataraxia GNU/Linux, and you want to install a piece of software. But, it doesn't happen to be in the Ataraxia GNU/Linux repositories. You're probably wondering how to get a repository that has something you need or want. But, you don't know how to add a repository. So, here is a guide on how to add custom repositories on Ataraxia GNU/Linux.
Best way to get custom repositories, is cloning the repository into a specific folder under /usr/ports. Run the following command to clone the repository via git:
git clone [repository URL] /usr/ports/[repository name]
Replace the [repository URL] with the URL of the repository you wish to clone, and [repository name] with the name of the repository, and replace spaces with dashes.
To add a custom repository, edit /etc/tsukuri/make.conf
.
nano /etc/tsukuri/make.conf
Scroll down to "repos="/usr/ports/packages" and add your repository by adding a space, then type the path of the repository you just cloned earlier, like this:
repos="/usr/ports/packages /usr/ports/[repository name]"
Of course, replace [repository name] with the name of the repository. Write and quit.
Congrats! You just added a custom repository! Go ahead and try emerging a package from the custom repository!