Last active
February 22, 2023 14:32
-
-
Save backroot/3898b897a21987a5314051b6818411f3 to your computer and use it in GitHub Desktop.
installing pandoc on CentOS 7
This file contains 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
#!/bin/bash | |
sudo yum -y install epel-release | |
sudo yum -y install haskell-platform --enablerepo=epel | |
cabal update | |
cabal install pandoc --force-reinstall |
sorry, but in my case i can't get the latest version of pandoc when i follow this command. Could you explain how to get the latest version of pandoc?
You can just do:
sudo yum -y install epel-release sudo yum -y install pandoc --enablerepo=epel
A newer version is of interest to me as well! :-) If we're voting :-D
After removing the original epel
(sudo yum remove epel-release.noarch
) and reinstalling it with rpm (sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
), it works!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can just do: