Sysops Notepad

[Linux] curl 컴파일 본문

업무/etc

[Linux] curl 컴파일

sysops 2021. 11. 24. 15:47
728x90

현재 centos 저장소에 curl 버전은 7.29.0 버전이다.

[root@sysops ]# yum list curl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.navercorp.com
 * centos-sclo-rh: mirror.navercorp.com
 * centos-sclo-sclo: mirror.navercorp.com
 * epel: ftp.riken.jp
 * extras: mirror.navercorp.com
 * updates: mirror.navercorp.com
 * webtatic: us-east.repo.webtatic.com
Installed Packages
curl.x86_64                                                     7.29.0-59.el7_9.1                                                     @updates

컴파일해서 설치해주자

cd /root
wget https://curl.se/download/curl-7.80.0.tar.gz --no-check-certificate
tar zxvf curl-7.80.0.tar.gz
cd curl-7.80.0
./configure --with-openssl
make&&make install
728x90
Comments