HOW TO:
Type:
sudo apt install git
It will stop and ask you something like this:
After this operation, 33,1 MB of additional disk space will be used. Do you want to continue? [Y/n]
Press ENTER to continue. If all ok it will install fine.
If you get an error:
Unable to fetch some archives, maybe run apt-get update or try with --fix-missing
Solution:
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
Check your version:
git --version
Type:
sudo apt install git
It will stop and ask you something like this:
After this operation, 33,1 MB of additional disk space will be used. Do you want to continue? [Y/n]
Press ENTER to continue. If all ok it will install fine.
If you get an error:
Unable to fetch some archives, maybe run apt-get update or try with --fix-missing
Solution:
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
Check your version:
git --version
No comments:
Post a Comment