Simple Weather Indicator Installation

How to install Simple Weather Indicator

There are three installation methods exist which are:

Via PPA (Ubuntu only version 0.7 and onwards)

You can add PPA repository for easy installation and be notified on updates. Add the following repository to your machine like this:

$ sudo add-apt-repository ppa:kasra-mp/ubuntu-indicator-weather

$ sudo apt-get update

To install the weather indicator run:

$ sudo apt-get install indicator-weather

Keep in mind that the described method is only valid for Ubuntu distribution and it is only supported for version 0.7 of the indicator and later. If you want to decide older version please refer to the next section.

Supported Ubuntu versions

Supported architectures

Via Debian package file

If you are using any Debian based distribution except Ubuntu, you can download .deb file from releases link and install it via this command:

$ sudo dpkg -i indicator-weather_Version_all.deb

Via AUR (Arch Linux)

For Arch Linux, Simple Weather Indicator is available on the Arch User Repository, under the package name ubuntu-indicator-weather via this link: https://aur.archlinux.org/packages/ubuntu-indicator-weather/

Via source code (Stable release)

At the moment other Linux distributions users have to rely on source code to use this indicator. To do that, download .tar.gz package of your desired version from releases section and uncompress it to any desire location.

Before proceeding to the next step make sure that you have the following packages installed on your system.

After that run the installation script with root permission,

sudo ./install.sh

The last step is to run the indicator using the following command,

indicator-weather

To make the indicator to start automatically on system startup, depends on your desktop/window manager, you need to add indicator-weather file to the startup script.

Via source code (Prerelease)

It is also possible to install/test prerelease version of indicator. There are two approaches available depends on the Linux distribution.

Debian based distributions

First clone the repository,

git clone [email protected]:kasramp/UbuntuIndicatorWeather.git

Then run install_dependencies_debian.sh script with root permission,

sudo ./install_dependencies_debian.sh

The script install all the necessary dependencies via apt. As a result, no need to manually install any packages.

Non-debian distributions

First clone the repository,

git clone [email protected]:kasramp/UbuntuIndicatorWeather.git

Then follow Via source code (Stable release) instruction.