Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-18-2012, 07:30 PM   #1
Senior Member
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,007

Rep: Reputation: 168Reputation: 168
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 07:35 PM.
Old 10-18-2012, 10:40 PM   #2
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,366

Rep: Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835
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:
$ lftp -c "open ; mget *"
If you want the compat32 packages as well then use this instead:
$ lftp -c "open ; mirror -i ."
1 members found this post helpful.
Old 10-19-2012, 02:05 AM   #3
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.2 Slackware 14.2, Slackware{32,64}-current
Posts: 785
Blog Entries: 3

Rep: Reputation: 275Reputation: 275Reputation: 275
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:

# Grab multilib packages from Alien Bob site


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

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

cd ${TOPDIR}/multilib
lftp -c "open ; mirror -e -n ${VERSION}"

echo ...done.
or "" as appropriate. I think "mirror -e -n" is better than "mirror -i" for this case.
Old 10-20-2012, 12:29 PM   #4
Registered: Feb 2010
Distribution: Slackware64-14.2
Posts: 208

Rep: Reputation: 52
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.
wget -r -np -nH -Pmultilib --cut-dirs=5 -A txz,txt,asc,"GPG*","READM*"


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 10:45 AM
[SOLVED] Missing in multi-lib samac Slackware 7 02-23-2011 03:51 PM
Multi lib with current LFS? ProtoformX Linux From Scratch 6 08-06-2010 03:31 PM
[SOLVED] multi-lib Slackware64 13.1 slugman Slackware 5 07-10-2010 02:40 PM
Multi-Lib from Pure-64 reptiler Linux - General 10 04-02-2009 12:01 AM > Forums > Linux Forums > Linux - Distributions > Slackware

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

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