Last active
August 12, 2024 12:22
-
-
Save M507/2846cc78914e955c6adb0d5483d3e8c4 to your computer and use it in GitHub Desktop.
Upgrade wget to 1.20.3 on Centos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum groupinstall "Development Tools" -y | |
yum install gcc glibc glibc-common gd gd-devel openssl -y | |
yum install glibc-devel glibc-headers kernel-headers kernel-devel gnutls-devel -y | |
cd /opt | |
wget https://ftp.gnu.org/gnu/wget/wget-1.20.3.tar.gz | |
./configure | |
make | |
cd src/ | |
cp wget /usr/bin/wget | |
cd ~/ | |
wget --version | head -1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this was a life saving script for me .thanks for sharing