JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

Centos7 安装 git 2.39.0

发布时间 2023-03-26 21:59:47作者: jzm1/

1.安装依赖

yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
yum install gcc-c++ perl-ExtUtils-MakeMaker

2.下载源码包

wget http://mirrors.edge.kernel.org/pub/software/scm/git/git-2.39.0.tar.gz

3.解压

tar -zxvf git-2.39.0.tar.gz

4.git 安装

cd git-2.39.0
./configure
make && make install

5.查看版本

git version
    本栏目推荐文章
  • Centos安装docker步骤
  • linux 安装最新版本git
  • CentOS7虚拟机突然远程连不上了
  • 【五期李伟平】CCF-A(AAAI'21)Game of Gradients: Mitigating Irrelevant Clients in Federated Learning
  • git bash报错fatal: detected dubious ownership in repository at的解决方法
  • CentOS 7复制文件和文件夹都阿里云OSS的指定目录
  • 2024-01-13 Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. ==》引用了未使用的方法导致
  • Python中出现"No module named 'requests'"的图文解决办法
  • ERROR 2059 (HY000): Authentication plugin 'caching_sha2_password'
  • mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION; ERROR 1410 (42000): You are not allowed to create a user with GRANT
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们