{"id":1442,"date":"2021-12-16T12:06:11","date_gmt":"2021-12-16T09:06:11","guid":{"rendered":"https:\/\/files2.tojikon.net\/files-cloud\/2021\/07\/14\/how-to-install-netstat-on-linux\/https:\/\/files2.tojikon.net\/files-cloud\/2021\/07\/14\/how-to-install-netstat-on-linux\/"},"modified":"2021-12-16T12:06:11","modified_gmt":"2021-12-16T09:06:11","slug":"how-to-install-netstat-on-linux","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1442-how-to-install-netstat-on-linux\/","title":{"rendered":"How to install Netstat on Linux"},"content":{"rendered":"<section id=\"related_posts\">\n<div class=\"block-head\">\n<h3>Related Articles<\/h3>\n<\/div>\n<\/section>\n<p>Netstat is a Linux tool that system admins use for analyzing network stats. It comes in handy when you\u2019re trying to take a deeper look at your Linux machine and how it is handling networking. In this guide, we\u2019ll show you how to install Netstat on your Linux PC.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-405635 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-netstat-on-linux.png\" alt=\"Netstat on Linux\" width=\"1200\" height=\"885\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-netstat-on-linux.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-netstat-on-linux-2.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-netstat-on-linux-3.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-netstat-on-linux-4.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<h2>How to install Netstat on Ubuntu<\/h2>\n<p>The Netstat application is widely available to all Linux operating systems, including ones like Ubuntu. However, to get started with installing this program on your Ubuntu system, you must launch a terminal window.<\/p>\n<p>To open up a terminal window on the Ubuntu desktop, press\u00a0<strong>Ctrl + Alt + T\u00a0<\/strong>on the keyboard. Alternatively, search for \u201cTerminal\u201d in the app menu. When the terminal window is open, use the\u00a0<strong>Apt install\u00a0<\/strong>command below to install the \u201cnet-tools\u201d package. This package contains Netstat.<\/p>\n<pre>\nsudo apt install net-tools\n<\/pre>\n<p>Upon entering the command above, Ubuntu will ask you to enter your password. Do so. Then, press the\u00a0<strong>Y\u00a0<\/strong>button to confirm that you wish to install the software. After pressing\u00a0<strong>Y<\/strong>, Ubuntu will install the \u201cnet-tools\u201d package, which will give you access to Netstat.<\/p>\n<h2>How to install Netstat on Debian<\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-405634 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-netstat-on-linux-1.png\" alt=\"\" width=\"1200\" height=\"862\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-netstat-on-linux-1.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-netstat-on-linux-5.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-netstat-on-linux-6.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-netstat-on-linux-7.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<p>Debian has the \u201cnet-tools\u201d package available in its software repository, much like Ubuntu. As a result, you\u2019ll be able to install it from the terminal. To start the installation process, you will need to launch a terminal window.<\/p>\n<p>To open up a terminal window, press\u00a0<strong>Ctrl + Alt + T\u00a0<\/strong>on the keyboard. Alternatively, search for \u201cTerminal\u201d in the app menu and open it up that way. When the terminal window is open, the installation can begin.<\/p>\n<p>Using the terminal window, install the \u201cnet-tools\u201d package on your system. You can install this package on Debian by using the\u00a0<strong>Apt-get\u00a0<\/strong>command below.<\/p>\n<pre>\nsudo apt-get install net-tools\n<\/pre>\n<p>Once you write in the installation command above, Debian\u2019s package manager will ask you to enter your password. Then, using the keyboard, enter your password and press the <strong>Enter\u00a0<\/strong>key.<\/p>\n<p>After pressing the\u00a0<strong>Enter\u00a0<\/strong>key, Debian will ask you to press the\u00a0<strong>Y\u00a0<\/strong>key to continue installing. When you do, Netstat will be installed on your computer.<\/p>\n<h2>How to install Netstat on Arch Linux<\/h2>\n<p>The Netstat application is available on Arch Linux to all users. However, it is a command-line tool, so you will need to open up a terminal window to get the app working. To open up a terminal window, press <strong>Ctrl + Alt + T\u00a0<\/strong>on the keyboard. Or, search for \u201cterminal\u201d in the app menu and launch it that way.<\/p>\n<p>When you have your terminal window open, use the\u00a0<strong>Pacman\u00a0<\/strong>command to install the \u201cnet-tools\u201d package onto your Arch Linux computer.<\/p>\n<pre>\nsudo pacman -S net-tools\n<\/pre>\n<p>After running the command above, Arch Linux will ask you for your password. Using the keyboard, enter your password. Then, from there, press the\u00a0<strong>Y\u00a0<\/strong>key to confirm you wish to install the package. When you do, Arch Linux will install Netstat.<\/p>\n<h2>How to install Netstat on Fedora Linux<\/h2>\n<p>Netstat is available for Fedora Linux users through the official software repositories. On some Fedora Linux systems, this tool may already be installed. However, if you do not have Netstat already, you can get it working using the\u00a0DNF\u00a0package manager.<\/p>\n<p>To start the installation, open up a terminal window on the Fedora desktop. You can do this by pressing\u00a0<strong>Ctrl + Alt + T<\/strong>. Or, search for \u201cTerminal\u201d in the app menu. When the terminal window is open and ready to use, install the \u201cnet-tools\u201d program onto Fedora with the <strong>dnf install\u00a0<\/strong>command.<\/p>\n<pre>\nsudo dnf install net-tools\n<\/pre>\n<p>Upon entering the command above, Fedora will ask you to enter your password. Using the keyboard, do so. When your password is entered, DNF will collect all dependencies required to install the software. Then, it will ask you to press the\u00a0<strong>Y\u00a0<\/strong>key to continue. Do so to install Netstat on Fedora.<\/p>\n<h2>How to install Netstat on OpenSUSE Linux<\/h2>\n<p>The Netstat program is available to all OpenSUSE Leap users and OpenSUSE Tumbleweed users via the \u201cOpenSUSE Oss\u201d software repository. To start the installation, open up a terminal window by pressing\u00a0<strong>Ctrl + Alt + T\u00a0<\/strong>on the keyboard or search for \u201cTerminal\u201d in the app menu.<\/p>\n<p>When the terminal window is open and ready to use, enter the following\u00a0<strong>zypper install\u00a0<\/strong>command below to get the \u201cnet-tools\u201d package set up on your OpenSUSE PC.<\/p>\n<pre>\nsudo zypper install net-tools\n<\/pre>\n<p>When you enter the above command, OpenSUSE will ask you for your password. Using the keyboard, write it in. Then, press the\u00a0<strong>Y\u00a0<\/strong>command after SUSE shows you all packages that will be installed. After pressing the\u00a0<strong>Y\u00a0<\/strong>key, Netstat will be set up on your OpenSUSE Linux PC.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Related Articles Netstat is a Linux tool that system admins use for analyzing network stats. It comes in handy when you\u2019re trying to take a deeper look at your Linux machine and how it is handling networking. In this guide, we\u2019ll show you how to install Netstat on your Linux PC. How to install Netstat &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1443,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[33],"_links":{"self":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1442"}],"collection":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/comments?post=1442"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1442\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1443"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}