-
Notifications
You must be signed in to change notification settings - Fork 1.8k
More Installation Guides
Mingye Wang edited this page Oct 4, 2015
·
9 revisions
Here are contributed instructions for installing ShellCheck on CentOS 6:
# Deps
yum groupinstall "Development Tools" -y
yum install gmp-devel # may need epel
sudo ln -s libgmp.so.3 /usr/lib64/libgmp.so.10
# Get haskell. https://www.haskell.org/platform/linux.html#linux-generic
# Or follow https://wiki.haskell.org/GNU/Linux#RHEL.2C_CentOS.2C_Scientific_Linux_5_and_6_and_Fedora_16_and_17.
pushd "$(mktemp -d)" # prevent tarball from messing whereever you are up
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
# do the normal cabal thing
cabal install shellcheck
cp ~/.cabal/bin/shellcheck /usr/local/bin