I have installed Git using
sudo apt-get install git-core
after that when I try and run git
I get
-bash: git: command not found.
I'm using Ubuntu 10.04 LTS.
Just found in other source:
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
This will install the latest stable git version. The Ubuntu's repository has the oldest one.
I wouldn't install the package from Ubuntu itself, the git version will be 1.7.0.4
I recommend using my PPA as you will get the latest version, as I write this it would 1.7.11.1
To add my Ubuntu git repository to your system
sudo add-apt-repository ppa:pdoes/ppa
And then you can do sudo apt-get install git-core
For more info see my site : Git Packages for Ubuntu
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With