Added installation instructions for openSUSE as discussed in #776. Sorry for the delay. I decided against a solution involving lsb_release, since openSUSE MicroOS, being a minimal OS, ships without it. Hope the edit is OK. --------- Co-authored-by: Christian Schwarz <me@cschwarz.com>
This commit is contained in:
@@ -6,25 +6,50 @@ RPM repositories
|
|||||||
We provide a single RPM repository for all RPM-based Linux distros.
|
We provide a single RPM repository for all RPM-based Linux distros.
|
||||||
The zrepl binary in the repo is the same as the one published to GitHub.
|
The zrepl binary in the repo is the same as the one published to GitHub.
|
||||||
Since Go binaries are statically linked, the RPM should work about everywhere.
|
Since Go binaries are statically linked, the RPM should work about everywhere.
|
||||||
|
|
||||||
The fingerprint of the signing key is ``F6F6 E8EA 6F2F 1462 2878 B5DE 50E3 4417 826E 2CE6``.
|
|
||||||
It is available at `<https://zrepl.cschwarz.com/rpm/rpm-key.asc>`_ .
|
|
||||||
Please open an issue on GitHub if you encounter any issues with the repository.
|
Please open an issue on GitHub if you encounter any issues with the repository.
|
||||||
|
|
||||||
Copy-paste the following snippet into your shell to set up the zrepl repository.
|
The fingerprint of the repo & package signing key is:
|
||||||
Then ``dnf install zrepl`` and make sure to confirm that the signing key matches the one shown above.
|
``F6F6 E8EA 6F2F 1462 2878 B5DE 50E3 4417 826E 2CE6``.
|
||||||
|
It is available at `<https://zrepl.cschwarz.com/rpm/rpm-key.asc>`_ .
|
||||||
::
|
|
||||||
|
|
||||||
cat > /etc/yum.repos.d/zrepl.repo <<EOF
|
|
||||||
[zrepl]
|
|
||||||
name = zrepl
|
|
||||||
baseurl = https://zrepl.cschwarz.com/rpm/repo
|
|
||||||
gpgkey = https://zrepl.cschwarz.com/rpm/rpm-key.asc
|
|
||||||
EOF
|
|
||||||
|
|
||||||
.. NOTE::
|
.. NOTE::
|
||||||
|
|
||||||
Until zrepl reaches 1.0, the repository will be updated to the latest zrepl release immediately.
|
Until zrepl reaches 1.0, the repository will be updated to the latest zrepl release immediately.
|
||||||
This includes breaking changes between zrepl versions.
|
This includes breaking changes between zrepl versions.
|
||||||
If that bothers you, use the `dnf versionlock plugin <https://dnf-plugins-core.readthedocs.io/en/latest/versionlock.html>`_ to pin the version of zrepl on your system.
|
If that bothers you, use the `dnf versionlock plugin <https://dnf-plugins-core.readthedocs.io/en/latest/versionlock.html>`_ or ``zypper addlock zrepl`` to pin the version of zrepl on your system.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Fedora / AlmaLinux / Rocky Linux / RHEL
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
For ``dnf``/``yum``-based distributions, copy-paste the following snippet:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
rpmkeys --import 'https://zrepl.cschwarz.com/rpm/rpm-key.asc'
|
||||||
|
cat > /etc/yum.repos.d/zrepl.repo <<EOF
|
||||||
|
[zrepl]
|
||||||
|
name = zrepl
|
||||||
|
baseurl = https://zrepl.cschwarz.com/rpm/repo
|
||||||
|
gpgkey = https://zrepl.cschwarz.com/rpm/rpm-key.asc
|
||||||
|
repo_gpgcheck = 1
|
||||||
|
EOF
|
||||||
|
dnf install zrepl
|
||||||
|
# Or if you're on an older system:
|
||||||
|
# yum install zrepl
|
||||||
|
|
||||||
|
You will be asked by dnf to verify repository metadata (``repo_gpgcheck``).
|
||||||
|
There is no way to automate that prompt.
|
||||||
|
|
||||||
|
openSUSE
|
||||||
|
^^^^^^^^
|
||||||
|
|
||||||
|
For SUSE-based distributions that use ``zypper``, copy-paste the following snippet:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
rpmkeys --import 'https://zrepl.cschwarz.com/rpm/rpm-key.asc'
|
||||||
|
zypper ar --check --gpgcheck-strict --refresh https://zrepl.cschwarz.com/rpm/repo zrepl
|
||||||
|
zypper install zrepl
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user