Skip to content

Instantly share code, notes, and snippets.

@LeeiFrankJaw
Last active February 8, 2018 08:31
Show Gist options
  • Save LeeiFrankJaw/7302f9ac03ab290fc7a2bd986ec7bbcf to your computer and use it in GitHub Desktop.
Save LeeiFrankJaw/7302f9ac03ab290fc7a2bd986ec7bbcf to your computer and use it in GitHub Desktop.
Install MuPDF from source code on Ubuntu 16.04.03 LTS
git clone git://git.ghostscript.com/mupdf.git
cd mupdf/
git checkout 1.11
git submodule update --init --recursive
sudo apt install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev xorg-dev
make
sudo make install
sudo cp docs/logo/mupdf.png docs/logo/mupdf.xpm /usr/local/share/icons/hicolor/48x48/apps/
sudo cp docs/logo/mupdf-logo.svg /usr/local/share/icons/hicolor/scalable/apps/mupdf.svg
sudo mkdir -p /usr/local/share/icons/hicolor/1280x1280/apps/
sudo cp docs/logo/mupdf-simplified-logo.png /usr/local/share/icons/hicolor/1280x1280/apps/mupdf.png
wget -P ~/.local/share/applications https://github.com/LeeiFrankJaw/ConfRepo/raw/master/applications/mupdf.desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment