Discover out the present ping of your pc by putting in 2ping on Ubuntu 22.04 Jammy Jellyfish or 20.04 Focal fossa.
On the Web, your pc communicates with servers. For this objective, information packets are despatched forwards and backwards. Relying on the standard of the Web connection, that is very quick or takes longer. You possibly can inform by how a lot time elapses between a request out of your pc and the server’s response. For instance, once you go to an internet site, it’s a request to a server. Its reply is the view of the online web page proven in your browser.
The time that elapses between request and response is latency. It’s also referred to as ping and is measured in milliseconds. The upper the ping, the extra time it takes to ship an information packet to the server and again to the pc. So a low ping is best. That is significantly necessary so advanced functions reminiscent of video games or real-time video calls run easily.
Though Ubuntu Linux comes with a default pinging device, if you would like a third-party one with extra options, attempt 2ping.
What’s 2ping?
2ping is a bi-directional ping utility. It makes use of 3-way pings (akin to TCP SYN, SYN/ACK, ACK) and after-the-fact state comparability between a 2ping listener and a 2ping consumer to find out which route packet loss happens.
It may work on any pc with Python 3, model 3.5 or greater. Linux, FreeBSD, OpenBSD, Mac OS X, and Home windows are supported working system
Steps to put in 2ping on Ubuntu 22.04 0r 20.04
The instructions given right here can even work on different Linux working methods primarily based on Ubuntu. Reminiscent of Linux Mint, POP OS, and extra…
1. Replace Ubuntu Linux
In your Ubuntu Linux open command terminal, you should use the keyboard shortcut for that- Ctrl+Alt+T. After that run the system replace command to rebuild the APT package deal index cache.
sudo apt replace
2. Set up 2ping on Ubuntu 22.04 or 20.04
The packages to put in 2ping can be found through the default system repository of Ubuntu, due to this fact, simply use the APT package deal supervisor and execute its set up command.
sudo apt set up 2ping
3. To examine the model
As soon as the set up is accomplished to examine the model of this pinging utility run the given command in your Terminal.
2ping --version
4. use 2ping
Similar to the default pining device of Ubuntu, the utilization of 2ping will probably be comparable. In your command terminal sort 2ping
, and the distant or native pc handle that you just need to ping.
For instance:
2ping 127.0.0.1
To know the choices accessible to make use of with this utility, you should use:
2ping --help
Whereas, to know the way to use the accessible choices, see the man page of the tool.
5. replace
If there may be some replace accessible for the 2ping utility through the default system repository of Ubuntu then operating the system replace command will set up that.
sudo apt replace && sudo apt improve
6. Uninstall 2ping from Ubuntu 22.04 or 20.04
Effectively, there are probabilities you gained’t just like the device after the set up and utilization. If that’s the case, then right here is the command to utterly take away 2Ping out of your Ubuntu 22.04 or 20.04 methods.
sudo apt autoremove --purge 2ping

Different Articles:
⇒ What option to use for ping constantly until you stop it?
⇒ How to change and Set the default terminal in Ubuntu or Debian
⇒ Install & play the 2048 game on Ubuntu 22.04 or 20.04 LTS Linux
⇒ Set Terminator as the default terminal in Ubuntu 22.04 or 20.04
