#author("2019-06-09T08:32:53+09:00","default:ryuichi","ryuichi")
#author("2019-06-09T08:36:35+09:00","default:ryuichi","ryuichi")
* Debian 9 ソースインストール [#v95b7e99]

** コンパイルのための準備 [#d5ee0491]

 sudo apt update
 sudo apt install make libssl-dev libghc-zlib-dev 
 sudo apt install libcurl4-gnutls-dev libexpat1-dev gettext unzip

** ソースコード取得 [#m89ea266]

- https://github.com/git/git/releases にアクセスして、
- 最新の安定板などを探し、ダウンロードリンクを確認する

 wget https://github.com/git/git/archive/v2.21.0.zip
 unzip v2.21.0.zip
 cd git-2.21.0


** コンパイル・インストール [#obe51dcc]

 make prefix=$HOME/opt/git all
 make prefix=$HOME/opt/git install

** 設定 [#z7dbafb9]

 git config --global user.name "Your Name"
 git config --global user.email "youremail@yourdomain.com"

** 参考 [#qb15b855]

https://www.digitalocean.com/community/tutorials/how-to-install-git-on-debian-9

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS