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.
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
I was getting error of the
sudo apt-get install git-core: command not found
After adding repository
sudo add-apt-repository ppa:pdoes/ppa
then run this command which was still giving me same result.
sudo apt-get install git-core
But this command done all of things for me
sudo apt-get install git-all
© 2022 - 2024 — McMap. All rights reserved.
sudo apt-get install git-all
or even simplysudo apt-get install git
? – Moultwhereis git
gives something? usingdpkg -L git-core
can you find executable? – Perfectlysudo apt-get install git-core
again – Perfectly