Add more information about RPMs to readme.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5d28b1f4ef
commit
1058903def
|
@ -109,6 +109,8 @@ If `nlohmann-json-dev` can not be found, try `nlohmann-json3-dev`.
|
||||||
|
|
||||||
===== Install dependencies in openSUSE
|
===== Install dependencies in openSUSE
|
||||||
|
|
||||||
|
Tested on openSUSE Leap 15.3.
|
||||||
|
|
||||||
[source,shell]
|
[source,shell]
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
sudo zypper install cmake gcc10-c++ rpm-build \
|
sudo zypper install cmake gcc10-c++ rpm-build \
|
||||||
|
@ -148,7 +150,10 @@ To install, run `sudo cmake --install build`. To run the tests, run `ctest
|
||||||
[TIP]
|
[TIP]
|
||||||
If you are using Debian or Ubuntu, or a distribution that is derived from these,
|
If you are using Debian or Ubuntu, or a distribution that is derived from these,
|
||||||
you can run `cpack -G DEB` in the build directory to generate a .deb-file. You
|
you can run `cpack -G DEB` in the build directory to generate a .deb-file. You
|
||||||
can then install it with `apt install ./epubgrep-*.deb`.
|
can then install it with `+++apt install ./epubgrep-*.deb+++`.
|
||||||
|
If you are using a distribution that uses RPM packages, like openSUSE or Fedora,
|
||||||
|
you can generate a package with `cpack -G RPM` and install it with `+++zypper
|
||||||
|
install ./epubgrep-*.rpm+++` or `+++dnf install ./epubgrep-*.rpm+++`.
|
||||||
|
|
||||||
.CMake options:
|
.CMake options:
|
||||||
* `-DCMAKE_BUILD_TYPE=Debug` for a debug build.
|
* `-DCMAKE_BUILD_TYPE=Debug` for a debug build.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user