LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Downloading tarball (https://www.linuxquestions.org/questions/linux-newbie-8/downloading-tarball-4175503791/)

battles 05-03-2014 06:59 AM

Downloading tarball
 
Never downloaded anything except with apt-get. I tried to do this download:

user@debian:~$ wget https://www.openssl.org/source/openssl-1.0.1g.tar.gz

--2014-05-03 11:55:08-- https://www.openssl.org/source/openssl-1.0.1g.tar.gz
Resolving www.openssl.org (www.openssl.org)... 185.9.166.106
Connecting to www.openssl.org (www.openssl.org)|185.9.166.106|:443... connected.
ERROR: The certificate of `www.openssl.org' is not trusted.
ERROR: The certificate of `www.openssl.org' hasn't got a known issuer.
user@debian:~$

Is this the right way to do a download of a tarball that an apt-get doesn't find? How do I get around the cert problem?

Also, where is the tarball placed?

Thanks.

SandsOfArrakis 05-03-2014 07:04 AM

If it's just about downloading the tarball. it downloads just fine here with a browser.

battles 05-03-2014 07:10 AM

Only Debian 7.1
 
Quote:

Originally Posted by SandsOfArrakis (Post 5163809)
If it's just about downloading the tarball. it downloads just fine here with a browser.

I am on a server - Debian 7.1, so don't have access to browser. I guess I could download it locally and upload it to the server. Wonder where I should put it on the server to un-tar it?

ndc85430 05-03-2014 07:31 AM

wget has a --no-check-certificate option that you may like to try (see the man page for details).

You can put a tarball in any directory to which you have write access (e.g. your home directory). There's no special place to put them.

battles 05-03-2014 07:35 AM

Success
 
Quote:

Originally Posted by ndc85430 (Post 5163823)
wget has a --no-check-certificate option that you may like to try (see the man page for details).

You can put a tarball in any directory to which you have write access (e.g. your home directory). There's no special place to put them.

Thanks. That worked. I was familiar with the wget --no-check-certificate parameter, but didn't think of it.

user@debian:~$ wget --no-check-certificate https://www.openssl.org/source/openssl-1.0.1g.tar.gz


All times are GMT -5. The time now is 01:40 AM.