jum83

Registered
Aug 4, 2014
3
0
1
cPanel Access Level
Website Owner
Hello,

I wish to transfer my Development server to a cpanel server. I have Git installed in my Dev server and would like to install that in cpanel server too. Git is very necessary for us to work and we depend on Git to push to our Production server. So is it possible to install git on cpanel server? I have read that installing Git requires some perl modules which can break cpanel. Is that true?

I have also read that beginning from version 11.36, cPanel comes with Git. Does this have all the complete functionality of Git?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
Hello,

I wish to transfer my Development server to a cpanel server. I have Git installed in my Dev server and would like to install that in cpanel server too. Git is very necessary for us to work and we depend on Git to push to our Production server. So is it possible to install git on cpanel server? I have read that installing Git requires some perl modules which can break cpanel. Is that true?

I have also read that beginning from version 11.36, cPanel comes with Git. Does this have all the complete functionality of Git?
The git shipped with cPanel & WHM is installed to /usr/local/cpanel/3rdparty/bin. The binary is not in any of the system paths. If you wish to make this version of git available to all users you'll need to create a symlink so it's in one of the system paths.

For example:
Code:
# ln -s /usr/local/cpanel/3rdparty/bin/git /usr/local/bin/git
Could you give more details on what you consider to be 'complete functionality of Git'?
 

jum83

Registered
Aug 4, 2014
3
0
1
cPanel Access Level
Website Owner
By complete functionality I mean all those functions that can be done using git which is installed independently. I want to make sure that installing git as a cpanel module does not impair the cpanel functionality as well as the functionality of git. Will I be able to perform all those actions which I can perform in case of git which is installed as on a non-cpanel server?
 

nivekau

Well-Known Member
Jul 22, 2011
51
4
58
Australia
cPanel Access Level
Root Administrator
Hi guys,
Can I install Git via RPM in WHM?
If so, which one? There's git, git-all, git-cpanel, git-cpanel-all, + about 10 more!

I'm confused :)

BTW, I am also running Cloud Linux and CageFS

Thanks,
Kevin
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
/usr/local/cpanel/3rdparty/bin/git
Thanks Michael, but Git does not appear to be installled
/usr/local/cpanel/3rdpaty/bin/git does not exist on my server.
The full path is:

/usr/local/cpanel/3rdparty/bin/git

I've modified that post to include the "r".

Thank you.