Rootmanual:Repository
Hoppa till navigering
Hoppa till sök
Adding packages to the repository
For deb-based systems
- Copy the .deb package file to
/root/
on repomaster. - Run:
- For Debian:
reprepro includedeb -Vb /src/repos/debian OS-RELEASE DEB-FILE
, where OS-RELEASE is the name of the release, e.gwheezy
for Debian 7. - For Ubuntu:
reprepro includedeb -Vb /src/repos/ubuntu OS-RELEASE DEB-FILE
, where OS-RELEASE is the name of the release, e.gtrusty
for Ubuntu 14.04.
- For Debian:
- Enter the GPG password to sign the package.
- If there were no errors, the package is now available in the repository. To see the new package, update the list (e.g apt-get update) and the new package should be available.
For the Red Hat family
- Place your RPM in:
- Fedora:
/srv/repos/fedora/$os_version/$arch/
- RHEL and derivatives (Rocky, CentOS, Alma, etc.):
/srv/repos/el/$os_version/$arch/
- Fedora:
- Run
/usr/local/bin/lysator_update_yum_repos_cron