mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Created CentOS6 (markdown)
14
CentOS6.md
Normal file
14
CentOS6.md
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# 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
|
||||||
|
|
||||||
|
pushd "$(mktemp -d)"
|
||||||
|
# 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
|
||||||
|
popd
|
||||||
|
cabal install shellcheck
|
||||||
|
cp .cabal/bin/shellcheck /usr/local/bin # portable to other el6 systems without Haskell
|
||||||
|
|
Reference in New Issue
Block a user