Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-24-2013, 10:03 PM   #1
LQ Newbie
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled
Compile GIT from source on cPanel server (packages problem)

I wish to install GIT on my cPanel/WHM server, but according to this discussion, installing it through yum breaks the server. So generally people advise to compile it from source.

Being a novice Linux user, I was hoping someone could explain a few things. As I understand, Git depends on certain perl packages which are cPanel-specific. Installing it with a package-manager breaks those.

I have a dedicated production machine with root access. I wish to use git with one (power) user (which is still me), so I do not need it installed for all users.

How do I compile it from source without messing with cPanel's packages?
Does limiting it to one user alone make any difference?

I am really not (yet) familiar how package managers work, so I would appreciate links to "XYZ for dummies" to make sure I at least know what I am doing.

I am using CentOS 5.8.

Thank you a million!
Old 01-24-2013, 11:20 PM   #2
LQ Newbie
Registered: Jan 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
After reading through the INSTALL and checking the server for dependencies (zlib, curl, openssl, etc.) I figured git has everything needed to compile. Which basically means that not other stuff needed to be installed?

Anyways, I did ./configure, make, make install and everything went through OK and git works as it should.

I still don't quite understand which packages, how and why would it break, so if anyone can enlighten me... please do!

I need to find a drawing of this stuff somewhere...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Debian Wheezy Local Git Server With Git Lite Workflow LXer Syndicated Linux News 0 01-20-2013 02:30 PM
Cpanel/WHM Died at /usr/local/cpanel/Cpanel/ line 92. liang3391 Linux - Software 1 06-22-2009 03:02 PM
inconsistency issue of git-clone ***/git/mesa/drm with the existing kernel source centguy Linux - Desktop 2 10-08-2008 11:36 PM
problem with cpanel/whm server Nazzy Linux - Server 1 07-10-2008 04:25 AM
What packages do I need to compile source? glenn69 Debian 4 10-14-2004 07:42 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration