Gitting git-1.5.3.x installed in Ubuntu
I’m looking into git as an alternative to subversion.
As most of my servers use a non-standard port for sshd I was interested in trying out git-1.5.3.x for it’s support for ssh://name@host:port/ but ubuntu gutsy only had 1.5.2.5 available so off to #git I went:
For Ubuntu Gutsy:
- apt-get install devscripts fakeroot
- dget -x http://ftp.debian.org/debian/pool/main/g/git-core/git-core_1.5.3.5-1.dsc
- cd git-core-1.5.3.5
- apt-get build-dep git-core
- dpkg-buildpackage -rfakeroot -us -uc
For Ubuntu Dapper:
Update: Apparently the version of dpkg-buildpackage that comes with dapper is too old, so in the end I upgraded Dapper > Edgy > Feisty > Gutsy
apt-get install devscripts fakerootwget http://www.backports.org/debian/pool/main/g/git-core/git-core_1.5.3.4-1bpo40+1.dsc (as dget doesn’t exist in devscripts on dapper)wget http://www.backports.org/debian/pool/main/g/git-core/git-core_1.5.3.4-1bpo40+1.diff.gzwget http://www.backports.org/debian/pool/main/g/git-core/git-core_1.5.3.4.orig.tar.gzdpkg-source -x git-core_1.5.3.4-1~bpo40+1.dsccd git-core-1.5.3.4apt-get build-dep git-coredpkg-buildpackage -rfakeroot -us -uc
(You may need to manually install libsvn-core-perl && tcl8.4 )
Many thanks to MadCoder on #git for helping me out with this.
I’ll be posting about my exploits with git in future posts.
Volver a articulos
0 comentarios
Saltar al formulario de comentarios | comentarios rss [?]