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
Copy file name to clipboardExpand all lines: README.md
+36-2Lines changed: 36 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,40 @@ For newer versions of Visual Studio we recommend to use MPIR library instead whi
29
29
2. CMake will generate sln file in ./build. Open it and build the library.
30
30
31
31
### Linux
32
-
1. Install GMP with the package manager. Also install all the necessary deveklopment tools (gcc, make or build-essential package on Debian).
32
+
1. Install GMP with the package manager. Also install all the necessary development tools (gcc, make or build-essential package on Debian).
33
33
2. Run `cmake -G "Unix Makefiles" -B./build -H./`.
34
-
3.`cd build && make && make install`.
34
+
3.`cd build && make && make install`.
35
+
36
+
## Building .deb and .rpm packages
37
+
After invoking cmake, cd to build folder and generate them with `cpack -G "DEB"` and `cpack -G "RPM"`.
38
+
You can then use `gdebi` to do a local install of .deb with automatic dependency resolution or `yum localinstall` on rpm distros. For dnf it's just `dnf install <name>.rpm`.
39
+
40
+
## Hosted Linux repositories
41
+
DEB and RPM repositories are maintained with best effort.
0 commit comments