How to Install wget on Fedora 31 server

Follow the below steps to install wget command on Fedora 31 server. On Fedora servers, wget command is provided by wget package and it can be installed using dnf (Dandified YUM) command.

Wget command is a free software used on Linux servers to download packages from the internet.

Step 1. Log into Fedora Server as ‘root’ user

Step 2. Install wget package using dnf command

Step 3. Enter y and press enter, if dnf ask for confirmation while installing

Run the below command to install wget :

 

# dnf install wget

OR

# sudo dnf install wget

 

# dnf install wget

Last metadata expiration check: 0:00:02 ago on Sat Nov 21 18:33:03 2020.
Dependencies resolved.
===================================================================================================
Package Architecture Version Repository Size
===================================================================================================
Installing:
wget x86_64 1.20.3-2.fc31 fedora 795 k

Transaction Summary
===================================================================================================
Install 1 Package

Total download size: 795 k
Installed size: 3.0 M
Is this ok [y/N]: y
Downloading Packages:
wget-1.20.3-2.fc31.x86_64.rpm 193 kB/s | 795 kB 00:04
—————————————————————————————————
Total 157 kB/s | 795 kB 00:05
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : wget-1.20.3-2.fc31.x86_64 1/1
Running scriptlet: wget-1.20.3-2.fc31.x86_64 1/1
Verifying : wget-1.20.3-2.fc31.x86_64 1/1

Installed:
wget-1.20.3-2.fc31.x86_64

Complete!

 

How to Install wget command on Fedora 31 server

How to Install wget command on Fedora 31 server


 
 

How to download and Install wget rpm on Fedora servers

 
1. Log into Fedora Server as ‘root’ user

2. Download wget rpm from Fedoraproject website and sync the file to server

3. Install rpm package using rpm command

Paste the below url in the browser to download the wget package.

https://download-ib01.fedoraproject.org/pub/fedora/linux/releases/31/Everything/x86_64/os/Packages/w/wget-1.20.3-2.fc31.x86_64.rpm

You can sync the downloaded rpm file to the server by using FTP, Rsync or SCP.
 

# rpm -ivh wget-1.20.3-2.fc31.x86_64.rpm
Verifying… ################################# [100%]
Preparing… ################################# [100%]
Updating / installing…
1:wget-1.20.3-2.fc31 ################################# [100%]

 

How to download and install wget rpm on Fedora 31

How to download and install wget rpm on Fedora 31


 
 

How to uninstall / Remove wget command on Fedora 31 server

 
1. Log into your Fedora Server as ‘root’ user

2. Run the command ‘dnf remove wget’ to uninstall wget

 

# dnf remove wget

OR

#sudo dnf remove wget

 

[root@fedora-server31 /]# dnf remove wget
Dependencies resolved.
===================================================================================================
Package Architecture Version Repository Size
===================================================================================================
Removing:
wget x86_64 1.20.3-2.fc31 @@System 3.0 M

Transaction Summary
===================================================================================================
Remove 1 Package

Freed space: 3.0 M
Is this ok [y/N]: y