Last active
October 27, 2019 02:40
-
-
Save tautomer/0478e9da1c3c8d053e45b3ede0e8096b to your computer and use it in GitHub Desktop.
Install latest pandoc with the official deb on debain family distros. The one installed via apt is very old.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
json="https://api.github.com/repos/jgm/pandoc/releases/latest" | |
dl_url=$(curl -s $json | grep deb latest | tail -n 1 | cut -d'"' -f4) | |
wget $dl_url | |
deb=$(basename $dl_url) | |
sudo dpkg -i $deb | |
rm -f $deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment