Commit 4f49a6cd authored by Jason Rhinelander's avatar Jason Rhinelander

Update instructions for proper debian packaging

parent a3405a17
......@@ -9,11 +9,21 @@ supporting the C++11 standard (recent versions of clang and g++ will certainly
work).
Compiling also *optionally* requires `doxygen` and `dot` (from the `graphviz`
package) for generating API HTML documentation (the documentation won't be
generated if . Additionally, if the system has an installation of the Eigen3
and boost headers they will be used; if not, internal copies of the required
headers will be used. If you want to generate the Windows installer, you'll
also need the `nsis` package to be installed.
package) for generating API HTML documentation--the documentation won't be
generated if the packages are not installed. Additionally, if the system has
an installation of the Eigen3 and boost headers they will be used; if not,
internal copies of the required headers will be used. If you want to generate
the Windows installer, you'll also need the `nsis` package to be installed.
## Compiling on a debian-derived system
The easiest way to compile and generate debs on a Debian-derived system is to
use the "debian" branch of the repository, which contains the debian packaging
files. From this branch you can use:
dpkg-buildpackage -uc -us -b
to generate the .debs.
## Linux, OS X, and similar
......@@ -22,27 +32,12 @@ To compile on a unix-like system, from the fracdist directory do:
mkdir build
cd build
cmake ..
make -j4
make
You can install directly to the system (usually under /usr/local) using:
make install
or alternatively build a .deb and .rpm package to install using one of:
cpack -G DEB
cpack -G RPM
followed by an appropriate package command to install the package (for example,
on Debian/Ubuntu: dpkg -i fracdist-x.y.z-amd64.deb).
You can also use either of:
make package
cpack
to build both the .deb and .rpm.
## Windows executables (built on a Linux system using mingw)
Requirements:
......
......@@ -18,11 +18,30 @@ test statistic values from p-values. Running each program without arguments
gives usage information for the programs.
The latest version of the source code of this library is available at
https://github.com/jagerman/fracdist. Binary releases are available at
https://github.com/jagerman/fracdist/releases.
https://github.com/jagerman/fracdist.
## Installation
### Debian, Ubuntu, and other Debian-derived Linux distributions
Binary releases are available at https://github.com/jagerman/fracdist/releases.
An apt repository containing the latest release for Debian-derived
distributions is available by adding one of the following lines to
/etc/apt/sources.list:
deb https://imaginary.ca/debian sid main
A generated version of the library API (which may be out of date) is available
at https://imaginary.ca/fracdist-api/.
deb https://imaginary.ca/debian jessie main
You may need to first install the apt-transport-https package; the repository
is signed: the key can be installed to authenticate packages using the command:
curl -s https://imaginary.ca/public.gpg | sudo apt-key add -
### Other operating systems
Binary releases for other systems (Windows, OS X) are available from
https://github.com/jagerman/fracdist/releases.
## Requirements
......@@ -61,4 +80,4 @@ See [CHANGELOG.md](CHANGELOG.md).
## Copyright
© 2014 Jason Rhinelander <jason@imaginary.ca>
© 2014-2015 Jason Rhinelander <jason@imaginary.ca>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment