Downloading weewx issue

64 views
Skip to first unread message

Dale Huber

unread,
Jul 30, 2020, 7:52:04 PM7/30/20
to weewx-user
I use the wget command and I get an error from the download site when using Linux. Not sure what to do, if i use a browser to download it will save to the DOWNLOAD folder. I need to have it in the HOME folder then extract, right? This is a little different than it was back in 2015, a lot simpler then.

Dale Huber

unread,
Jul 30, 2020, 8:00:39 PM7/30/20
to weewx-user


On Thursday, July 30, 2020 at 7:52:04 PM UTC-4, Dale Huber wrote:
I use the wget command and I get an error from the download site when using Linux. Not sure what to do, if i use a browser to download it will save to the DOWNLOAD folder. I need to have it in the HOME folder then extract, right? This is a little different than it was back in 2015, a lot simpler then.
Forgot to mention I'm using a Raspberry Pi. What does this mean Tell apt where to find the WeeWX releases?

vince

unread,
Jul 30, 2020, 8:21:18 PM7/30/20
to weewx-user
You're probably overthinking this one a bit...

That said, In the absence of what error messages you are seeing, we can't really help too much.

http://weewx.com/docs/debian.htm has the instructions for how to add weewx using the pre-packaged version.  If it's a newly build raspi, you probably want to do this. Just follow the instructions on the web page.

But to answer - your pi doesn't magically know where to download weewx from.  You have to run the first command under 'configure apt' to add the location of the weewx software repository to the built-in list of the sites (plural) where your pi will try to install software from.  Then do the install steps.  It works. Really.


 

gjr80

unread,
Jul 30, 2020, 8:22:48 PM7/30/20
to weewx-user
Might help if you show us exactly what command you are trying to execute. I wget the tar.gz all the time into a variety of directories and have no problems.

Gary

Dale Huber

unread,
Jul 31, 2020, 9:32:46 AM7/31/20
to weewx-user


On Thursday, July 30, 2020 at 7:52:04 PM UTC-4, Dale Huber wrote:
I use the wget command and I get an error from the download site when using Linux. Not sure what to do, if i use a browser to download it will save to the DOWNLOAD folder. I need to have it in the HOME folder then extract, right? This is a little different than it was back in 2015, a lot simpler then.
I have attached jpeg file 1237 to show my issue. 

 
IMG_1237.jpg

rich T

unread,
Jul 31, 2020, 9:43:53 AM7/31/20
to weewx-user
Need to add sudo in front of the command.   Example sudo wget -qO - http://weewx.com.....
 

Tomasz Lewicki

unread,
Jul 31, 2020, 9:57:51 AM7/31/20
to weewx-user
You should be in *your* home directory. So after opening terminal you can just paste wget and rest of command. Or, if you are in another directory, enter first:

cd ~

OR

cd /home/pi

and then wget...

Sudo isn't necessary at this stage.
 
Reply all
Reply to author
Forward
0 new messages