导航:首页 > 版本升级 > curl安装新版本

curl安装新版本

发布时间:2023-08-16 16:27:27

linux 怎么升级替换旧版本的CURL

|# curl -V
curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
[root@iZ259r7h4pfZ ~]# yum install -y curl
Loaded plugins: security
base | 3.7 kB 00:00
epel | 4.3 kB 00:00
epel/primary_db | 5.9 MB 00:00
extras | 3.4 kB 00:00
extras/primary_db | 29 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 4.7 MB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package curl.x86_64 0:7.19.7-46.el6 will be updated
---> Package curl.x86_64 0:7.19.7-53.el6_9 will be an update
--> Processing Dependency: libcurl = 7.19.7-53.el6_9 for package: curl-7.19.7-53.el6_9.x86_64
--> Running transaction check
---> Package libcurl.x86_64 0:7.19.7-46.el6 will be updated
--> Processing Dependency: libcurl = 7.19.7-46.el6 for package: libcurl-devel-7.19.7-46.el6.x86_64
---> Package libcurl.x86_64 0:7.19.7-53.el6_9 will be an update
--> Running transaction check
---> Package libcurl-devel.x86_64 0:7.19.7-46.el6 will be updated
---> Package libcurl-devel.x86_64 0:7.19.7-53.el6_9 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================================================
Updating:
curl x86_64 7.19.7-53.el6_9 updates 197 k
Updating for dependencies:
libcurl x86_64 7.19.7-53.el6_9 updates 169 k
libcurl-devel x86_64 7.19.7-53.el6_9 updates 247 k

Transaction Summary
============================================================================================================================================================================================================
Upgrade 3 Package(s)

Total download size: 614 k
Downloading Packages:
(1/3): curl-7.19.7-53.el6_9.x86_64.rpm | 197 kB 00:00
(2/3): libcurl-7.19.7-53.el6_9.x86_64.rpm | 169 kB 00:00
(3/3): libcurl-devel-7.19.7-53.el6_9.x86_64.rpm | 247 kB 00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 5.3 MB/s | 614 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : libcurl-7.19.7-53.el6_9.x86_64 1/6
Updating : libcurl-devel-7.19.7-53.el6_9.x86_64 2/6
Updating : curl-7.19.7-53.el6_9.x86_64 3/6
Cleanup : libcurl-devel-7.19.7-46.el6.x86_64 4/6
Cleanup : curl-7.19.7-46.el6.x86_64 5/6
Cleanup : libcurl-7.19.7-46.el6.x86_64 6/6
Verifying : libcurl-devel-7.19.7-53.el6_9.x86_64 1/6
Verifying : libcurl-7.19.7-53.el6_9.x86_64 2/6
Verifying : curl-7.19.7-53.el6_9.x86_64 3/6
Verifying : libcurl-devel-7.19.7-46.el6.x86_64 4/6
Verifying : curl-7.19.7-46.el6.x86_64 5/6
Verifying : libcurl-7.19.7-46.el6.x86_64 6/6

Updated:
curl.x86_64 0:7.19.7-53.el6_9

Dependency Updated:
libcurl.x86_64 0:7.19.7-53.el6_9 libcurl-devel.x86_64 0:7.19.7-53.el6_9

Complete!
[root@iZ259r7h4pfZ ~]# curl -V
curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

㈡ 如何在 Linux 中安装最新的 Python 3.6 版本

#下载源码包安装,先装wget,或curl。
yuminstallwget
#再安装解压缩和编译环境:
yuminstallzlib-develbzip2-developenssl-develncurses-develsqlite-develreadline-develtk-devel
#下载源码包:
cd/usr/local/src
wgethttps://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz
#解压:
tar-zxf/usr/local/src/Python-3.6.0.tgz&&cdPython-3.6.0
mkdir/usr/local/python3
#编译安装:
./configure--prefix=/usr/local/python3
make&&makealtinstall
#建立链接
ln-s/usr/local/python3/bin/python3.6/usr/bin/python3
#可直接使用
"python3"
ln-s/usr/local/python3/bin/pip3.6/usr/bin/pip3

-------------------我-是-分-割-线----------------------------------

把分割线以上的内容保存为install_python3.sh,然后加上运行权限:

chmoda+xinstall_python3.sh

用root权限运行

./install_python3.sh

结束后就安装成功了。

#可直接使用"pip3"

#最后测试下

python3

pip3

㈢ linux curl 命令怎么在windows上实现

可以在windows里安装curl命令,去官网下载下来,然后照里面的安装说明安装就可以了。。。

阅读全文

与curl安装新版本相关的资料

热点内容
赣州极客晨星少儿编程怎么样 浏览:690
觉醒年代哪个app可以免费观看 浏览:830
如何关闭win10触摸屏幕 浏览:761
苹果142不能传文件 浏览:128
如何看历史底部数据 浏览:230
怎么在电脑上下软件或安装app 浏览:798
qq头像电影截图情侣 浏览:87
安卓的网络位置设置在哪 浏览:973
编程侠官网如何登录 浏览:484
借贷王app怎么样 浏览:552
qq黑钻手机怎么开通 浏览:465
dnf85版本爆ss视频 浏览:514
gitlog前一个版本 浏览:718
苹果6手机屏幕周边多出一圈黑色 浏览:131
phpword插件 浏览:264
win10重置并清理驱动器 浏览:893
vector去重java 浏览:572
qq群文件过期了怎么办 浏览:184
电子文件的特性 浏览:190
javatcp接收数据 浏览:968

友情链接