You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Abhiraj Rik edited this page Jun 19, 2023
·
1 revision
Just like the popular package managers.. nemesis-pkg also allows users to set/create your custom package repositories..
Adding a repo
In order to add a repo:-
Open /etc/nemesis-pkg/config.py and look for an array known as REPOS
REPOS= [
["https://source-of-pkglist/repo-database.PKGLIST"# repository url, "repo-database.PKGLIST"# file where database will be written , "repo-name"# name of your repository],
]
this is the repository structure of adding repos.. in order to add a repo. define an array into REPOS and on the first value(url) enter the link to the database, second value(db file) is the file where the database will be written and the third value(repo name) will be the name of your repository
Disabling a repository:
In order to disable a repository open /etc/nemesis-pkg/config.py and look for REPOS.. you can either delete the array or better you can comment it to disable it..
REPOS= [
# ["https://source-of-pkglist/repo-database.PKGLIST" , "repo-database.PKGLIST" # file where database will be written , "repo-name"], -- Disabled Repository
]
Creating a repository:
Every repository on nemesis-pkg has its own structure and here is the sample structure of a repository:-