1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Ubuntu 8.04(hardy)のGitを1.7へ

Last updated at Posted at 2012-12-26

標準のリポジトリでは、1.5系しかないので、1.7にする方法。
まだ、いくつか自分が管理する8.04が有りそうなので

/etc/apt/source.listに以下を追加

deb http://ppa.launchpad.net/smartlounge/ubuntu hardy main
deb-src http://ppa.launchpad.net/smartlounge/ubuntu hardy main

次に、以下のコマンドを実行

gpg --no-default-keyring --keyring /tmp/sml.keyring --keyserver keyserver.ubuntu.com --recv 504EBE1344441FF0E7CC4CA30E76E800643C34E6 && gpg --no-default-keyring --keyring /tmp/sml.keyring --export --armor 504EBE1344441FF0E7CC4CA30E76E800643C34E6 | sudo apt-key add - && rm /tmp/sml.keyring

これで、Gitの1.7にアップデート出来る環境が整ったので、以下を実行

% sudo aptitude update
% sudo aptitude safe-upgrade

これで、無事にGitのバージョンアップは完了するはず。

参考:
http://openbooth.org/archives/54.html

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?