From 07585b9f734c3841b363c8fc78727051faec302a Mon Sep 17 00:00:00 2001 From: Mingye Wang Date: Sun, 4 Oct 2015 01:56:41 -0400 Subject: [PATCH] Updated CentOS6 (markdown) --- CentOS6.md => More-Installation-Guides.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) rename CentOS6.md => More-Installation-Guides.md (73%) diff --git a/CentOS6.md b/More-Installation-Guides.md similarity index 73% rename from CentOS6.md rename to More-Installation-Guides.md index d58d21b..fa4bfe2 100644 --- a/CentOS6.md +++ b/More-Installation-Guides.md @@ -1,4 +1,4 @@ -## Installing ShellCheck on CentOS 6 +## Installing ShellCheck on CentOS 6 / RHEL6 Here are [contributed instructions](https://github.com/koalaman/shellcheck/issues/427) for installing ShellCheck on CentOS 6: @@ -6,12 +6,14 @@ Here are [contributed instructions](https://github.com/koalaman/shellcheck/issue # 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 +sudo ln -s 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 + +# do the normal cabal thing cabal install shellcheck -cp .cabal/bin/shellcheck /usr/local/bin # portable to other el6 systems without haskell +cp .cabal/bin/shellcheck /usr/local/bin ``` \ No newline at end of file