首页 > 图灵资讯 > 技术篇>正文

安装oh-my-zsh报错fatal: gnutls_handshake() failed: Error in the pull function的解决办法

2023-06-20 09:36:01

今天在安装oh-my-zsh遇到安装问题时,报错内容如下:

root@ubuntu18:~/ohmyzsh/tools# ./install.sh Cloning Oh My Zsh...Initialized empty Git repository in /root/.oh-my-zsh/.git/fatal: unable to access 'https://github.com/ohmyzsh/ohmyzsh.git/': gnutls_handshake() failed: Error in the pull function.Error: git clone of oh-my-zsh repo failed

Stackoverflow找到正确的解决方案:Git: gnutls_handshake() failed: Error in the pull function

里面的这条

安装oh-my-zsh报错fatal: gnutls_handshake() failed: Error in the pull function的解决办法_ubuntu

 

apt-get -y install build-essential nghttp2 libnghttp2-dev libssl-dev

 

安装上述内容后,再次运行./install.sh可成功安装

安装oh-my-zsh报错fatal: gnutls_handshake() failed: Error in the pull function的解决办法_git_02

上一篇 SpringBoot3.0从入门到项目实战:解决Web应用痛点的最新解决方案
下一篇 关于压缩包伪加密的相关问题

文章素材均来源于网络,如有侵权,请联系管理员删除。