• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install Wego tool - A weather App in Linux

{{postValue.id}}

To Install Wego tool - A weather App in Linux

Wego tool is a weather application software to view weather in ASCII. It displays the wind speed and direction, temperature, viewing distance, and the precipitation amount. It has the ability to display the weather forecast information for 8 days. Installation of Wego is explained in this manual.


To Install Wego

Install the dependency packages by entering the following command.

root@linuxhelp:/home/user1/Desktop# apt-get install golang-go git
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  git-man golang-1.6-go golang-1.6-race-detector-runtime golang-1.6-src golang-race-detector-runtime golang-src liberror-perl
...
....
...
Setting up golang-1.6-go (1.6.2-0ubuntu5~16.04) ...
Setting up golang-src (2:1.6-1ubuntu4) ...
Setting up golang-go (2:1.6-1ubuntu4) ...
Setting up golang-1.6-race-detector-runtime (0.0+svn252922-0ubuntu1) ...
Setting up golang-race-detector-runtime (2:1.6-1ubuntu4) ...

Install the wego tool using the following commands

root@linuxhelp:/home/user1/Desktop# export GOPATH=/home/user1/gocode
root@linuxhelp:/home/user1/Desktop# go get github.com/schachmat/wego
root@linuxhelp:/home/user1/Desktop# cd /home/user1/gocode/
root@linuxhelp:/home/user1/gocode# ll
total 20
drwxr-xr-x  5 root  root  4096 Jul 18 13:16 ./
drwxr-xr-x 17 user1 user1 4096 Jul 18 13:16 ../
drwxr-xr-x  2 root  root  4096 Jul 18 13:16 bin/
drwxr-xr-x  3 root  root  4096 Jul 18 13:16 pkg/
drwxr-xr-x  3 root  root  4096 Jul 18 13:16 src/
root@linuxhelp:/home/user1/gocode# cd bin/
root@linuxhelp:/home/user1/gocode/bin# ll
total 8700
drwxr-xr-x 2 root root    4096 Jul 18 13:16 ./
drwxr-xr-x 5 root root    4096 Jul 18 13:16 ../
-rwxr-xr-x 1 root root 8899808 Jul 18 13:16 wego*
root@linuxhelp:/home/user1/gocode/bin# ./wego
2016/07/18 13:17:22 No forecast.io API key specified.
You have to register for one at https://developer.forecast.io/register

Registration
Installation-Wego-tool-weather-App-to-view-weather-in-ASCII-Registration
API Key
Installation-Wego-tool-weather-App-to-view-weather-in-ASCII-API-Key

root@linuxhelp:/home/user1/gocode/bin# nano ~/.wegorc

Add the API key to the file, then save the file and exit.


To Launch Wego

Run the following command to launch Wego.

root@linuxhelp:/home/user1/gocode/bin# ./wego

Weather for 40.748001-73.985001
Installation-Wego-tool-weather-App-to-view-weather-in-ASCII-Weather-forecast
Use the latitude and longitude of the city to view the weather forecast of a city.
Installation-Wego-tool-weather-App-to-view-weather-in-ASCII-latitude-longitude-to-view-weather-forecast
Change the number of days to the max of 8 in the wegorc configuration file to view weather forecast of 8 days.

Enjoy forecasting!!!

Tags:
grayson
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Where to find the binary file of wego in Linux?

A

The binary file is located inside the bin directory of installed location.

Q

How to view news from my terminal ?

A

There is a tool called "instantnews" which can suit your need. To install follow the following commands
#yum install python-pip
#pip install instantnews
#vim ~/.bashrc
export IN_API_KEY="Paste-API-key-here"

Q

How to see the weather report in command line?

A

Simply, type the command "wego", To see weather report in the command line

Q

How to view 5 days or more weather report in wego?

A

You can use the wego command with number days you want to get the weather report.
EXAMPLE
# wego 5 //To get the weather report for 5 days

Q

What is the command to see weather report of particular city in wego?

A

following command is used to see weather report of particular city

# wego "cityname"

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Owen ?
How to add SSH key to my Gitlab account

I need to add the SSH key in my gitlab account. How to do so ????

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.