From 2d81e56c6e43ecf469ee25c8f3f7bc4ab98a7cdc Mon Sep 17 00:00:00 2001 From: Shuhao Wu Date: Thu, 23 Nov 2017 23:52:28 -0500 Subject: [PATCH] Updated readme with Ubuntu dependencies --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 30b4612a..2020fa1f 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,14 @@ dnf groups install "C Development Tools and Libraries" dnf install cmake libglade2-devel texlive-scheme-basic texlive-dvipng glibmm24-devel gtk2-devel gtk+-devel boost boost-devel poppler-glib-devel ```` +For Ubuntu/Debian: + +````bash +sudo apt-get install cmake libboost-all-dev libcppunit-dev dvipng texlive +liblcms2-dev libopenjpeg-dev libjpeg-dev fontconfig librsvg2-dev libglade2-dev +libpoppler-dev libpoppler-cpp-dev libpoppler-glib-dev libpoppler-private-dev +```` + Basic steps are: ````bash git clone http://github.com/xournalpp/xournalpp.git @@ -50,8 +58,11 @@ cmake .. make ```` +On Ubuntu 16.04, you may need to configure cmake with `-DBUILD_POPPLER=ON` due +to #234. + If you'd like to enable mathtex support you should add `-DENABLE_MATHTEX=ON` to cmake command or use `cmake-gui ..` -to see graphically all available options. +to see graphically all available options. However, this should already be enabled by default. The binary executable will be in `build/src/` subdirectory.