Git repositories module- how to configure?

I have the Git Repos module set up successfully, but when I check the box under Features and Plugins and click save, I get an error: “Failed to save enabled features : The plugin Git repositories cannot be used : The Git administration command git is not installed”

Under Configure > Full path to git command, the default entry is “git”. This apparently needs to be changed, but I’m unclear as to what should be entered in this field. A Google search yielded nothing on this. Can anyone help?



i recommend you run “updatedb”. After run “locate git”. It should tell you where the binary is located at.


Also, if git’s not installed, you may just need to install that package. You can do that with “apt-get install git” or “yum install git”, depending on your distro.


Thanks, below is the output from “locate git”. I also ran “which git” which shows that it’s not installed.
I’m running Centos 5.8. I’ve run “yum install git” which appears to be successful, but I must be missing something (I’m new to linux). That output is also below.

locate git
which git
which: no git in (/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin)

yum install git
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base:
  • epel:
  • extras:
  • updates:
    Setting up Install Process
    Resolving Dependencies
    –> Running transaction check
    —> Package git.x86_64 0: set to be updated
    –> Processing Dependency: perl-Git = for package: git
    –> Processing Dependency: perl(Error) for package: git
    –> Processing Dependency: perl(Git) for package: git
    –> Running transaction check
    —> Package perl-Error.noarch 1:0.17010-1.el5 set to be updated
    —> Package perl-Git.x86_64 0: set to be updated
    –> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository Size

git x86_64 epel 4.5 M
Installing for dependencies:
perl-Error noarch 1:0.17010-1.el5 epel 26 k
perl-Git x86_64 epel 28 k

Transaction Summary

Install 3 Package(s)
Upgrade 0 Package(s)

Total download size: 4.6 M
Is this ok [y/N]: Exiting on user Command

What am I doing wrong?


Thanks again for you help guys, I was able to install git successfully using a different console app.

Thanks Andrechek! I tried everything you suggested until it finally worked. It’s strange that I couldn’t use the link to the GZ file directly in the virtualmin ftp or http field, but had to click & download it, then upload it. It’s always nice when a 5yo comment can still salvage your day! :wink: