Rootmanual:Repository
Hoppa till navigering
Hoppa till sök
Den utskrivbara versionen stöds inte längre och kanske innehåller renderingsfel. Uppdatera din webbläsares bokmärken och använd standardutskriftsfunktionen istället.
Adding packages to the repository
For deb-based systems
- Copy the .deb package file to
/root/
on repomaster. - Run:
- For Debian:
reprepro includedeb -Vb /srv/repos/debian OS-RELEASE DEB-FILE
, where OS-RELEASE is the name of the release, e.gbullseye
for Debian 12. - For Ubuntu:
reprepro includedeb -Vb /srv/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