How to Install netstat on Fedora 32 server

How to Install netstat on Fedora 32 server


Netstat command is used on Linux servers to see the incoming and outgoing network connections and other network related information.

On Fedora servers, netstat command is provided by net-tools package.

Do the below steps to install netstat on Fedora 32 server.

1. Open a new terminal

2. Log into your Fedora 32 server via SSH as ‘root’ user or as sudo user

3. You can install net-tools package using dnf command

Command to install net-tools :

dnf install net-tools


sudo dnf install net-tools

3. Enter ‘y’ and press enter, if yum ask for confirmation

[root@fedora-server /]# dnf install net-tools

Dependencies resolved.
Package Architecture Version Repository Size
net-tools x86_64 2.0-0.56.20160912git.fc32 fedora 305 k

Transaction Summary
Install 1 Package

Total download size: 305 k
Installed size: 989 k
Is this ok [y/N]: y

4. Run the following command to verify installation by checking netstat version

[root@fedora-server /]# netstat -V
net-tools 2.10


How to download and install netstat rpm on Fedora 32 server

1. Log into your Fedora 32 server as ‘root’

2. You can download net-tools package from website using wget command


3. You can install the rpm file either using dnf or rpm command

Command to install using rpm:

# rpm -ivh net-tools-2.0-0.56.20160912git.fc32.x86_64.rpm

You must manually download and install the dependencies if you are using rpm command to install.

Command to install using dnf :

# dnf install net-tools-2.0-0.56.20160912git.fc32.x86_64.rpm

dnf command will install net-tools package and the required dependencies for net-tools package.