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 12-09-2010, 02:30 PM   #1
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 284

Rep: Reputation: 162Reputation: 162
[ANN] First public release of multilibpkg !


Hello Slackers,

As I said in another post, after having wrote compat32pkg, I started to write another tools for the multilib which I called multilibpkg.

This tool aims to help user to manage (install, upgrade, uninstall) the 64-bit part of alienBob's multilib for Slackware-64, which includes the packages below :
glibc
glibc-i18n
glibc-profile
glibc-solibs
glibc-zoneinfo
gcc
gcc-g++
gcc-gfortran
gcc-gnat
gcc-java
gcc-objc
compat32-tools
You will find this new tool and a full documentation at http://multilibpkg.sourceforge.net

However, before grabbing it, let me talk a bit about it.

First of all, multilibpkg is only able to manage the 64-bit part of the multilib. This means that to manage the 32-bit part of the multilib (ie the 32-bit
compatibility layer
), you will have to use compat32pkg, or by any other way.

To install the "64-bit part of the multilib", multilibpkg must be used in mode --install. As this mode requires a source to get multilib
packages, a multilib-mirror should have to be supplied in argument of parameter --mirror, unless a default-mirror has been defined into
configuration's script /etc/multilibpkg/multilibpkg.conf (variable DEFAULT_ML64_MIRROR) :

Code:
$ multilibpkg --mirror @Official-13.1 --install

$ multilibpkg --install
--install can also be used in one of the two degraded mode: --download-only and --dry-run. The first will only download the packages
and the second will download them and simulates only their installation :

Code:
$ multilibpkg --install --download-only

$ multilibpkg --mirror @Official-current --install --dry-run
multilibpkg allows user to check/enumerate available updates for the 64-bit part of the multilib installed onto the local system. As
--install, a multilib-mirror is required unless a default mirror is defined :

Code:
$ multilibpkg --mirror @Official-13.0 --check-updates

$ multilibpkg --check-updates

$ multilibpkg --mirror http://connie.slackware.com/~alien/multilib/13.1 --list-updates

$ multilibpkg --mirror ~/mirrors/~alien-multilib/13.0 --list-updates

When updates are available, you can install them using multilibpkg in mode --upgrade :

Code:
$ multilibpkg --upgrade

$ multilibpkg --mirror @Official-13.1 --upgrade
Like --install, --upgrade can be used in degraded-mode --download-only or --dry-run

Code:
$ multilibpkg --upgrade --download-only

$ multilibpkg --mirror @Official-13.1 --upgrade --dry-run
multilibpkg can also used to uninstall the 64-bit part of the multilib. In argument this mode requires a Slackware-64 mirror from which
multilibpkg will get the 64-bit pure packages that will supersede the packages that provide the 64-bit part of the multilib. Unlike others
mode, there's no way to define a default Slackware-64 mirror :

Code:
$ multilibpkg --uninstall ftp://mirrors.kernel.org/slackware/slackware64-13.0

$ multilibpkg --uninstall @Netherlands-13.1
In fact, the uninstall is a two step process. 1) installed packages of the "64-bit part of the multilib" are superseded by their 64-bit pure counterpart
available onto the selected slackware-64 mirror. 2) The installed packages of the "64-bit part of the multilib" which have no 64-bit pure counterpart are removed.

Like --install and --upgrade, --uninstall can be used in degraded-mode --download-only or --dry-run :

Code:
$ multilibpkg --uninstall @Finland-13.0 --download-only

$ multilibpkg --uninstall @USA-13.1 --dry-run
To avoid system breakage, multilibpkg includes also a mechanism to preventing of installation of incompatible version of the multilib, and to
preventing of uninstalling the multilib using an incompatible version of slackware.

Finally, I will talk about compat32pkg which has been a bit improved few day ago. Indeed, I added an alias (ie layer-32) for the file
/etc/compat32pkg/multilib-32bit-packages.lst which aims to simplify management of the 32-bit part of the multilib. By now,
this layer can be installed, upgraded, uninstalled like that :

Code:
$ compat32pkg --mirror @UK-13.0 --install layer-32

$ compat32pkg --mirror @Norway-13.1 --upgrade layer-32

$ compat32pkg --remove layer-32
So with this new version of compat32pkg and the new tool multilibpkg, the installation (for example) of the multilib could be done
like this :

Code:
$ multilibpkg --mirror @Official-13.1 --install && compat32pkg --mirror @USA-13.1 --install layer-32

Hoping all of this will be helpful.

Have Fun !

Cheers.

Last edited by phenixia2003; 12-15-2010 at 09:57 AM. Reason: Clarification about which packages are managed by multilibpkg
 
Old 12-09-2010, 02:56 PM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,402

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
tnx for easing life of us multilibberz
 
Old 12-09-2010, 05:16 PM   #3
rigelan
Member
 
Registered: Jul 2005
Location: Iowa
Distribution: Slackware
Posts: 172

Rep: Reputation: 19
by "only the 64-bit part of the multilib"

do you mean only the multilib

gcc
gcc-g++
gcc-gfortran
gcc-gnat
gcc-objc
glibc
glibc-i18n
glibc-profile
glibc-solibs
glibc-zoneinfo

Packages?

Edit: I read the first paragraph - but missed (probably because it wasn't in bold) where you mentioned this. I see it now.

Last edited by rigelan; 12-09-2010 at 05:18 PM.
 
Old 12-15-2010, 10:12 AM   #4
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 284

Original Poster
Rep: Reputation: 162Reputation: 162
Hello,

I just saw it exists another multilib-mirror here.

I'm going to add it into the mirrors list provided by multilibpkg, but before that, I would like to know if there are others that I should add to this list ?

Greetings.

--
SeB
 
  


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
LXer: First public release of Silverlight for Linux is out LXer Syndicated Linux News 0 05-15-2008 08:50 PM
LXer: First public release of Web Console LXer Syndicated Linux News 0 03-26-2008 10:00 AM
mandriva 2006 iso public release date ??? varun_saa Mandriva 14 11-05-2005 12:42 PM
Brutal Chess Public Release gauntalus Linux - Games 14 08-05-2005 09:27 AM
Is Mandrake ever going to decide to release their public ISO's? Kramer Mandriva 1 05-23-2004 10:32 PM


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