Created
November 4, 2014 10:15
-
-
Save orctom/902e9c00e48f0e8d4e7f to your computer and use it in GitHub Desktop.
Install GIT Client on SuSE
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
Install GIT Client on SuSE 11.2 | |
Add repositories: | |
For Git, | |
# zypper addrepo http://download.opensuse.org/repositories/devel:/tools:/scm/SLE_11_SP2/devel:tools:scm.repo | |
For perl | |
# zypper addrepo http://download.opensuse.org/repositories/devel:/languages:/perl/SLE_11/devel:languages:perl.repo | |
if cannot find the repository, try below one. | |
# zypper addrepo http://download.opensuse.org/repositories/devel:/languages:/perl/SLE_11_SP3/devel:languages:perl.repo | |
Install packages | |
# zypper install perl-Error | |
# zypper install git |
将安装文件放到/tmp下
zypper addrepo iso:/?iso=/tmp/SLE-12-Server-DVD-x86_64-CC-Respin-A-DVD1.iso iso
最后的ISO是别名
zypper refresh
zypper install git-core
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Offline Install git on SLES 12 SP2 using SDK ISO
If you do not have direct access to the remote/online SLES zypper repositories, you can add SDK ISO as repository.
Download SLE-12-SP2-SDK-DVD-x86_64-GM-DVD1.iso from https://download.suse.com/Download?buildid=g3e7P21X6Lw~ (It requires sign-up)
Copy & transfer downloaded file to the SLES machine. (here we transfer it to /temp/SLE-12-SP2-SDK-DVD-x86_64-GM-DVD1.iso)
Add ISO as Zypper repository
zypper ar iso:/?iso=/temp/SLE-12-SP2-SDK-DVD-x86_64-GM-DVD1.iso sdk_dvd
install git
zypper install git-core