Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've been banging my head against the proverbial wall for the past couple of days trying to figure out how to install git on an HP-UX server to which i do not have root access. I've realized that this is not going to be a project of minimal effort, and I've decided to look for another vcs that I can either compile, or run from java on HP-UX without having to make significant changes to the source code. since I don't have root access, I can't use swinstall, so that leaves out depot packages, so I must compile or use java. can anyone point me in the right direction?

share|improve this question

2 Answers 2

Maybe I don't get it... but couldn't you just compile git from source with --prefix specified to a directory you have access to and throw in the path to "git/install/bin" into a .bashrc file or something of the sort?

See http://joemaller.com/908/how-to-install-git-on-a-shared-host/ for a mini tutorial... unless your issues involve something other than needing write access to system directories?

share|improve this answer

I haven't worked with Git before, but I've had great success with Mercurial for a Distributed VCS. It's written in Python instead of C. I was able to download Mercurial 1.7.1, extract it, and run make local to build it in-place. I then added the directory to my path and am able to run it with issue.

share|improve this answer
this is good. i'll try it in the next couple of days, if it works i'll accept. thx! –  Chris Drappier Apr 11 '11 at 20:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.