How to Install Simple Weather Indicator Application in Ubuntu – A Desktop Weather Widget for Linux
In this article we are going to learn How to install Simple Weather Indicator application in Ubuntu. It’s an open source simple light weight Desktop Weather Widget capable of show you the current location name/details, Smoke, Maximum Temperature, Minimum Temperature, Humidity, Wind, Cloudiness, Pressure, Visibility and so on. You can use refresh option to see the immediate changes of the temperature or other weather details. Simple Weather indicator package mainly created for Unity and Gnome based desktop environment written using Python programming language and available for both 64 bit and 32 bit operating systems.
Follow the below steps to install Simple Weather Indicator application in Ubuntu – A Desktop Weather Widget for Linux:
We are going to install the Simple Weather Indicator package through PPA repository. Hence before start the installation let’s install the official PPA repository using below command.
itsmarttricks@ubuntu:~$ sudo add-apt-repository ppa:kasra-mp/ubuntu-indicator-weather # Install PPA Repository [sudo] password for itsmarttricks: Simple weather indicator is a simple indicator to get weather temperature automatically. It calls two web services to detect location and gets weather temperature. Then it displays in the small indicator for users. Weather updates every ten minutes and it requires the Internet connection. More info: https://launchpad.net/~kasra-mp/+archive/ubuntu/ubuntu-indicator-weather Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keyring `/tmp/tmp8xrlxgw3/secring.gpg' created gpg: keyring `/tmp/tmp8xrlxgw3/pubring.gpg' created gpg: requesting key B8FEAE9A from hkp server keyserver.ubuntu.com gpg: /tmp/tmp8xrlxgw3/trustdb.gpg: trustdb created gpg: key B8FEAE9A: public key "Launchpad PPA for kasra_mp" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK
After installing the PPA repository update the packages & repositories of Ubuntu using below command.
itsmarttricks@ubuntu:~$ sudo apt-get update # Update Packages & Repositories Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease Hit:2 http://ppa.launchpad.net/kasra-mp/ubuntu-indicator-weather/ubuntu xenial InRelease Hit:3 http://us.archive.ubuntu.com/ubuntu xenial InRelease Hit:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease Reading package lists... Done
Now let’s go ahead and install Simple Weather Indicator (desktop weather widget) application using below command.
itsmarttricks@ubuntu:~$ sudo apt-get install indicator-weather # Install Simple Weather Indicator Package Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: python-cairo python-gi python-gobject-2 python-gtk2 python-retrying python-six Suggested packages: python-gi-cairo python-gobject-2-dbg python-gtk2-doc The following NEW packages will be installed: indicator-weather python-cairo python-gi python-gobject-2 python-gtk2 python-retrying python-six 0 upgraded, 7 newly installed, 0 to remove and 230 not upgraded. Need to get 1,079 kB of archives. After this operation, 5,593 kB of additional disk space will be used. Do you want to continue? [Y/n] y ---> Enter "y" to continue the installation
As you can see above we have successfully installed the Package. To confirm the same refer the below command.
itsmarttricks@ubuntu:~$ sudo dpkg -l indicator-weather # Confirm the installed Package Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-====================================-=======================-=======================-============================================================================= ii indicator-weather 1.0-0ubuntu5 all Display weather temperature
Now to open the application just type the command indicator-weather on shell prompt. Refer the command below.
itsmarttricks@ubuntu:~$ indicator-weather # Open the Weather Indicator application
You can also open the Simple Weather Indicator (desktop weather widget) application graphically using Search your computer box.
How To Uninstall Simple Weather Indicator Application in Ubuntu ?
To Uninstall the Simple Weather Indicator package use the below command.
itsmarttricks@ubuntu:~$ sudo dpkg -r indicator-weather # Uninstall the Simple Weather Indicator application (Reading database ... 208416 files and directories currently installed.) Removing indicator-weather (1.0-0ubuntu5) ... Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ... Processing triggers for desktop-file-utils (0.22-1ubuntu5) ... Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for mime-support (3.59ubuntu1) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
That’s all, In this article, we have explained How to Install Simple Weather Indicator Application in Ubuntu – A Desktop Weather Widget for Linux. I hope you enjoy this article. If you like this article, then just share it. If you have any questions about this article, please comment.