Migrating to <U20> on Ubuntu 13.10

What is the best way to downgrade git in the 1.7.x series on the all-new Ubuntu 13.10 release?

I am trying to find ppa for this, but I do not see.

+4
source share
3 answers

First install the package gitfrom a version of Ubuntu with Git 1.7 - say, 12.04 LTS (accurate). Either download them manually and install them using dpkg(a simpler option) or (if you also need many other packages from the exact one), add the exact package repositories to /etc/apt/sources.list.d/and install them using apt-get:

echo 'deb http://archive.ubuntu.com/ubuntu precise main restricted universe multiverse' | sudo tee /etc/apt/sources.list.d/precise
sudo apt-get update
sudo apt-get -t precise install git

, Git apt, . Pinning - ( Debian Ubuntu ) - . howto . - /:

sudo apt-mark hold git
+7
  • :

    sudo apt-get remove git-core git-svn git-email
    
  • libcurl3-dev, asciidoc, autoconf xmlto:

    sudo apt-get install libcurl3-dev asciidoc xmlto autoconf
    
  • :

    tar -xvzf git_x.y.z.tgz
    
  • git:

    cd git
    
  • :

     make configure
     ./configure --prefix=/usr
     make all doc
     sudo make install install-doc
    
+4

, , , , .

Just download the source code for the version of your choice , remove the existing git package from apt-get remove git, and then manually compile git from the source. You can check the INSTALL file for complete instructions , but basically make sure you already have the necessary build from apt-get, and thenmake; make install

+1
source

All Articles