How To Install gnome-shell-extension-show-ip on Ubuntu 20.04

In this tutorial we learn how to install gnome-shell-extension-show-ip on Ubuntu 20.04. gnome-shell-extension-show-ip is Shows the current private or public IP address

Introduction

In this tutorial we learn how to install gnome-shell-extension-show-ip on Ubuntu 20.04.

What is gnome-shell-extension-show-ip

gnome-shell-extension-show-ip is:

Show-IP is a GNOME Shell extension that shows the current private or public IP address if NetworkManager is used. It allows the user to set which device to display if there are multiple devices activated and supports both IPv4 and IPv6.

It makes use of a non-free service (http://ipinfo.io) by default to determine the system’s public IP, however this can be changed in the preferences to use another lookup service of your choice.

There are three methods to install gnome-shell-extension-show-ip on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install gnome-shell-extension-show-ip Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install gnome-shell-extension-show-ip using apt-get by running the following command:

sudo apt-get -y install gnome-shell-extension-show-ip

Install gnome-shell-extension-show-ip Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gnome-shell-extension-show-ip using apt by running the following command:

sudo apt -y install gnome-shell-extension-show-ip

Install gnome-shell-extension-show-ip Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install gnome-shell-extension-show-ip using aptitude by running the following command:

sudo aptitude -y install gnome-shell-extension-show-ip

How To Uninstall gnome-shell-extension-show-ip on Ubuntu 20.04

To uninstall only the gnome-shell-extension-show-ip package we can use the following command:

sudo apt-get remove gnome-shell-extension-show-ip

Uninstall gnome-shell-extension-show-ip And Its Dependencies

To uninstall gnome-shell-extension-show-ip and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove gnome-shell-extension-show-ip

Remove gnome-shell-extension-show-ip Configurations and Data

To remove gnome-shell-extension-show-ip configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge gnome-shell-extension-show-ip

Remove gnome-shell-extension-show-ip configuration, data, and all of its dependencies

We can use the following command to remove gnome-shell-extension-show-ip configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gnome-shell-extension-show-ip

References

Summary

In this tutorial we learn how to install gnome-shell-extension-show-ip package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.