If your travel interests, job requirements, or a family member’s geographical location requires you to keep track of weather from multiple cities around the globe, it is a good practice to have this info available on your desktop 24×7. Gnome Weather small application that allows you to monitor the current weather conditions for your city, or anywhere in the world. It provides access to detailed forecasts, up to 7 days, with hourly details for the current and next day, using various internet services. It also optionally integrates with the GNOME Shell, allowing you to see the current conditions of the most recently searched cities by just typing its name in the Activities Overview.
In this article, we will explain how to install and use the Gnome Weather application to view weather from different cities on your Debian
We have run the commands and procedures mentioned in this article on a Debian 10 Buster system.
Install Gnome Weather
Here, we will explain two ways for you to install Gnome Weather on your Debian; through the Graphical User Interface and through the Command Line-the Terminal.
Through the UI
For a person who does not want to open the Command Line much, installing software present in the Debian Main repository through the UI is very simple. On your desktop Activities toolbar, click the Debian Software icon.
In the following view, click on the search icon and enter Gnome Weather in the search bar. The search results will display the Weather application result as follows:
This is the package maintained by the Debian Main repository. Click on the Weather search entry to open the following view:
Click the Install button to begin the installation process. The following authentication dialog will display for you to provide your authentication details as only an authorized user can install software on Debian
Enter your password and click the Authenticate button. After that, the installation process will begin, displaying a progress bar as follows.
Gnome Weather will then be installed to your system and you will get the following message after a successful installation:
Through the above dialog, you can choose to directly launch Weather and even Remove it immediately for whatever reason.
Through the Command Line
You can also use the Debian command line, the Terminal, in order to install the Gnome Weather application.
Open the Terminal either through the Application Launcher Search by searching for it as follows:
In order to install the latest version of a software available in the Debian’s online repositories, your system’s repository index needs to be up-to-date.
Run the following command as sudo in order to update your system’s local repository index with that of the Internet.
$ sudo apt-get update
Then enter the following command in order to install Gnome Weather from the official Debian Main repository:
$ sudo apt-get install gnome-weather
Please note that only an authorized user(root or sudo) can add, remove and configure software on Debian. Enter the password for sudo after which the installation procedure will begin.
$ sudo apt-get install gnome-weather
Note: Please make sure that the current user is added to the sudoers list in order to perform all authorized functions on Debian.
The system might also prompt you with a Y/n option for the installation to begin. Please enter Y and hit enter after which Gnome Weather will be downloaded and installed on your system.
Launch and Use Gnome Weather
You can launch the Gnome Weather application through the UI from the Application Launcher search as follows, or directly from the application listing.
If you want to launch the application from the Terminal, enter the following command:
The system might ask you to grant access to your current location so that the Weather application can display its weather.
Make your choice after which the application will be launched.
Click on the Places button on the application to enter the city whose weather you want to view.
Uninstall Gnome Weather
You can remove the application through the Software manager by searching for it and then by clicking the Remove button from the following view.
Or, use the following command as sudo from the Terminal to remove the application:
$ sudo apt-get remove gnome-weather
With Gnome Weather installed on your system, you can view weather from all across the world through a very reliable application maintained officially by Linux.