LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-18-2012, 06:30 PM   #1
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 788

Rep: Reputation: 112Reputation: 112
a question about multi lib


what would be the wget command be to download the multilib files needed for a full install of multilib ?
without downloading the whole website

my head starts to swim reading wget's man page long before I get it worked out

don't get me wrong I'm grateful to have the man page I just wish the most commonly used options came first

Last edited by rob.rice; 10-18-2012 at 06:35 PM.
 
Old 10-18-2012, 09:40 PM   #2
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,260

Rep: Reputation: 645Reputation: 645Reputation: 645Reputation: 645Reputation: 645Reputation: 645
I don't know how to do it with wget off-hand but if you're willing to use lftp, then the following should work:
Code:
$ lftp -c "open http://taper.alienbase.nl/mirrors/people/alien/multilib/14.0/ ; mget *"
If you want the compat32 packages as well then use this instead:
Code:
$ lftp -c "open http://taper.alienbase.nl/mirrors/people/alien/multilib/14.0/ ; mirror -i ."
 
1 members found this post helpful.
Old 10-19-2012, 01:05 AM   #3
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 523

Rep: Reputation: 140Reputation: 140
I use wget for a number of tasks, but it was just easier to use lftp based on information from Alien Bob's wiki site:

Code:
#!/bin/sh
# Grab multilib packages from Alien Bob site

VERSION=${VERSION:-14.0}
TOPDIR="/data/slackware"

echo "Syncing version multilib packages for '$VERSION' ..."

if [ ! -d ${TOPDIR}/multilib ]; then
  echo "Target directory ${TOPDIR}/multilib does not exist!"
  exit 1
fi

cd ${TOPDIR}/multilib
lftp -c "open http://connie.slackware.com/~alien/multilib/ ; mirror -e -n ${VERSION}"

echo ...done.
or "taper.alienbase.nl/mirrors/..." as appropriate. I think "mirror -e -n" is better than "mirror -i" for this case.
 
Old 10-20-2012, 11:29 AM   #4
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64
Posts: 134

Rep: Reputation: 20
Quote:
Originally Posted by rob.rice View Post
what would be the wget command be to download the multilib files needed for a full install of multilib ?
without downloading the whole website
The syntax below worked for me. It should download recursively, accepting (txz,txt,asc) extensions and GPG and README files, into a parent directory ("multilib") in the local directory. The -nH and cut-dirs will remove the host name and path (mirrors/people/...) otherwise you'll end up with a long local directory structure. You can tweak it to suit your needs.
Code:
wget -r -np -nH -Pmultilib --cut-dirs=5 -A txz,txt,asc,"GPG*","READM*" http://taper.alienbase.nl/mirrors/people/alien/multilib/14.0/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade 13.1 multi-lib to 13.37 explorer Slackware 1 04-29-2011 09:45 AM
[SOLVED] Missing libuuid.so.1 in multi-lib samac Slackware 7 02-23-2011 02:51 PM
Multi lib with current LFS? ProtoformX Linux From Scratch 6 08-06-2010 02:31 PM
[SOLVED] multi-lib Slackware64 13.1 slugman Slackware 5 07-10-2010 01:40 PM
Multi-Lib from Pure-64 reptiler Linux - General 10 04-01-2009 11:01 PM


All times are GMT -5. The time now is 04:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration