Last active
February 27, 2018 10:05
-
-
Save coder4web/de010f639d0b51f8f7c0 to your computer and use it in GitHub Desktop.
How To Install Mercurial SCM on Amazon AMI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.mercurial-scm.org/ | |
# https://www.mercurial-scm.org/wiki/UnixInstall#System-wide_installation | |
# rooted version :) | |
sudo -i | |
yum list mercurial | |
#Loaded plugins: priorities, update-motd, upgrade-helper | |
#Error: No matching Packages to list | |
yum groupinstall "Development Tools" | |
cd /usr/local/src | |
wget http://mercurial.selenic.com/release/mercurial-3.7.1.tar.gz | |
tar xf mercurial-3.7.1.tar.gz | |
cd mercurial-3.7.1 | |
make install | |
/usr/local/bin/hg --version | |
#bash: hg: command not found | |
echo 'export PATH=${PATH}:/usr/local/bin' > /etc/profile.d/custom-path.sh | |
logout | |
#login again | |
hg --version | |
#Mercurial Distributed SCM (version 3.7.1) | |
hg debuginstall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment