software installation - How do I install the latest version of Git with apt? - Ask Ubuntu


i read security flaw in git, fixed in version 2.2.1. have git 2.1.0 on system (ubuntu 14.10), , tried reinstall apt. however, apt told me have latest version.

the git website not have prebuilt versions linux. can install package managers. without building source, how install latest version of git?

use ppa maintainers of git on ubuntu:

sudo apt-add-repository ppa:git-core/ppa sudo apt-get update sudo apt-get install git 

if don't know ppas are, first read what ppas , how use them?

if receive error add-apt-repository command not found may need add python-software-properties package or software-properties-common depending on ubuntu version.

ubuntu 14.04

sudo apt-get install software-properties-common 

ubuntu 13.10 or earlier

sudo apt-get install python-software-properties 

Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User