Meteo: Get fast weather forecasts on Linux

If you're a fan of watching the weather from your Linux desktop environmentOf course you must install a good application for it. Now, there are many of them in this operating system, but if you are looking for a good way to get the best weather updates, Meteo is one of the best options you can have.

For starters, Meteo is nice to look at and the forecasts are easy to read. Second, it can live in your system tray and offer fast updates regularly. And best of all, Meteo can be configured to provide weather updates for several cities. In this sense, we will explain how to have it on your PC.

Install Meteo on Linux

First of all, you must install this program on your computer. Unfortunately, the Meteo application does not appear to be packaged for distribution in any of the major Linux distributions. Except for Arch Linux. As a result, you must build from the source.

First, you must open a terminal window; you just have to press the keys: CTRL + ALT + T or alternatively CTRL + SHIFT + T. Now, you just have to follow the instructions given below.

Collecting dependencies

First, Meteo is a Qt application, so you must take some Qt dependencies and configure them. All this before starting to install the software. These dependencies include Python3-pip, Python3 Qt5 and some other things.

Ubuntu

sudo apt install pyqt5-dev-tools qttools5-dev-tools python3-pip

After installing these dependencies in this distribution, you will need to execute a symbolic nelace command, to make sure that Qt5 is the default value of your system.

ln -s /usr/share/qtchooser/qt5-x86_64-linux-gnu.conf /usr/lib/x86_64-linux-gnu/qtchooser/default.conf

Following the ln command, use pip3 to install the «lxml» module. Without it, Meteo will not launch on Linux.

sudo pip3 install lxml

Debian

sudo apt-get install pyqt5-dev-tools qttools5-dev-tools python3-pip

Once all dependencies have been fixed, run the following command to ensure that Qt5 is the default in your Debian distribution.

ln -s /usr/share/qtchooser/qt5-x86_64-linux-gnu.conf /usr/lib/x86_64-linux-gnu/qtchooser/default.conf

Your Debian distribution needs the Python 3 module "lxml" so that Meteo can be built and launched successfully. To install it, use the Pip3 command below.

sudo pip3 install lxml

Linux arch

In Arch Linux there is no real need to deal with the installation of dependencies manually. Instead, you can get the entire application built from the source automatically using the AUR. Similarly, in a terminal, enter the following commands to put everything into operation.

sudo pacman -S git base-devel

git clone https://aur.archlinux.org/trizen.git

cd trizen

makepkg -sri

trizen -S meteo-qt

Fedora

So you can install Fedora dependencies, type the Dnf packaging commands below in your terminal.

sudo dnf install python3-qt5-devel qt5-linguist qtchooser python3-pip

After you deal with Fedora dependencies, set Qt5 as the default on your computer.

sudo update-alternatives –config qtchooser-default

Finally, install the lxml module through Python 3.

sudo pip3 install lxml

OpenSUSE

The installation of the Meteo dependencies in OpenSUSE requires the use of Zypper. Now with the following command, you can get the latest compilation files on your computer.

sudo zypper install python3-qt5-devel libqt5-linguist

Next, update your SUSE system so that Qt4 is set as default.

sudo ln -s / usr / bin / lrelease-qt5 / usr / bin / lrelease

Now, finish installing the build dependencies in SUSE with the pip command.

sudo pip3 install lxml

Meteo in any generic Linux distribution

Any Linux distribution can run Meteo, provided you can install the dependencies covered on the GitHub page.

Building Meteo

Likewise, taking care of the dependencies of Meteo is tedious because there are many, but it is worth it, since the program is built quite well. To start the construction, you must go to the terminal and use the python3 command to run the installation script.

Also, when installing the Meteo application, you may want to enable additional options. To access these options, run the following command with the –help switch.

sudo python3 setup.py install

Configuring Meteo

To start using Meteo, start the application and it will appear in the system tray on the desktop. Similarly, right-click on the red "X" icon and select "Preferences." Within the preferences, the application will tell you that it needs an OpenWeatherMap API key. Create your password on the website and paste it into the "OpenWeatherMap" text box.

Once you have configured your password, check the rest of the settings and select the city in which you live. Also, be sure to adjust all program settings to your liking. For example, if you prefer degrees Fahrenheit to Celsius, you can change it.

Also, when you are satisfied with all the settings within Meteo, click on the "Apply" button, so that the settings are saved and ready to use.

To check the weather with Meteo, you must go to the system tray and double click on the icon. Also, you can wait and you will receive regular updates with pop-up messages.