LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Should I travel the whole ftp://...pub/.../slackware-12.0 tree to download it? (http://www.linuxquestions.org/questions/slackware-14/should-i-travel-the-whole-ftp-pub-slackware-12-0-tree-to-download-it-888249/)

stf92 06-25-2011 12:53 AM

Should I travel the whole ftp://...pub/.../slackware-12.0 tree to download it?
 
Hi:

In ftp://ftp.slackware.com/pub/slackware/, I am in the page with the different slack distros (versions). And I want to download 12.0.

I find dir Slackware-12.0 is the parent of a three-level deep subtree (of course there is Slackware-12.0.iso too). And I know of no other way of downloading than clicking the files themselves (leaves). Due to the hugh amount of work involved in such a procedure, there must be some other way to download. Do you know which one? Thanks.

allend 06-25-2011 01:12 AM

From the command line, this command would download all the Slackware 12.0 files except the kde internationalisation files.
Code:

wget -r -nH --cut-dirs=3 -P <destination directory> -X /pub/slackware/slackware-12.0/slackware/kdei/ ftp://ftp.slackware.com/pub/slackware/slackware-12.0/
PS - You are encouraged to use a mirror rather than slackware.com directly.

I am not sure when gftp entered Slackware, but it is a useful GUI tool.

stf92 06-25-2011 01:42 AM

Still more work! Just kidding. I pasted and sent the cl to frag.txt. Then,
Code:

$ u14=$(cat frag.txt)
$ wget $u14

I forgot about wget, but to figure out the correct cl (AKA command line) would have taken more work than that I wanted to avoid. Thanks a lot.

PD - I allways try Brazil first but the connection keep failing. And USA is nearest to me, only that I did not see it was slackware.com itself.

sahko 06-25-2011 02:13 AM

Its better to use a tool like rsync. You could adopt a script like http://www.slackware.com/~alien/tool...are-current.sh to your needs.

stf92 06-25-2011 02:35 AM

I looked at wikipedia, and I found rsync the what the pros of it are. I looks great. Thanks again.

H_TeXMeX_H 06-25-2011 04:14 AM

I prefer lftp for grabbing files from ftp servers, but you can use any of the above programs.

stf92 06-25-2011 05:37 AM

Hi: I see I've got a great many options before me. Now, I almost always tend towards the simplest and less elaborate. The simplest the system, the greater part of it that I shall come to understand and govern.

One more remote file copy program to add to the list. Thanks.

stf92 06-25-2011 06:04 AM

Hi:

ftp://ftp.slackware.com/pub/slackwar...ware-12.0-iso/ I thought is a directory were I would find the iso images of slack 12.0. To my surprise, however, I only find .asc and .md5 files there. E.g., slackware-12.0-install-d3.iso.asc and slackware-12.0-install-d3.iso.md5 are there. OK, I need these files (I want to download slack 12.0 disk 3). But where is the ISO image?

EDIT:
I've just googled and found myself in http://mirror.muntinternet.net/pub/s...-source-d4.iso
a 658MB file. Will this be a verbatim copy of file with the same name in the above mentioned directory? [Sorry: obviously the sources]

H_TeXMeX_H 06-25-2011 02:44 PM

Check the md5sums to make sure you download it correctly. All files of the same name should be identical on all official servers, if they are not, they are corrupt or hacked.

stf92 06-25-2011 05:07 PM

Thanks, H_TeXMeX_H.

afreitascs 06-25-2011 11:33 PM

I do not know if I understand correctly (my English is bad but ...),link to an .iso Slackware12.0

ftp://carroll.cac.psu.edu/pub/linux/...ware-12.0-iso/

stf92 06-26-2011 03:36 AM

My English isn't too good either. Thanks for the link. By the way, is it sufficient to verify the file with the .md5 file or should I make use of the .asc too? All I know is the .asc is a newer and more secure way of checking file integrity.

wildwizard 06-26-2011 04:01 AM

The asc file is a digital signature for the file to ensure it comes from who it claims to be from
The md5 is just a hash to ensure the file is the same once you download it from a server

For the asc file to be of use you need to have a copy of the public key from http://www.slackware.com/gpg-key and know how to use it with gpg.

stf92 06-26-2011 04:50 AM

Thanks for the info.

mRgOBLIN 06-26-2011 07:40 PM

Quote:

Originally Posted by wildwizard (Post 4395928)
The asc file is a digital signature for the file to ensure it comes from who it claims to be from

It also assures you that the contents of the file have not been altered in any way since the signature was made.

A reasonably good/simple approach would be to gpg --verify the signature for the CHECKSUM.md5 file and then use that to verify the files via md5sum.


All times are GMT -5. The time now is 07:19 AM.