嘟嘟社区

怎么更新curl版本


用的debian系统,怎么更新curl版本啊
基本上分6步就可以搞定debian升级curl

付费¥80解锁该技能,想好了pm我

发帖子之前先搜索引擎
apt update && apt install curl
apt update && apt upgrade
不会,不知道
wget …
tar zxf …
cd ….
./configure
make
make install
常规套路了
  1. [email protected]:~# cat /etc/debian_version
  2. 11.3
  3. [email protected]:~# curl -V
  4. curl 7.82.0 (x86_64-pc-linux-gnu) libcurl/7.82.0 OpenSSL/1.1.1n zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.4.59
  5. Release-Date: 2022-03-05
  6. Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
  7. Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets zstd

复制代码

80不行了,涨价了,现在88最后上车机会

  1. nano /etc/yum.repos.d/city-fan.repo

复制代码

  1. [CityFan]
  2. name=City Fan Repo
  3. baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel$releasever/$basearch/
  4. enabled=1
  5. gpgcheck=0

复制代码

  1. yum clean all

复制代码

  1. yum update curl

复制代码

  1. curl -v

复制代码