[精讚] [會員登入]
4223

windows, linux, freebsd 下安裝git

“
windows, linux, freebsd 下安裝git
„

分享此文連結 //n.sfs.tw/10476

分享連結 windows, linux, freebsd 下安裝git@新精讚
(文章歡迎轉載,務必尊重版權註明連結來源)
2019-10-25 12:50:26 最後編修
2016-12-24 22:28:27 By 張○○
 

自動目錄

GIT[3] is a distributed version control system  "分散式" 的版本控管軟體[1]。

CENTOS5.8[2]

安裝yum的套件資源庫
# rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm

安裝最新版git
# yum install --enablerepo=webtatic git-all

To work around Missing Dependency: perl(Git) errors:

如果上面出錯,執行下面
# yum install --enablerepo=webtatic --disableexcludes=main  git-all

CENTOS7

# yum install git

FREEBSD 8, 9

# cd /usr/ports/devel/git
# make install

WINDOWS

直接下載及安裝 https://help.github.com/articles/set-up-git#platform-windows

參考資料

[1] Git是什麼 http://www.arthurtoday.com/2011/03/git.html#.UVuPe1fJKZI

[2] http://stackoverflow.com/questions/3779274/how-can-git-be-installed-on-centos-5-5

[3] git官網 http://git-scm.com/


原文 2013-04-03 10:06:36

END

你可能感興趣的文章

[Linux] 進行字串取代,三種字串取代的方法 使用vi、sed、perl來取代字串

[find] 活用 find 指令參數-atime -Btime -ctime -mtime 限制尋找時間 活用 find 指令參數-atime -Btime -ctime -mtime 限制尋找時間

利用tr如何移除檔案中的 ^M 利用tr如何移除檔案中的換行 ^M

[bc] linux 的計算機bc 如何進行8進位、10進位、16進位等轉換 linux 的計算機bc--如何進行8進位、10進位、16進位等轉換

[CSH/TCSH] 使用tcsh SHELL #2 --檢查、傳值 6. 檔案或目錄的檢查 SHELL 中常會用到檔案或目錄的檢查,一般性的語法是: if [ Operator

Vim .vimrc 設定,讓vim更好用 vim 是 unix-like 系統中最常用的編輯器,經由妥善的設定讓vim更好用

隨機好文

[Win7] 燒錄 iso 檔 在Windows7 中內建燒錄程式,可以直接把檔案拉到光碟機裡,再執行燒錄。

一個邏輯的錯誤刪了全部檔案的經驗 今天本來想做一件很簡單的事,但卻足足浪費我多一倍的時間,再加上刪掉我全部的檔案,原因只是因為我自己的邏輯錯誤。

好用的3+2碼郵遞區號查詢系統推薦 網路上找到用地址輸入判斷3+2碼郵遞區號的辨識率不高,除了這個網站…

APACHE的記錄檔格式 LogFormat 語法 在APACHE中有定義一些記錄的語法模版 在 /etc/httpd/conf/httpd.conf 中: LogForm

[NetBeans] 使用git複製別人的專案 NetBeans使用git複製別人的專案及版本控制