Updated CentOS6 (markdown)

Hugo Monteiro
2016-03-11 19:02:06 +00:00
parent f616374259
commit cccd89c2de

@@ -1,14 +1,18 @@
# Deps # Deps
yum groupinstall "Development Tools" -y yum groupinstall "Development Tools" -y
yum install gmp-devel # may need epel yum install gmp-devel # may need epel
sudo ln -s /usr/lib64/libgmp.so.3 /usr/lib64/libgmp.so.10 sudo ln -s /usr/lib64/libgmp.so.3 /usr/lib64/libgmp.so.10
pushd "$(mktemp -d)" # Get Haskell and build it
pushd "$(mktemp -d)"
#### From https://www.haskell.org/platform/linux.html#linux-generic #### From https://www.haskell.org/platform/linux.html#linux-generic
wget https://haskell.org/platform/download/7.10.2/haskell-platform-7.10.2-a-unknown-linux-deb7.tar.gz wget https://haskell.org/platform/download/7.10.2/haskell-platform-7.10.2-a-unknown-linux-deb7.tar.gz
tar xvzf haskell-platform-7.10.2-a-unknown-linux-deb7.tar.gz tar xvzf haskell-platform-7.10.2-a-unknown-linux-deb7.tar.gz
./install-haskell-platform.sh ./install-haskell-platform.sh
popd popd
cabal install shellcheck # Install shellcheck
cp .cabal/bin/shellcheck /usr/local/bin # portable to other el6 systems without Haskell cabal install shellcheck
# Place it in a global directory
cp .cabal/bin/shellcheck /usr/local/bin # portable to other el6 systems without Haskell