From ce6b0184ea182e34a6eae5c64c7d29348eb11f79 Mon Sep 17 00:00:00 2001 From: koalaman Date: Wed, 19 Aug 2015 19:31:38 -0700 Subject: [PATCH] Created CentOS6 (markdown) --- CentOS6.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 CentOS6.md diff --git a/CentOS6.md b/CentOS6.md new file mode 100644 index 0000000..86263f3 --- /dev/null +++ b/CentOS6.md @@ -0,0 +1,17 @@ +## Installing ShellCheck on CentOS 6 + +Here are [contributed instructions](https://github.com/koalaman/shellcheck/issues/427) for installing ShellCheck on CentOS 6: + +```bash +# 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 + +# 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 +tar xvzf haskell-platform-7.10.2-a-unknown-linux-deb7.tar.gz +./install-haskell-platform.sh +cabal install shellcheck +cp .cabal/bin/shellcheck /usr/local/bin # portable to other el6 systems without haskell +``` \ No newline at end of file