环境:Ubuntu 9.10 git-1.8.2.3.tar.bz2


1.将安装包下载到所选文件夹下,如:/tmp 

2.tar -xjf git-1.8.2.3.tar.bz2 

3.cd git-1.8.2.3 

4.配置:./configure --prefix=/usr/bin 

5.安装,假设直接make install安装出现错误。能够用以下命令安装: 

 sudo make NO_CURL=1 NO_MSGFMT=YesPlease NO_TCLTK=YesPlease NO_GETTEXT=YesPlease prefix=/usr/local install

6.查看git版本号信息:git --version 

相关文章:

  • 2021-08-16
  • 2021-04-24
  • 2021-09-08
  • 2021-10-05
  • 2021-06-27
  • 2021-07-26
  • 2021-07-15
  • 2022-12-23
猜你喜欢
  • 2021-12-17
  • 2022-12-23
  • 2021-05-28
  • 2021-11-24
  • 2021-09-05
  • 2022-12-23
  • 2021-05-10
相关资源
相似解决方案