How to Install netstat on Fedora 32 server
How to Install netstat on Fedora 32 server
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 :
OR
3. Enter ‘y’ and press enter, if yum ask for confirmation
Dependencies resolved.
===================================================================================================
Package Architecture Version Repository Size
===================================================================================================
Installing:
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
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 fedoraproject.org website using wget command
3. You can install the rpm file either using dnf or rpm command
Command to install using rpm:
You must manually download and install the dependencies if you are using rpm command to install.
Command to install using dnf :
dnf command will install net-tools package and the required dependencies for net-tools package.