[BL] Help for a newbie

James Miller jamtat at mailsnare.net
Thu Jan 11 13:07:27 EST 2007


To add a further bit of information to the nice description Karolis provided:

On Thu, Jan 11, 2007 at 07:38:04PM +0200, Karolis Lyvens wrote:
> 
> Full version of GNU Wget can do this. Get it with this command:

First, create a directory where you'll store packages you want to install on your BL system. 
I like Sindi's approach of making a directory called "tgz" under /tmp and putting these 
things there (.tgz is the extension for Slackware and BL packages). So, do 

----
mkdir /tmp/tgz
----

Then, cd to that newly-created directory before using wget to download packages 
(packages/things you download using wget end up in whatever directory you're in when you run 
it, so long as you have write permissions in that directory):

----
cd /tmp/tgz
----

Then, proceed with Karolis' fine instructions.

> ---
> wget http://text.mirror.ac.uk/mirror/ftp.slackware.com/slackware-4.0/slakware/n7/wget.tgz
> ---
> 
> and install it with this command:
> 
> --
> pkg wget.tgz
> --
> 
> Now, if you want to download a website or ftp-site recursively (so that
> you can browse it offline), you can issue the following command:
> 
> --
> wget -k -p -np -r URL
> --
> 
> And wget will mirror the site for you. Some explanations of parameters
> used:
> 
> 
> -k = --convert-links 	-- convert links in these pages to be relative
>     ones so that you can browse that site offline
> -p = --page-requisites	-- download webpage's requisites - images, etc
> -np = --no-parent	-- prevent going up. For example, it will
>     prevent downloading http://somesite.com/user/dir or
>     http://somesite.com/user/dir/NT if you're trying to download only
>     http://somesite.com/user/dir/DOS
>     -r = --recursive	-- Turn on recursive retrieving.
> 
> 
> Or, if that's too difficult, here's an already downloaded copy:
> 
> http://82.135.162.105/BL/sylpheeddoc/sylphdoc_wimg.tgz	(with images)
> http://82.135.162.105/BL/sylpheeddoc/sylphdoc_woimg.tgz	(without images)

James



More information about the BasLinux mailing list