Skip to content
Hugo Monteiro edited this page Mar 11, 2016 · 12 revisions

Deps

yum groupinstall "Development Tools" -y
yum install gmp-devel # may need epel
sudo ln -s /usr/lib64/libgmp.so.3  /usr/lib64/libgmp.so.10

Get Haskell and build it

pushd "$(mktemp -d)"
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
./install-haskell-platform.sh
popd

Install shellcheck

cabal install shellcheck

Place it in a global directory

cp .cabal/bin/shellcheck /usr/local/bin # portable to other el6 systems without Haskell

ShellCheck

Each individual ShellCheck warning has its own wiki page like SC1000. Use GitHub Wiki's "Pages" feature above to find a specific one, or see Checks.

Clone this wiki locally