LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-11-2012, 03:16 AM   #1
Laxman_prodigy
Member
 
Registered: Mar 2010
Location: New Delhi, India
Distribution: Slackware64 13.37
Posts: 104

Rep: Reputation: 0
Quick questions regarding installing multi-library packages!


Hi.
Needed skype and other apps to run, so thought of enabling 32 bit compatibility!!

I see the wiki as here: http://alien.slackbook.org/dokuwiki/...kware:multilib but, do I have to download every package one by one? As that's what I am doing right now! And do I have to download other files as well or just the .txz ones as that's the one we install with installpkg?

So, my question is : "How do you do it?"
 
Old 07-11-2012, 03:21 AM   #2
zordrak
Member
 
Registered: Feb 2008
Distribution: Slackware
Posts: 595

Rep: Reputation: 115Reputation: 115
What you do is follow the instructions on the page you have linked to.

First "Obtaining multilib packages" then "Enabling multilib support on Slackware64".
 
Old 07-11-2012, 03:22 AM   #3
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,386

Rep: Reputation: 1089Reputation: 1089Reputation: 1089Reputation: 1089Reputation: 1089Reputation: 1089Reputation: 1089Reputation: 1089
Quote:
Originally Posted by Laxman_prodigy View Post
I see the wiki as here: http://alien.slackbook.org/dokuwiki/...kware:multilib but, do I have to download every package one by one?
No.
Code:
cd ~
mkdir multilib
cd multilib
lftp -c "open http://connie.slackware.com/~alien/multilib/; mirror 13.37"
 
1 members found this post helpful.
Old 07-11-2012, 03:31 AM   #4
Laxman_prodigy
Member
 
Registered: Mar 2010
Location: New Delhi, India
Distribution: Slackware64 13.37
Posts: 104

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Didier Spaier View Post
No.
Code:
cd ~
mkdir multilib
cd multilib
lftp -c "open http://connie.slackware.com/~alien/multilib/; mirror 13.37"
Thanks Didier!! Fired it!
 
Old 07-11-2012, 04:56 AM   #5
Laxman_prodigy
Member
 
Registered: Mar 2010
Location: New Delhi, India
Distribution: Slackware64 13.37
Posts: 104

Original Poster
Rep: Reputation: 0
Okay, so I got upto the step where it says now, "Adding 32-bit Slackware libraries". Now, since I don't have the 32 bit DVD, how would I proceed?

Do I need to download the whole DVD or I can get away with ftp programs that fetch the required libraries only? I am new at this and doing a quite a bit of reading too. So, if there is/are command/s that can get the same job done without downloading the whole sets?
 
Old 07-11-2012, 05:06 AM   #6
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,866

Rep: Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885
A slight tweak to the lftp command and you could use it to fetch updates as well:

Code:
lftp -c "open http://connie.slackware.com/~alien/multilib/; mirror -en 13.37"
F.Y.I. As a one off download this would have worked as well (though syncing updates would be tricker):

Code:
wget -r -np -nH --cut-dirs 1 -Rindex.html* -erobots=off http://connie.slackware.com/~alien/multilib/13.37/
 
Old 07-11-2012, 05:12 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,307

Rep: Reputation: Disabled
Quote:
Originally Posted by Laxman_prodigy View Post
Okay, so I got upto the step where it says now, "Adding 32-bit Slackware libraries". Now, since I don't have the 32 bit DVD, how would I proceed?

Do I need to download the whole DVD or I can get away with ftp programs that fetch the required libraries only? I am new at this and doing a quite a bit of reading too. So, if there is/are command/s that can get the same job done without downloading the whole sets?
That question is answered in the "quick and dirty instructions":

Code:
If you are running Slackware 13.1 or newer, and downloaded the compat32-tools package for that
release, the massconvert32.sh script can use a remote webserver to download the 32-bit Slackware
packages from, instead of requiring a local Slackware mirror or a DVD. You use the ”-u” parameter to
specify the remote URL like this:

massconvert32.sh -u http://someserver.org/path/to/slackware-13.37/slackware
Eric

Last edited by Alien Bob; 07-11-2012 at 05:12 AM. Reason: Formatting
 
1 members found this post helpful.
Old 07-11-2012, 05:14 AM   #8
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,866

Rep: Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885
Quote:
Originally Posted by Laxman_prodigy View Post
Okay, so I got upto the step where it says now, "Adding 32-bit Slackware libraries". Now, since I don't have the 32 bit DVD, how would I proceed?

Do I need to download the whole DVD or I can get away with ftp programs that fetch the required libraries only? I am new at this and doing a quite a bit of reading too. So, if there is/are command/s that can get the same job done without downloading the whole sets?
You don't necessarily need to convert the 32 libs, instead you can install the packages within the slackware64-compat32 subdirectory. These have been done for you.

You are reading the README, right? This had the lftp command and advice with regards to the installing the libraries in the "Enabling multilib/Fast-track" section.
 
1 members found this post helpful.
Old 07-11-2012, 05:14 AM   #9
Laxman_prodigy
Member
 
Registered: Mar 2010
Location: New Delhi, India
Distribution: Slackware64 13.37
Posts: 104

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ruario View Post
A slight tweak to the lftp command and you could use it to fetch updates as well:

Code:
lftp -c "open http://connie.slackware.com/~alien/multilib/; mirror -en 13.37"
F.Y.I. As a one off download this would have worked as well (though syncing updates would be tricker):

Code:
wget -r -np -nH --cut-dirs 1 -Rindex.html* -erobots=off http://connie.slackware.com/~alien/multilib/13.37/
Hi.

Will the first command get the 32 bit Slackware tree/libraries? Coz I am stuck at this part of the multilib guidelines "Adding 32-bit Slackware libraries".

Edit: Roger that, I am on it. Thanks.

Last edited by Laxman_prodigy; 07-11-2012 at 05:16 AM. Reason: Same time posting.
 
Old 07-11-2012, 05:17 AM   #10
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,866

Rep: Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885
Quote:
Originally Posted by Laxman_prodigy View Post
Will the first command get the 32 bit Slackware tree/libraries?
yes
 
Old 07-11-2012, 05:19 AM   #11
Laxman_prodigy
Member
 
Registered: Mar 2010
Location: New Delhi, India
Distribution: Slackware64 13.37
Posts: 104

Original Poster
Rep: Reputation: 0
Okay, so as far I get it, the first two commands in the "The quick 'n' dirty instructions" is all I need to get the multilib functionality and the rest below are for things and stuff as and when needed right?
 
Old 07-11-2012, 05:23 AM   #12
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,866

Rep: Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885
The first two commands are for those with the slackware64-compat32 subdirectory (that would be you, if ran the suggested lftp command). The other commands there for those without this directory. The instructions do say all of this.

Quote:
Originally Posted by Alien Bob/The quick 'n' dirty instructions"
If you also downloaded a directory called slackware64-compat32 then you are lucky, because I did the 32bit package conversion for you already!
Quote:
Originally Posted by Alien Bob/The quick 'n' dirty instructions"
If you can't find that subdirectory called slackware64-compat32 then you have to do the conversion yourself.

Last edited by ruario; 07-11-2012 at 06:11 AM. Reason: Changed the quote to mention "Alien Bob" since he wrote the "The quick 'n' dirty instructions"
 
1 members found this post helpful.
Old 07-11-2012, 05:27 AM   #13
Laxman_prodigy
Member
 
Registered: Mar 2010
Location: New Delhi, India
Distribution: Slackware64 13.37
Posts: 104

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ruario View Post
The first two commands are for those with the slackware64-compat32 subdirectory (that would be you, if ran the suggested lftp command). The other commands there for those without this directory. The instructions do say this.
Aah, yes man! Slightly got confused with the continuous reading. So, I was saying, I have ran the first two commands after using the lftp command suggested by the some previous poster, it ran successfully and completed! Do I need to do more still? I am reading the following instructions and I am getting it quite! But, I think I got multi-lib'ed already, have I?
 
Old 07-11-2012, 06:09 AM   #14
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,866

Rep: Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885
You should be done, for the most part. Though you may also wish to configure slackpkg if you use that for updates, i.e.

Quote:
Originally Posted by Alien Bob/The quick 'n' dirty instructions
If you use a package manager like slackpkg you will have to add all the glibc and gcc package names to its package blacklist. If you do not take this precaution, you run the risk of your package manager accidentally replacing your multilib versions with Slackware's original pure 64-bit versions!
If you run Slackware 13.37 or newer, then slackpkg supports regular expressions in the blacklist file. In that case, a single line in /etc/slackpkg/blacklist will be enough to blacklist all of my packages (including multilib gcc and glibc packages and all compat32 packages):

Code:
[0-9]+alien

Last edited by ruario; 07-11-2012 at 06:14 AM.
 
1 members found this post helpful.
Old 07-11-2012, 06:16 AM   #15
Laxman_prodigy
Member
 
Registered: Mar 2010
Location: New Delhi, India
Distribution: Slackware64 13.37
Posts: 104

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ruario View Post
You should be done, for the most part. Though you may also wish to configure slackpkg if you use that for updates, i.e.
Hell I did that Ruario!! Thanks for helping all the way man! Appreciate it!
 
  


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
create a linux Multi-threaded library zali Programming 1 04-04-2008 04:59 PM
quick multi-boot kernel sharing question alabamaman Linux - Kernel 2 09-29-2007 02:49 AM
Installing GD library on Slack with packages rmg Linux - Software 3 08-02-2006 05:52 AM
Quick question regarding installing packages in freebsd obelxi *BSD 1 03-15-2005 01:08 PM
lots of quick questions, help please (kernel, installing stuff, etc) ixp Linux - Software 10 12-30-2003 08:14 PM


All times are GMT -5. The time now is 11:07 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