My way for install multilib [ The hard way ] + nvidia legacy drivers 390.157

Other talk about Salix
Post Reply
inukaze
Posts: 28
Joined: 24. Nov 2024, 18:42

My way for install multilib [ The hard way ] + nvidia legacy drivers 390.157

Post by inukaze »

Hello to all the users of this forum, I'm coming from Slackaware(64) 15.0 to experiment with Salix,

NOTES :
A) Some parts are on spanish because that is my native language
B) This is the hard way to do this
C) Your message contains 62530 characters.
The maximum number of allowed characters is 60000.I have Salix recently installed and I haven't made many modifications but I've noticed a few things

I've noticed that for example the new salix driver, I tend to crash my computer when it decodes by GPU, since using Telegram I start to see a video if I press ESC this automatically crashes the whole machine.

If I play videos with VLC and try to go back or forward 5 seconds or a minute, exactly the same thing happens, it seems like some error with VDPAU but I'm not sure.

Because of this, I'm going to install multilib my way, and then install the proprietary nvidia drivers with 32-bit support so I can fully use my GPU which is a Nvidia GeForce GT 620 (rev a1) [MSI]

Data extracted from

Code: Select all

lspci -vv
02:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 620] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] GF108 [GeForce GT 620]
Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau
Data extracted from

Code: Select all

lspci -vmm :
Slot: 02:00.0
Class: VGA compatible controller
Vendor: NVIDIA Corporation
Device: GF108 [GeForce GT 620]
Vendor: Micro-Star International Co., Ltd. [MSI]
SDevice: GF108 [GeForce GT 620]
Rev: a1
NUMANode:
Data extracted from

Code: Select all

lspci -k -n:
02:00.0 0300:10de:0f01 (rev a1)
Subsystem: 1462:8a91
Well i go to use my way to install multilib and compat32pkg :

Code: Select all

su

cd /tmp
rm -rf * .*
#Download :

Code: Select all

#Download
wget -c 'http://www.slackware.com/~alien/multilib/15.0/compat32-tools-3.10-noarch-3alien.tgz' -O 'compat32-tools-3.10-noarch-3alien.tgz'
wget -c 'http://sourceforge.net/projects/multilibpkg/files/1.3.131002/multilibpkg-1.3.131002-noarch-1_SeB.tgz/download' -O 'multilibpkg-1.3.131002-noarch-1_SeB.tgz'
wget -c 'http://sourceforge.net/projects/compat32pkg/files/1.6.131213/compat32pkg-1.6.131213-noarch-6_SeB.tgz/download' -O 'compat32pkg-1.6.131213-noarch-6_SeB.tgz'
#Install packages :

Code: Select all

installpkg compat32-tools-3.10-noarch-3alien.tgz 
installpkg compat32pkg-1.6.131213-noarch-6_SeB.tgz
installpkg multilibpkg-1.3.131002-noarch-1_SeB.tgz
NOTE : i had symbolic link from /usr/bin/joe to /usr/bin/editor , well the lftp tool is need by this package, if you want you can install using the follow command

Code: Select all

slapt-get -i joe lftp
#Edit the multilib mirrors sources file / edit multilib mirrors

Code: Select all

editor /etc/multilibpkg/multilib-mirrors
Content of my file /etc/multilibpkg/multilib-mirrors
# List of alienBOB's multilib mirrors for multilibpkg
#
# Each entries of this file follow the syntax below:
#
# mirror-entry ::= <key>=<mirror-addr>
# key ::= STRING
# mirror-addr ::= <local-directory>|<url>
#

# -- official alienBOB's multilib mirrors.
#
Official-13.0 = http://connie.slackware.com/~alien/multilib/13.0
Official-13.1 = http://connie.slackware.com/~alien/multilib/13.1
Official-13.37 = http://connie.slackware.com/~alien/multilib/13.37
Official-14.0 = http://connie.slackware.com/~alien/multilib/14.0
Official-14.1 = http://connie.slackware.com/~alien/multilib/14.1
Official-14.2 = http://connie.slackware.com/~alien/multilib/14.2
Official-15.0 = http://connie.slackware.com/~alien/multilib/15.0
Official-current = http://connie.slackware.com/~alien/multilib/current

alienbase.nl-13.0 = http://taper.alienbase.nl/mirrors/pe.../multilib/13.0
alienbase.nl-13.1 = http://taper.alienbase.nl/mirrors/pe.../multilib/13.1
alienbase.nl-13.37 = http://taper.alienbase.nl/mirrors/pe...multilib/13.37
alienbase.nl-14.0 = http://taper.alienbase.nl/mirrors/pe.../multilib/14.0
alienbase.nl-14.1 = http://taper.alienbase.nl/mirrors/pe.../multilib/14.1
alienbase.nl-14.2 = http://taper.alienbase.nl/mirrors/pe.../multilib/14.2
alienbase.nl-15.0 = http://taper.alienbase.nl/mirrors/pe.../multilib/15.0
alienbase.nl-current = http://taper.alienbase.nl/mirrors/pe...ltilib/current

slackware.org.uk-13.0 = http://slackware.org.uk/people/alien/multilib/13.0
slackware.org.uk-13.1 = http://slackware.org.uk/people/alien/multilib/13.1
slackware.org.uk-13.37 = http://slackware.org.uk/people/alien/multilib/13.37
slackware.org.uk-14.0 = http://slackware.org.uk/people/alien/multilib/14.0
slackware.org.uk-14.1 = http://slackware.org.uk/people/alien/multilib/14.1
slackware.org.uk-14.2 = http://slackware.org.uk/people/alien/multilib/14.2
slackware.org.uk-15.0 = http://slackware.org.uk/people/alien/multilib/15.0
slackware.org.uk-current = http://slackware.org.uk/people/alien/multilib/current

scw.net.br-13.0 = http://scw.net.br/alien/multilib/13.0
scw.net.br-13.1 = http://scw.net.br/alien/multilib/13.1
scw.net.br-13.37 = http://scw.net.br/alien/multilib/13.37
scw.net.br-14.0 = http://scw.net.br/alien/multilib/14.0
scw.net.br-14.1 = http://scw.net.br/alien/multilib/14.1
scw.net.br-14.2 = http://scw.net.br/alien/multilib/14.2
scw.net.br-15.0 = http://scw.net.br/alien/multilib/15.0
scw.net.br-current = http://scw.net.br/alien/multilib/current

repo.ukdw.ac.id-13.0 = http://repo.ukdw.ac.id/alien-multilib/13.0
repo.ukdw.ac.id-13.1 = http://repo.ukdw.ac.id/alien-multilib/13.1
repo.ukdw.ac.id-13.37 = http://repo.ukdw.ac.id/alien-multilib/13.37
repo.ukdw.ac.id-14.0 = http://repo.ukdw.ac.id/alien-multilib/14.0
repo.ukdw.ac.id-14.1 = http://repo.ukdw.ac.id/alien-multilib/14.1
repo.ukdw.ac.id-14.2 = http://repo.ukdw.ac.id/alien-multilib/14.2
repo.ukdw.ac.id-15.0 = http://repo.ukdw.ac.id/alien-multilib/15.0
repo.ukdw.ac.id-current = http://repo.ukdw.ac.id/alien-multilib/current

alien.slackbook.org-13.0 = http://alien.slackbook.org/multilib/13.0
alien.slackbook.org-13.1 = http://alien.slackbook.org/multilib/13.1
alien.slackbook.org-13.37 = http://alien.slackbook.org/multilib/13.37
alien.slackbook.org-14.0 = http://alien.slackbook.org/multilib/14.0
alien.slackbook.org-14.1 = http://alien.slackbook.org/multilib/14.1
alien.slackbook.org-14.2 = http://alien.slackbook.org/multilib/14.2
alien.slackbook.org-15.0 = http://alien.slackbook.org/multilib/15.0
alien.slackbook.org-current = http://alien.slackbook.org/multilib/current

# -- local multilib mirrors (samples)
#
# john.doe-13.0 = /home/john.doe/mirrors/~alien/multilib/13.0
# john.doe-13.1 = /home/john.doe/mirrors/~alien/multilib/13.1
# john.doe-14.0 = /home/john.doe/mirrors/~alien/multilib/14.0
# john.doe-14.1 = /home/john.doe/mirrors/~alien/multilib/14.1
# john.doe-14.2 = /home/john.doe/mirrors/~alien/multilib/14.2
# john.doe-15.0 = /home/john.doe/mirrors/~alien/multilib/15.0
# john.doe-XX.Y = /home/john.doe/mirrors/~alien/multilib/XX.Y
# john.doe-current = /home/john.doe/mirrors/~alien/multilib/current
if you read https://docs.salixos.org/user/multilib, you notice use the "Official" is exactly the same.

# Now i should edit the multilib configuration file :

Code: Select all

editor /etc/multilibpkg/multilibpkg.conf
The content of my file, /etc/multilibpkg/multilibpkg.conf
# -- configuration script for multilibpkg (1.2.120824)
#
# 1.2.120425: added "gcc-go" into MULTILIB64_PACKAGES.
#
# 1.2.120824: updated MULTILIB64_SIGNATURES.


# -- WORKDIR is required and must refer to the working directory
# used by script multilibpkg. By default, WORKDIR is set to
# "/var/lib/multilibpkg".
#
WORKDIR=/var/lib/multilibpkg

# -- MULTILIBPKG_CACHE is required and must refer to the directory in
# which packages downloaded from mirrors will be stored. By default,
# MULTILIBPKG_CACHE is set to /var/cache/multilibpkg.
#
MULTILIBPKG_CACHE=/var/cache/multilibpkg


# -- DEFAULT_ML64_MIRROR is optional. When defined, it must refer to the
# multilib mirror that will be used by multilibpkg, in mode --install,
# --check-updates, --list-updates, and --upgrade, when user does not
# provide one on the command line. By default, DEFAULT_ML64_MIRROR is
# set to "". When defined, its value can be :
#
# + A local directory containing a valid multilib tree.
# + The URL of an official mulitlib mirror.
# + The key introduced by an "at symbol" of one of the mirrors
# given into the file /etc/multilibpkg/multilib-mirrors
#
# Examples:
# DEFAULT_ML64_MIRROR=~/mirrors/alien/multilib/13.1
# DEFAULT_ML64_MIRROR=http://connie.slackware.com/~alien/multilib/13.0
# DEFAULT_ML64_MIRROR=@Official-13.1
#
DEFAULT_ML64_MIRROR="http://www.slackware.com/~alien/multilib/15.0"

# -- MULTILIB64_PACKAGES is required. This is an array containing
# the packages (their basenames) which form the '64-bit part of
# the multilib'.
#
MULTILIB64_PACKAGES=( \
"compat32-tools" \
"gcc" \
"gcc-g++" \
"gcc-gfortran" \
"gcc-gnat" \
"gcc-go" \
"gcc-java" \
"gcc-objc" \
"glibc" \
"glibc-i18n" \
"glibc-profile" \
"glibc-solibs" \
"glibc-zoneinfo" \
)

# -- MULTILIB64_SIGNATURES is required. It defines the signatures, as
# an array of regular-expressions, of the field 'build' of packages
# which form the '64-bit part of the multilib'
#
# These signatures are used in conjunction with MULITLIB64_PACKAGES to
# identify :
#
# + The packages of the '64-bit part of the multilib' onto the selected
# multilib mirror.
#
# + The installed packages of the '64-bit part of the multilib' onto the
# local system.
#
# The expressions in the array below, which can be hard to understand for
# grep-newbies, simply accepts packages whose field 'build' is set to
# values like:
# 1alien
# 12alien
# 1alien_slack13.1
# 12alien_slack13.1.1
# 666alien_slack666
# 1fix1_alien
# 1fix1_alien_slack14.0
#
# Users should not modify this variable. However, if you need to do that,
# be careful to not remove (or comment) the opening and/or closing
# parentheses.
#
# FOR ADVANCED USERS ONLY:
# Each of the signatures inside of MULTILIB64_SIGNATURES must not contain
# the meta-character '^', nor '$'. This constraint is due to the fact that
# multilibpkg uses these signatures inside of expressions of kind
# "<build>:signature:</build>".
#
MULTILIB64_SIGNATURES=(\
"[[:digit:]]\+alien" \
"[[:digit:]]\+alien[_]slack[[:digit:]]\+\(\([.][[:digit:]]\+\)\)*" \
"[[:digit:]]\+fix[[:digit:]]\+[_]alien" \
"[[:digit:]]\+fix[[:digit:]]\+[_]alien[_]slack[[:digit:]]\+\(\([.][[:digit:]]\+\)\)*" \
)

# -- BLACKLIST is optional. When defined, this must be an array containing
# the basename of multilib packages to blacklist, which must not be
# installed.
#
# For instance, to avoid installation of multilib version of gcc and
# glibc-zoneinfo packages, this variable must be declared as below :
#
# BLACKLIST=( "gcc" "glibc-zoneinfo" )
#
# To avoid installation of multilib version of all gcc packages,
# this variable must be declared as below :
#
# BLACKLIST=( "gcc.*" )
#
BLACKLIST=""

# -- SLACK64_PRECEDENCE_ORDER is required. This is an array containing
# the packages precedences order, from the most important to the least
# important, given by patterns of kind "baseref".
#
# The order given in this array is used to resolve conflicts between
# packages and more precisely to give the priority to the more recent
# packages from a Slackware-64 mirror when running multilibpkg in mode
# --uninstall.
#
# With default configuration, user has guarantee that uninstall of
# the '64-bit part of the multilib' will imply installation of the
# latest (or more up to date) version of 'glibc' (for example)
# available onto the Slackware-64 mirror given in argument of
# parameter --uninstall.
#
# Users should not modify this variable. However, if you need to do that,
# be careful to not remove (or comment) the opening and/or closing
# parentheses.
#
# FOR ADVANCED USERS ONLY:
# If for one or another reason you want to install the base versions
# instead of those from "patches", you only have to change the precedence
# order to something like :
# + ( "slackware64/.*" ) : to get rid of all patches
# + ( "slackware64/l/glibc" "patches/.*) : to get rid of some patches
#
SLACK64_PRECEDENCE_ORDER=( "patches/packages/.*" "slackware64/.*" )

# -- PACKAGES_INSTALL_ORDER is required. It defines the install/upgrade
# order of the packages. This order is given into an array containing
# patterns of kind "basename".
#
# PACKAGE_INSTALL_ORDER is applied in all cases: when installing the
# multilib, when checking for updates, when upgrading the multilib, and,
# when uninstalling the multilib. In this last case, the order is applied
# to the 64-bit pure packages which supersede the installed multilib packages.
#
# With default configuration, user has guarantee that packages and updates
# will be installed in the right order, which means that glibc-solibs will
# be always installed first.
#
# The packages not specified in PACKAGES_INSTALL_ORDER will be processed
# after all other.
#
# Users should not modify this variable. However, if you need to do that,
# be careful to not remove (or comment) the opening and/or closing
# parentheses.
#
PACKAGES_INSTALL_ORDER=( "glibc-solibs" "glibc.*" "gcc.*" )

# -- PACKAGE_INTEGRITY_CHECK is required. It defines whether integrity
# of packages downloaded from mirrors must or not being checked. By
# default, the integrity checking is enabled.
#
# PACKAGE_INTEGRITY_CHECK can be set to $TRUE (integrity checking enabled),
# or to $FALSE (integrity checking disabled).
#
# When enabled, integrity checking mechanism requires availability of
# the commands 'gpg' and 'md5sum' onto the local system.
#
PACKAGE_INTEGRITY_CHECK=$TRUE

# -- PREVENT_SYSTEM_BREAKAGE is required. It allows to enable or disable
# the mechanism to preventing accidental system breakage. By default,
# this mechanism is enabled.
#
# PREVENT_SYSTEM_BREAKAGE can be set to $TRUE (enable the mechanism),
# or, to $FALSE (disable the mechanism).
#
# when enabled, this mechanism is able to preventing install of packages
# which could lead to system breakage.
#
PREVENT_SYSTEM_BREAKAGE=$TRUE

# -- RUNLEVEL_RULE is required. It defines what multilibpkg must do when
# in mode --install, --upgrade, --uninstall, while the system is not
# in run level 1. By default, RUNLEVEL_RULE is set to ASK.
#
# RUNLEVEL_RULE is not applied when mode "download-only" or "dry-run"
# is used in conjunction with --install, --upgrade, --uninstall.
#
# RUNLEVEL_RULE can be set to NONE, WARN:<duration>, ASK, or ERROR.
#
# When RUNLEVEL_RULE is set to NONE, multilibpkg will continue whatever
# the current run level is.
#
# When RUNLEVEL_RULE is set to WARN:<duration>, multilibpkg will warn
# the user and pauses execution for the given amount of time (in seconds).
# For example, "WARN:30" will imply a warn followed by a pause of 30
# seconds. when duration is not specified or invalid, the pause will be
# 15 seconds long.
#
# When RUNLEVEL_RULE is set to ASK, multilibpkg will warn the user,
# and prompts him to confirm continuation of the process. If continuation
# is dismissed, multilibpkg is terminated with 99 as exit code.
#
# When RUNLEVEL_RULE is set to ERROR, multilibpkg will throw an error
# and is terminated with 1 as exit code.
#
RUNLEVEL_RULE=ASK

################################################################
# -- Developer Section -- #
################################################################


###
# As this script is included into the script multilibpkg, it
# implicitly inherits of the following declaration:
#
# TRUE = 0
# FALSE = 1
# DEVEL = $TRUE in case of development version of multilibpkg,
# $FALSE otherwise
###


# -- The code below will be executed only in case of development
# version of multilibpkg. Users do not have to worry about that.
#
if [ $DEVEL -eq $TRUE ]; then
echo ""
echo "(Info) developement version of multilibpkg detected. Overwriting "
echo "(Info) WORKDIR, MULTILIBPKG_CACHE, DEFAULT_ML64_MIRROR"

WORKDIR=/tmp/multilibpkg-devel
MULTILIBPKG_CACHE=${WORKDIR}/cache/multilibpkg
DEFAULT_ML64_MIRROR=@Official-15.0
fi
i just configure one mirror because in the salix documentation, just use one, the official

# clear the cache of multilibpkg tool :

Code: Select all

multilibpkg --clear-cache
# In this point, the documentation of multilibpkg tool, recommend switch to init 1 to install.

Code: Select all

init 1
When you see the message " Going to user single mode ", press Crtl+Alt+F1
and enter in root account.

Code: Select all

multilibpkg --mirror @Official-15.0 --install
multilibpkg ver. 1.3.131002 (stable)

Do you want to continue (Y/N) ? Y
[--install] Started on Tue 21 Jan 2025 09:31:16 PM -04
[--install] Using multilib-mirror http://connie.slackware.com/~alien/multilib/15.0
[--install] Local system is Slackware/x86_64 version 15.0
[--install] Mirrored multilib dedicated to Slackware/x86_64 version 15.0
[--install] Downloaded packages will be stored into /var/cache/multilibpkg

[--install] 10 package(s) were found (0,231 sec.)

[--install] Downloading 64-bit multilib packages...
(WORKING) Downloading GPG-KEY
Well i press shift+repag but i can't scroll back to transcribe line by line the exact output
but in resume installed 10 packages for multilib, and i see for a second time the process
but in the second appears [ notes ]

Well im going to runlevel 4

Code: Select all

init 4
Start you session normally and open a terminal and access to root account with "su" command

#Check #multilibpkg #updates

Code: Select all

multilibpkg --mirror @Official-15.0 --check-updates
multilibpkg ver. 1.3.131002 (stable)
[--check-updates] Started on Tue 21 Jan 2025 10:15:50 PM -04
[--check-updates] Using multilib-mirror http://connie.slackware.com/~alien/multilib/15.0
[--check-updates] Local system is Slackware/x86_64 version 15.0
[--check-updates] Mirrored multilib dedicated to Slackware/x86_64 version 15.0

[--check-updates] 3 update(s) were found [ 0 package(s) to upgrade, 3 package(s) to add ] (0,146 sec.)

[--check-updates] Ended on Tue 21 Jan 2025 10:15:50 PM -04

#list #multilibpkg #updates

Code: Select all

multilibpkg --mirror @Official-15.0 --list-updates
multilibpkg ver. 1.3.131002 (stable)
[--list-updates] Started on Tue 21 Jan 2025 10:16:33 PM -04
[--list-updates] Using multilib-mirror http://connie.slackware.com/~alien/multilib/15.0
[--list-updates] Local system is Slackware/x86_64 version 15.0
[--list-updates] Mirrored multilib dedicated to Slackware/x86_64 version 15.0

[--list-updates] 3 update(s) were found [ 0 package(s) to upgrade, 3 package(s) to add ] (0,157 sec.)

[ package-basename ] [ installed version ] [ update version ]
gcc-brig ** NOT INSTALLED ** -> 11.2.0_multilib build 2alien
gcc-gdc ** NOT INSTALLED ** -> 11.2.0_multilib build 2alien
aaa_glibc-solibs ** NOT INSTALLED ** -> 2.33_multilib build 7alien

[--list-updates] Ended on Tue 21 Jan 2025 10:16:34 PM -04
#upgrade ( and/or install missing) #multilibpkg #packages

Code: Select all

multilibpkg --mirror @Official-15.0 --upgrade
multilibpkg ver. 1.3.131002 (stable)
(WARNING) You're using multilibpkg in mode --upgrade, while the system is not
(WARNING) in run level 1: current runlevel is (4).

Do you want to continue (Y/N) ? Y
[--upgrade] Started on Tue 21 Jan 2025 10:18:58 PM -04
[--upgrade] Using multilib-mirror http://connie.slackware.com/~alien/multilib/15.0
[--upgrade] Local system is Slackware/x86_64 version 15.0
[--upgrade] Mirrored multilib dedicated to Slackware/x86_64 version 15.0
[--upgrade] Downloaded packages will be stored into /var/cache/multilibpkg

[--upgrade] 3 update(s) were found [ 0 package(s) to upgrade, 3 package(s) to add ] (0,163 sec.)

[--upgrade] Downloading 64-bit multilib updates ...

[--upgrade] [ package ] [ download ] [ signature ]
[--upgrade] gcc-brig-11.2.0_multilib-x86_64-2alien.txz OK OK
[--upgrade] gcc-gdc-11.2.0_multilib-x86_64-2alien.txz OK OK
[--upgrade] aaa_glibc-solibs-2.33_multilib-x86_64-7alien.txz OK OK

[--upgrade] Installing 64-bit multilib updates ...

[--upgrade] [ package ] [ install ] [ note ]
[--upgrade] gcc-brig ver. 11.2.0_multilib-2alien OK New package
[--upgrade] gcc-gdc ver. 11.2.0_multilib-2alien OK New package
[--upgrade] aaa_glibc-solibs ver. 2.33_multilib-7alien OK New package

[--upgrade] Ended on Tue 21 Jan 2025 10:22:04 PM -04
#Compat32pkg :

Code: Select all

editor /etc/compat32pkg/compat32pkg.conf
content of my fie /etc/compat32pkg/compat32pkg.conf
# -- configuration script for compat32pkg ver. 1.5.120822
#

# -- WORKDIR is required and must refer to the working directory used by script
# "compat32pkg". By default, WORKDIR is set to "/var/lib/compat32pkg".
#
WORKDIR=/var/lib/compat32pkg

# -- SLACK32PKG_CACHE is required and must refer to the directory where packages
# donwloaded from slackware-32 mirror will be stored. By default, SLACK32PKG_CACHE
# is set to /var/cache/compat32pkg/slackware-32.
#
SLACK32PKG_CACHE=/var/cache/compat32pkg/slackware-32

# -- COMPAT32PKG_CACHE is required and must refer to the directory where converted
# packages to format compat32 will be stored. By default, COMPAT32PKG_CACHE is
# set to /var/cache/compat32pkg/compat-32
#
COMPAT32PKG_CACHE=/var/cache/compat32pkg/compat-32

# -- DEFAULT_MIRROR is optionnal and should be used to define the default mirror that
# will be used by compat32pkg when user does not provide one on the command line. By
# default, there's no default mirrored.
#
# When defined, DEFAULT_MIRROR can refer to :
# + A local directory containing a valid Slackware-32 tree.
# + The URL of an official Slackware-32 mirror.
# + The key introduced by an "at symbol" of one of the mirrors given into
# the file /etc/compat32pkg/mirrors
#
# Examples:
#
# DEFAULT_MIRROR=ftp://ftp.lip6.fr/pub/linux/distributio ... kware-15.0
# DEFAULT_MIRROR=~/mirrors/slack-15.0
# DEFAULT_MIRROR=@France-15.0
# DEFAULT_MIRROR=@DVD
#
# DEFAULT_MIRROR="http://slackware.uk/salix/i486/15.0/"
DEFAULT_MIRROR="http://slackware.uk/salix/i486/15.0/"
#
# -- PKGS_PRECEDENCE_ORDER is required. This must be an array containing
# the packages precedence order, from the most important to the least
# important, given by patterns of kind "baseref".
#
# The order given in this array allows to :
#
# + force installation of given packages in a given order. This is
# the case of the package aaa_elflibs which has to be installed
# before all others packages. Indeed, as this package has to be
# processed first when installing Slackware, it also has to be
# processed first in the case of the multilib. Otherwise, this
# might lead to downgrading some libraries as this is clearly
# explained here: http://connie.slackware.com/~mozes/docs/aaa_elflibs.txt
#
# + give the priority to the more recent/stable packages when
# running compat32pkg in mode: --convert, --install, --check-updates,
# --list-updates, --convert-updates, and --upgrade. This is the
# case with packages from "patches/packages" which are always
# more recent that those in "slackware"
#
PKGS_PRECEDENCE_ORDER=( \
"slackware/a/aaa_elflibs" \
"patches/packages/.*" \
"slackware/.*" \
"extra/.*" \
"testing/.*" \
"pasture/.*" \
)


# -- PREVENT_INCOMPATIBILITIES is required. It allows to enable or disable
# the mechanism to preventing accidental incompatibilities. By default,
# this mechanism is enabled.
#
# PREVENT_INCOMPATIBILITIES can be set to $TRUE (enable the mechanism), or,
# to $FALSE (disable the mechanism).
#
PREVENT_INCOMPATIBILITIES=$TRUE

# -- Defines the external commands trusted by compat32pkg. Each of these commands
# could be executed by any trigger whose task is of kind "exec:CMD". Feel free
# to add commands that fit your needs. However, keep in mind that some commands
# (like rm) could lead to security concerns.
#
# For more details about "the triggers", read the section "11. The triggers" in
# /usr/doc/compat32pkg-<version>/README, and the file /etc/compat32pkg/triggers.d/README.
#
# To add a command into this list, simply put it after the last as in example
# below :
#
# TRUSTED_EXTERNS_CMD=( "installpkg" "upgradepkg" "c32pkg-notify-send" "FOO" )
#
# When this variable is undefined or set to an empty value :
#
# + Any attempt to add a trigger with a task "exec:CMD" using the command
# "compat32pkg --trigger add ..." will fail.
#
# + At execution of compat32pkg, any triggers to process with a task "exec:CMD"
# will be aborted, and compat32pkg prints a warning.
#
TRUSTED_EXTERN_CMDS=( "installpkg" "upgradepkg" "c32pkg-notify-send" )


# -- This defines how compat32pkg will process the packages (or updates)
# to download and convert (1) , or to download, convert and install (2).
# This can be set to one of the modes described below :
#
# -----------------------------------------------------------------
# ! MODE ! DESCRIPTION !
# !------------+----------------------------------------------------!
# ! auto ! compat32pkg will automatically select the right !
# ! ! mode between "legacy" and "concurrent" according !
# ! ! to the number of package to process and the number !
# ! ! of cpu/cores. !
# ! ! !
# ! ! The legacy mode is selected when there's less than !
# ! ! 3 packages to process, or less than 2 cpu/core, !
# ! ! otherwise, the concurrent mode is selected. !
# !------------+----------------------------------------------------!
# ! ! Inherited from past versions. The download, the !
# ! ! conversion, and the installation of a package are !
# ! legacy ! performed by a single process. This means that !
# ! ! compat32pkg starts to process the next package !
# ! ! only when the current package has been fully !
# ! ! processed. !
# !------------+----------------------------------------------------!
# ! ! In this mode, The download, the conversion, and !
# ! ! the installation are separate processes. This !
# ! concurrent ! means that a package may be in download, while !
# ! ! another (already downloaded) is in conversion, !
# ! ! and another one (already downloaded and converted) !
# ! ! is in install. !
# -----------------------------------------------------------------
#
# (1) When executing compat32pkg in mode --convert or --convert-updates
# (2) When executing compat32pkg in mode --install or --upgrade
#
PACKAGES_PROCESSING=auto

# -- Defines the colors of the progress bar drawn when compat32pkg handles
# the packages concurrently (see PACKAGES_PROCESSING).
#
# The colors of the progress bar can be changed using the ANSI escape
# code "CSI n [;k] m" (http://en.wikipedia.org/wiki/ANSI_escape_code).
#
# By default, this is set to "\e[7m" which swap the foreground and background
# colors.
#
# For example, to get a progress bar with white text on blue, PROGRESSBAR_COLORS
# must be set to "\e[1;37;44m". 1 is the attribute for bold, 37 and 44 are the
# codes for white foreground and blue background as defined in the table below :
#
# --------------------------------------------------------------------------------
# ! Color ! Black ! Red ! Green ! Yellow ! Blue ! Magenta ! Cyan ! White !
# |=================+=======+=====+=======+========+======+=========+======+=======!
# ! Foreground Code ! 30 ! 31 ! 32 ! 33 ! 34 ! 35 ! 36 ! 37 !
# !-----------------+-------+-----+-------+--------+------+---------+------+-------!
# ! Background Code ! 40 ! 41 ! 42 ! 43 ! 44 ! 45 ! 46 ! 47 !
# --------------------------------------------------------------------------------
#
PROGRESSBAR_COLORS="\e[7m"


################################################################################
# -- Developer Section -- #
################################################################################


###
# As this script is included into the script compat32pkg, it implicitly
# inherits of the following declaration:
#
# TRUE = 0
# FALSE = 1
# DEVEL = $TRUE in case of development version of compat32pkg, $FALSE
# otherwise
###


# -- The code below will be executed only in case of development version
# of compat32pkg. Users do not have to worry about that.
#
if [ $DEVEL -eq $TRUE ]; then
echo ""
echo "(Info) developement version of compat32pkg detected. Overwriting "
echo "(Info) WORKDIR, SLACK32PKG_CACHE, COMPAT32PKG_CACHE, DEFAULT_MIRROR"

WORKDIR=/tmp/compat32pkg-devel
SLACK32PKG_CACHE=${WORKDIR}/cache/slackware-32
COMPAT32PKG_CACHE=${WORKDIR}/cache/compat-32
DEFAULT_MIRROR=@France-15.0
#compat32 layer update, install :
[/code]compat32pkg --layer-32-config check-update[/code]
compat32pkg ver. 1.6.131213 (stable)

[--layer-32-config] Started on Tue 21 Jan 2025 10:33:36 PM -04
[--layer-32-config] Working in mode check-update
[--layer-32-config] Local configuration file for "layer-32" is multilib-32bit-packages.lst version 1.6.140610

[--layer-32-config] Using updates-site http://sourceforge.net/projects/compat3 ... dates-site
(WORKING) Downloading multilib-32bit-packages.lst.infos from http://sourceforge.net/projects/compat32pkg/files/upd [--layer-32-config] -> Available configuration file for "layer-32" is multilib-32bit-packages.lst version 1.6.191217

[--layer-32-config] An update is available.

[--layer-32-config] -------------------------------------------------------------------------
[--layer-32-config] ! Changes since revision 1.6.160821 !
[--layer-32-config] !-------------------------------------------------------------------------!
[--layer-32-config] ! The packages below have been added to the multilib in -current : !
[--layer-32-config] ! !
[--layer-32-config] ! serie a : lzlib, openssl10-solibs, plzip !
[--layer-32-config] ! !
[--layer-32-config] ! serie ap : lm_sensors !
[--layer-32-config] ! !
[--layer-32-config] ! serie d : opencl-headers !
[--layer-32-config] ! !
[--layer-32-config] ! serie l : Mako, SDL2, at-spi2-atk, at-spi2-core, ffmpeg, gc, !
[--layer-32-config] ! gobject-introspection, graphite2, gst-plugins-libav, !
[--layer-32-config] ! gtk+3, isl, json-glib, lame, libarchive, libbluray, !
[--layer-32-config] ! libcaca, libcap, libcdio, libcdio-paranoia, libclc, !
[--layer-32-config] ! libcroco, libedit, libidn2, librsvg, libssh, libtheora, !
[--layer-32-config] ! libunistring, libunwind, libvpx, libwebp, lmdb, mozilla-nss, !
[--layer-32-config] ! ocl-icd, opus, pcre, pcre2, python-six, slang, speex, !
[--layer-32-config] ! talloc, tdb, tevent, wavpack, zstd !
[--layer-32-config] ! !
[--layer-32-config] ! serie x : intel-vaapi-driver, libXfont2, libglvnd, libinput, !
[--layer-32-config] ! libpthread-stubs, libwacom, vulkan-sdk, xorgproto !
[--layer-32-config] -------------------------------------------------------------------------

[--layer-32-config] Ended on Tue 21 Jan 2025 10:33:39 PM -04

Code: Select all

compat32pkg --layer-32-config update
compat32pkg ver. 1.6.131213 (stable)

[--layer-32-config] Started on Tue 21 Jan 2025 10:34:17 PM -04
[--layer-32-config] Working in mode update
[--layer-32-config] Local configuration file for "layer-32" is multilib-32bit-packages.lst version 1.6.140610

[--layer-32-config] Using updates-site http://sourceforge.net/projects/compat3 ... dates-site
(WORKING) Downloading multilib-32bit-packages.lst.infos from http://sourceforge.net/projects/compat32pkg/files/upd [--layer-32-config] -> Available configuration file for "layer-32" is multilib-32bit-packages.lst version 1.6.191217

[--layer-32-config] An update is available.

[--layer-32-config] -------------------------------------------------------------------------
[--layer-32-config] ! Changes since revision 1.6.160821 !
[--layer-32-config] !-------------------------------------------------------------------------!
[--layer-32-config] ! The packages below have been added to the multilib in -current : !
[--layer-32-config] ! !
[--layer-32-config] ! serie a : lzlib, openssl10-solibs, plzip !
[--layer-32-config] ! !
[--layer-32-config] ! serie ap : lm_sensors !
[--layer-32-config] ! !
[--layer-32-config] ! serie d : opencl-headers !
[--layer-32-config] ! !
[--layer-32-config] ! serie l : Mako, SDL2, at-spi2-atk, at-spi2-core, ffmpeg, gc, !
[--layer-32-config] ! gobject-introspection, graphite2, gst-plugins-libav, !
[--layer-32-config] ! gtk+3, isl, json-glib, lame, libarchive, libbluray, !
[--layer-32-config] ! libcaca, libcap, libcdio, libcdio-paranoia, libclc, !
[--layer-32-config] ! libcroco, libedit, libidn2, librsvg, libssh, libtheora, !
[--layer-32-config] ! libunistring, libunwind, libvpx, libwebp, lmdb, mozilla-nss, !
[--layer-32-config] ! ocl-icd, opus, pcre, pcre2, python-six, slang, speex, !
[--layer-32-config] ! talloc, tdb, tevent, wavpack, zstd !
[--layer-32-config] ! !
[--layer-32-config] ! serie x : intel-vaapi-driver, libXfont2, libglvnd, libinput, !
[--layer-32-config] ! libpthread-stubs, libwacom, vulkan-sdk, xorgproto !
[--layer-32-config] -------------------------------------------------------------------------
(WORKING) Downloading multilib-32bit-packages.lst from http://sourceforge.net/projects/compat3 ... /updates-s
[--layer-32-config] Backing up of previous version into /etc/compat32pkg/multilib-32bit-packages.lst.bak_20250121
[--layer-32-config] Configuration file for "layer-32" updated to revision 1.6.191217

[--layer-32-config] Ended on Tue 21 Jan 2025 10:34:22 PM -04

Code: Select all

compat32pkg --install layer-32
compat32pkg ver. 1.6.131213 (stable)

(WARNING) ***
(WARNING) * compat32pkg was unable to discover the architecture of slackware available on mirror
(WARNING) * 'http://slackware.uk/salix/i486/15.0/'.
(WARNING) *
(WARNING) * Unless the selected mirror is trustworthy, the packages to format compat32 built from packages
(WARNING) * available on this mirror should not be installed on the local system.
(WARNING) ***
i prefer change mirror on the compat32pkg.conf, i change my line 39 to :
and i try again

Code: Select all

compat32pkg --install layer-32
compat32pkg ver. 1.6.131213 (stable)

[--install] Started on Tue 21 Jan 2025 10:39:05 PM -04
[--install] Using mirror http://download.salixos.org/i486/slackware-15.0/
[--install] Local system is Slackware/x86_64 version 15.0
[--install] Mirrored system is Slackware/i586 version 15.0
[--install] Slackware-32 packages will be stored into /var/cache/compat32pkg/slackware-32
[--install] compat32 packages will be stored into /var/cache/compat32pkg/compat-32
[--install] Configuration file for "layer-32" : /etc/compat32pkg/multilib-32bit-packages.lst version 1.6.191217
[--install] Trusted external commands : installpkg,upgradepkg,c32pkg-notify-send

[--install] 200 package(s) were found (0,262 sec.)
---------------------------------------------------------------------------------
No. ! Packages ! Status
-----+----------------------------------------------------+----------------------
1 ! cups-compat32 2.4.10-1_slack15.0 ! installed
2 ! cups-filters-compat32 1.28.17-2_slack15.0 ! installed
3 ! curl-compat32 8.11.1-1_slack15.0 ! installed
4 ! cyrus-sasl-compat32 2.1.28-1_slack15.0 ! installed
5 ! expat-compat32 2.6.4-1_slack15.0 ! installed
6 ! ffmpeg-compat32 4.4.5-1_slack15.0 ! installed
7 ! flac-compat32 1.3.4-1_slack15.0 ! installed
8 ! gdk-pixbuf2-compat32 2.42.12-1_slack15.0 ! installed
9 ! gnutls-compat32 3.8.4-1_slack15.0 ! installed
10 ! libX11-compat32 1.8.10-1_slack15.0 ! installed
11 ! libXpm-compat32 3.5.17-1_slack15.0 ! installed
12 ! libarchive-compat32 3.7.7-1_slack15.0 ! installed
13 ! libcaca-compat32 0.99.beta20-1_slack15.0 ! installed
14 ! libnotify-compat32 0.8.3-1_slack15.0 ! installed
15 ! libpcap-compat32 1.10.5-1_slack15.0 ! installed
16 ! libssh-compat32 0.10.6-1_slack15.0 ! installed
17 ! libtiff-compat32 4.4.0-1_slack15.0 ! installed
18 ! libvpx-compat32 1.12.0-1_slack15.0 ! installed
19 ! libwebp-compat32 1.3.2-1_slack15.0 ! installed
20 ! libxml2-compat32 2.11.9-1_slack15.0 ! installed
21 ! libxslt-compat32 1.1.35-1_slack15.0 ! installed
22 ! mariadb-compat32 10.5.27-1_slack15.0 ! installed
23 ! mozilla-nss-compat32 3.87-1_slack15.0 ! installed
24 ! openjpeg-compat32 2.5.2-1_slack15.0 ! installed
25 ! openssl-compat32 1.1.1zb-1_slack15.0 ! installed
26 ! openssl-solibs-compat32 1.1.1zb-1_slack15.0 ! installed
27 ! samba-compat32 4.18.9-1_slack15.0 ! installed
28 ! sdl-compat32 1.2.15-13_slack15.0 ! installed
29 ! util-linux-compat32 2.37.4-3_slack15.0 ! installed
30 ! wavpack-compat32 5.5.0-1_slack15.0 ! installed
31 ! xz-compat32 5.2.5-4_slack15.0 ! installed
32 ! zlib-compat32 1.2.13-1_slack15.0 ! installed
33 ! zstd-compat32 1.5.5-1_slack15.0 ! installed
34 ! attr-compat32 2.5.1-1 ! installed
35 ! bzip2-compat32 1.0.8-3 ! installed
36 ! dbus-compat32 1.12.20-5 ! installed
37 ! e2fsprogs-compat32 1.46.5-1 ! installed
38 ! eudev-compat32 3.2.11-1 ! installed
39 ! libgudev-compat32 237-1 ! installed
40 ! lzlib-compat32 1.13-1 ! installed
41 ! plzip-compat32 1.10-1 ! installed
42 ! lm_sensors-compat32 3.6.0-3 ! installed
43 ! mpg123-compat32 1.29.3-1 ! installed
44 ! sqlite-compat32 3.37.2-1 ! installed
45 ! libtool-compat32 2.4.6-18 ! installed
46 ! llvm-compat32 13.0.0-2 ! installed
47 ! Mako-compat32 1.1.6-1 ! installed
48 ! SDL2-compat32 2.0.20-1 ! installed
49 ! alsa-lib-compat32 1.2.5.1-1 ! installed
50 ! alsa-oss-compat32 1.1.8-3 ! installed
51 ! alsa-plugins-compat32 1.2.5-1 ! installed
52 ! at-spi2-atk-compat32 2.38.0-3 ! installed
53 ! at-spi2-core-compat32 2.42.0-1 ! installed
54 ! atk-compat32 2.36.0-3 ! installed
55 ! audiofile-compat32 0.3.6-4 ! installed
56 ! cairo-compat32 1.16.0-3 ! installed
57 ! dbus-glib-compat32 0.112-1 ! installed
58 ! elfutils-compat32 0.186-1 ! installed
59 ! esound-compat32 0.2.41-5 ! installed
60 ! fftw-compat32 3.3.10-1 ! installed
61 ! freetype-compat32 2.11.1-1 ! installed
62 ! fribidi-compat32 1.0.11-1 ! installed
63 ! gamin-compat32 0.1.10-9 ! installed
64 ! gc-compat32 8.0.6-1 ! installed
65 ! giflib-compat32 5.2.1-4 ! installed
66 ! glib-compat32 1.2.10-9 ! installed
67 ! glib2-compat32 2.70.3-1 ! installed
68 ! gmp-compat32 6.2.1-3 ! installed
69 ! gnome-keyring-compat32 40.0-1 ! installed
70 ! gobject-introspection-compat32 1.70.0-3 ! installed
71 ! graphite2-compat32 1.3.14-3 ! installed
72 ! gst-plugins-base-compat32 1.18.5-1 ! installed
73 ! gst-plugins-good-compat32 1.18.5-2 ! installed
74 ! gst-plugins-libav-compat32 1.18.5-1 ! installed
75 ! gstreamer-compat32 1.18.5-1 ! installed
76 ! gtk+-compat32 1.2.10-9 ! installed
77 ! gtk+2-compat32 2.24.33-2 ! installed
78 ! gtk+3-compat32 3.24.31-1 ! installed
79 ! harfbuzz-compat32 3.2.0-1 ! installed
80 ! icu4c-compat32 69.1-1 ! installed
81 ! isl-compat32 0.24-1 ! installed
82 ! jasper-compat32 2.0.33-1 ! installed
83 ! json-c-compat32 0.15_20200726-3 ! installed
84 ! json-glib-compat32 1.6.6-1 ! installed
85 ! lame-compat32 3.100-4 ! installed
86 ! lcms-compat32 1.19-6 ! installed
87 ! lcms2-compat32 2.13-2 ! installed
88 ! libaio-compat32 0.3.112-3 ! installed
89 ! libasyncns-compat32 0.8-5 ! installed
90 ! libbluray-compat32 1.3.0-1 ! installed
91 ! libcap-compat32 2.63-1 ! installed
92 ! libcdio-compat32 2.1.0-3 ! installed
93 ! libcdio-paranoia-compat32 10.2+2.0.1-3 ! installed
94 ! libclc-compat32 13.0.0-1 ! installed
95 ! libedit-compat32 20210910_3.1-1 ! installed
96 ! libexif-compat32 0.6.24-1 ! installed
97 ! libffi-compat32 3.3-3 ! installed
98 ! libglade-compat32 2.6.4-8 ! installed
99 ! libgphoto2-compat32 2.5.28-1 ! installed
100 ! libidn-compat32 1.38-1 ! installed
101 ! libidn2-compat32 2.3.2-1 ! installed
102 ! libieee1284-compat32 0.2.11-6 ! installed
103 ! libjpeg-turbo-compat32 2.1.2-1 ! installed
104 ! libmng-compat32 2.0.3-4 ! installed
105 ! libmpc-compat32 1.2.1-3 ! installed
106 ! libnl3-compat32 3.5.0-3 ! installed
107 ! libogg-compat32 1.3.5-1 ! installed
108 ! libpng-compat32 1.6.37-3 ! installed
109 ! librsvg-compat32 2.52.5-1 ! installed
110 ! libsamplerate-compat32 0.2.2-1 ! installed
111 ! libsndfile-compat32 1.0.31-2 ! installed
112 ! libtasn1-compat32 4.18.0-1 ! installed
113 ! libtheora-compat32 1.1.1-4 ! installed
114 ! libunistring-compat32 0.9.10-3 ! installed
115 ! libunwind-compat32 1.6.2-1 ! installed
116 ! libusb-compat32 1.0.24-4 ! installed
117 ! libvorbis-compat32 1.3.7-3 ! installed
118 ! lmdb-compat32 0.9.29-1 ! installed
119 ! lzo-compat32 2.10-4 ! installed
120 ! ncurses-compat32 6.3-1 ! installed
121 ! ocl-icd-compat32 2.3.1-1 ! installed
122 ! opus-compat32 1.3.1-3 ! installed
123 ! orc-compat32 0.4.32-3 ! installed
124 ! pango-compat32 1.48.11-1 ! installed
125 ! pcre-compat32 8.45-1 ! installed
126 ! pcre2-compat32 10.39-1 ! installed
127 ! popt-compat32 1.18-3 ! installed
128 ! pulseaudio-compat32 15.0-4 ! installed
129 ! python-six-compat32 1.16.0-3 ! installed
130 ! readline-compat32 8.1.002-1 ! installed
131 ! sbc-compat32 1.5-3 ! installed
132 ! slang-compat32 2.3.2-5 ! installed
133 ! speex-compat32 1.2.0-4 ! installed
134 ! speexdsp-compat32 1.2.0-3 ! installed
135 ! startup-notification-compat32 0.12-5 ! installed
136 ! svgalib-compat32 1.9.25-7 ! installed
137 ! talloc-compat32 2.3.3-3 ! installed
138 ! tdb-compat32 1.4.6-1 ! installed
139 ! tevent-compat32 0.11.0-3 ! installed
140 ! v4l-utils-compat32 1.22.1-1 ! installed
141 ! libgcrypt-compat32 1.9.4-1 ! installed
142 ! libgpg-error-compat32 1.44-1 ! installed
143 ! libtirpc-compat32 1.3.2-1 ! installed
144 ! nettle-compat32 3.7.3-1 ! installed
145 ! p11-kit-compat32 0.24.1-1 ! installed
146 ! fontconfig-compat32 2.13.92-3 ! installed
147 ! freeglut-compat32 3.2.1-3 ! installed
148 ! glew-compat32 2.2.0-3 ! installed
149 ! glu-compat32 9.0.2-1 ! installed
150 ! intel-vaapi-driver-compat32 2.4.1-3 ! installed
151 ! libFS-compat32 1.0.8-3 ! installed
152 ! libICE-compat32 1.0.10-3 ! installed
153 ! libSM-compat32 1.2.3-3 ! installed
154 ! libXScrnSaver-compat32 1.2.3-3 ! installed
155 ! libXau-compat32 1.0.9-3 ! installed
156 ! libXaw-compat32 1.0.14-1 ! installed
157 ! libXcomposite-compat32 0.4.5-3 ! installed
158 ! libXcursor-compat32 1.2.0-3 ! installed
159 ! libXdamage-compat32 1.1.5-3 ! installed
160 ! libXdmcp-compat32 1.1.3-3 ! installed
161 ! libXevie-compat32 1.0.3-5 ! installed
162 ! libXext-compat32 1.3.4-3 ! installed
163 ! libXfixes-compat32 6.0.0-1 ! installed
164 ! libXfont2-compat32 2.0.5-1 ! installed
165 ! libXfontcache-compat32 1.0.5-5 ! installed
166 ! libXft-compat32 2.3.4-1 ! installed
167 ! libXi-compat32 1.8-1 ! installed
168 ! libXinerama-compat32 1.1.4-3 ! installed
169 ! libXmu-compat32 1.1.3-3 ! installed
170 ! libXp-compat32 1.0.3-5 ! installed
171 ! libXrandr-compat32 1.5.2-3 ! installed
172 ! libXrender-compat32 0.9.10-4 ! installed
173 ! libXres-compat32 1.2.1-1 ! installed
174 ! libXt-compat32 1.2.1-2 ! installed
175 ! libXtst-compat32 1.2.3-4 ! installed
176 ! libXv-compat32 1.0.11-4 ! installed
177 ! libXvMC-compat32 1.0.12-5 ! installed
178 ! libXxf86dga-compat32 1.1.5-3 ! installed
179 ! libXxf86misc-compat32 1.0.4-3 ! installed
180 ! libXxf86vm-compat32 1.1.4-5 ! installed
181 ! libdmx-compat32 1.1.4-3 ! installed
182 ! libdrm-compat32 2.4.109-1 ! installed
183 ! libepoxy-compat32 1.5.9-1 ! installed
184 ! libfontenc-compat32 1.1.4-3 ! installed
185 ! libglvnd-compat32 1.3.3-1 ! installed
186 ! libinput-compat32 1.19.3-1 ! installed
187 ! libpciaccess-compat32 0.16-3 ! installed
188 ! libpthread-stubs-compat32 0.4-5 ! installed
189 ! libva-compat32 2.13.0-2 ! installed
190 ! libvdpau-compat32 1.4-3 ! installed
191 ! libwacom-compat32 1.12-1 ! installed
192 ! libxcb-compat32 1.14-3 ! installed
193 ! libxshmfence-compat32 1.3-4 ! installed
194 ! mesa-compat32 21.3.5-2 ! installed
195 ! pixman-compat32 0.40.0-3 ! installed
196 ! vulkan-sdk-compat32 1.2.176.1-2 ! installed
197 ! xcb-util-compat32 0.4.0-5 ! installed
198 ! xorgproto-compat32 2021.5-1 ! installed
199 ! sane-compat32 1.0.32-1 ! installed
200 ! xsane-compat32 0.999-5 ! installed
---------------------------------------------------------------------------------

(WARNING) *** -=[ mesa-compat32 has been installed ]=- ********************
(WARNING) * *
(WARNING) * In order to use graphical softwares, you should reinstall any *
(WARNING) * proprietary driver in use (like nVidia or aTi) with 32-bit *
(WARNING) * driver files. *
(WARNING) * *
(WARNING) *****************************************************************

[--install] Ended on Tue 21 Jan 2025 11:30:39 PM -04
Last edited by inukaze on 23. Jan 2025, 01:33, edited 1 time in total.
inukaze
Posts: 28
Joined: 24. Nov 2024, 18:42

Re: My way for install multilib [ The hard way ] + nvidia legacy drivers 390.157

Post by inukaze »

# PART 2
#----------------------------------------------------------------------------------------------------------------------------------------------------------------------
#if you want install the 32 Bits base using compat32pkg more manually use the follow commands :

Code: Select all

compat32pkg --install list:slackware/a/aaa_libraries
compat32pkg --install list:slackware/a/bzip2
compat32pkg --install list:slackware/a/dbus
compat32pkg --install list:slackware/a/e2fsprogs
compat32pkg --install list:slackware/a/openssl-solibs
compat32pkg --install list:slackware/a/util-linux
compat32pkg --install list:slackware/ap/flac
compat32pkg --install list:slackware/d/llvm
compat32pkg --install list:slackware/l/at-spi2-atk
compat32pkg --install list:slackware/l/atk
compat32pkg --install list:slackware/l/cairo
compat32pkg --install list:slackware/l/freetype
compat32pkg --install list:slackware/l/fribidi
compat32pkg --install list:slackware/l/gdk-pixbuf2
compat32pkg --install list:slackware/l/glib2
compat32pkg --install list:slackware/l/graphite2
compat32pkg --install list:slackware/l/gtk+2
compat32pkg --install list:slackware/l/harfbuzz
compat32pkg --install list:slackware/l/libasyncns
compat32pkg --install list:slackware/l/libsndfile
compat32pkg --install list:slackware/l/libunistring
compat32pkg --install list:slackware/l/libxml2
compat32pkg --install list:slackware/l/opus
compat32pkg --install list:slackware/l/pango
compat32pkg --install list:slackware/l/pulseaudio
compat32pkg --install list:slackware/l/sdl
compat32pkg --install list:slackware/l/SDL2
compat32pkg --install list:slackware/l/SDL2_gfx
compat32pkg --install list:slackware/l/SDL2_net
compat32pkg --install list:slackware/l/SDL2_ttf
compat32pkg --install list:slackware/l/SDL2_image
compat32pkg --install list:slackware/l/SDL2_mixer
compat32pkg --install list:slackware/n/curl
compat32pkg --install list:slackware/n/cyrus-sasl
compat32pkg --install list:slackware/n/krb5
compat32pkg --install list:slackware/n/nghttp2
compat32pkg --install list:slackware/n/openssl
compat32pkg --install list:slackware/x/fontconfig
compat32pkg --install list:slackware/x/libdrm
compat32pkg --install list:slackware/x/libglvnd
compat32pkg --install list:slackware/x/libva
compat32pkg --install list:slackware/x/libvdpau
compat32pkg --install list:slackware/x/libX11
compat32pkg --install list:slackware/x/libXau
compat32pkg --install list:slackware/x/libxcb
compat32pkg --install list:slackware/x/libXcomposite
compat32pkg --install list:slackware/x/libXcursor
compat32pkg --install list:slackware/x/libXdamage
compat32pkg --install list:slackware/x/libXdmcp
compat32pkg --install list:slackware/x/libXext
compat32pkg --install list:slackware/x/libXfixes
compat32pkg --install list:slackware/x/libXi
compat32pkg --install list:slackware/x/libXinerama
compat32pkg --install list:slackware/x/libXrandr
compat32pkg --install list:slackware/x/libXrender
compat32pkg --install list:slackware/x/libXtst
compat32pkg --install list:slackware/x/mesa
compat32pkg --install list:slackware/x/pixman
compat32pkg --install list:slackware/x/wayland
compat32pkg --install list:slackware/xap/libnma
In the gslapt-get or better just edit /etc/slapt/slapget-rc, in the exclusion list i add :
^aaa_glibc-solibs,^gcc,^gcc-brig,^gcc-g++,^gcc-gdc,^gcc-gfortran,^gcc-gfortran,^gcc-gnat,^gcc-go,^gcc-objc,SBo

Almost everything is for skip upgrade with the no-multilib version of that packages, except by SBo
that is a exception i ever add because i compile a lot of packages from SBo like nvidia drivers
and for skip the system try to upgrade that and anothers packages by the repository version i must have add SBo

Try to update packages list from gslapt, if no had available fine, then just reboot your machine
start again a normal session, on my case i will going to compile nvidia legacy drivers 390.157
but i prefer use the "slpkg" tool i install from slapt-get

Code: Select all

slapt-get -i slpkg urllib3 python3-pythondialog
After i configure the repositories i want to use via slpkg

Code: Select all

slpkg repo-enable
On my case i just enable : alien, multi, salix, sbo

Code: Select all

slpkg update
By the moment i need upgrade kernel to 5.15.161, my current version is 5.15.63
in the gslapt i remove "-kernel" line , i mark upgrades, and i select kernel-source to install, and i apply the changes
becuase the kernel-source for 5.15.63 is not available in repositories.

After the upgrades installed, just add again to exclusion list " ^kernel-* "

Code: Select all

update-grub
Generating grub configuration file ...
Found background: /boot/grub/salix.png
Found linux image: /boot/vmlinuz-huge-5.15.161
Found linux image: /boot/vmlinuz-huge
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
Restart the machine and enter to salix os


Now install nvidia drivers :

Code: Select all

export COMPAT32="yes" ; COMPAT32=yes slpkg -s sbo nvidia-legacy390-driver nvidia-legacy390-kernel
when that process finish you must see the follow output message :
+==============================================================================
| Total 2 packages installed and 0 package upgraded
+==============================================================================
| Package nvidia-legacy390-kernel-390.157 installed successfully
| Package nvidia-legacy390-driver-390.157 installed successfully
+==============================================================================
Now you must disable nouveau driver

Code: Select all

slapt-get -i xf86-video-nouveau-blacklist
Reading Package Lists...Done
The following NEW packages will be installed:
xf86-video-nouveau-blacklist
0 upgraded, 0 reinstalled, 1 newly installed, 0 to remove, 0 not upgraded.
Need to get 4.0kB of archives.
After unpacking 10.0kB of additional disk space will be used.
1/1 Get http://slackware.uk/salix/x86_64/slackware-15.0/extra/ xf86-video-nouveau-blacklist 1.0-noarch-1 [4.0kB]...Done

Preparing to install xf86-video-nouveau-blacklist-1.0-noarch-1
Installing package xf86-video-nouveau-blacklist-1.0-noarch-1...
| xf86-video-nouveau-blacklist BLACKLIST FILE
|
| This is NOT the experimental nouveau driver for nVidia cards.
|
| It is a stub that installs /etc/modprobe.d/nouveau-blacklist.conf,
| so that nouveau dri module shipped with our kernel will not load and
| prevent the nv driver and/or the binary nVidia driver from working.
|
| If you have obtained the nouveau driver yourself and want to try it,
| remove this package to allow the kernel module to load.
|
|
|
Done
Now the content of my file /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 390.157 (root@Slack64..) dom 23 jun 2024 10:41:53 -04
Section "DRI"
Mode 0660
Group "vglusers"
EndSection

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 390.157 (root@Slack64..) dom 23 jun 2024 15:34:16 -04
# Inukaze config for Nvidia-Cards
# Debian, put in /etc/X11/xorg.conf
# Manjaro mwhd put in /etc/X11/mhwd.d/nvidia.conf

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection

Section "Module"
Load "vbe"
Load "bitmap"
Load "bitmap" # bitmap-fonts
Load "int10"
Load "type1"
Load "freetype"
Load "synaptics"
#Ya es interno :
# Load "glx" #Carga automaticamente aunque no se especifique.
# Load "ddc" # ddc probing of monitor
# Load "dbe"
# Load "dri2"
# Load "extmod"
# Load "record"


EndSection

Section "ServerFlags"
Option "DontZap" "False"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Toshiba"
ModelName "Toshiba Matsushita Display Technology Co., Ltd LCD-MONITOR"
HorizSync 30.0 - 82.0
VertRefresh 56.0 - 76.0
Option "DPMS" "TRUE"
EndSection

Section "Device"

# Aa la version 304.88 , El Sistema se vuelve muy lento
# Aqui esta el Arreglo de Lentitud :
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 620 [MSI]"
EndSection

Section "Screen"

# Not Used Options
# Removed Option "metamodes" "CRT: 1152x864_75 +0+0, CRT: 1024x768_60 +0+0, TV: 1024x768 +0+0; CRT: 800x600_60 +0+0, TV: nvidia-auto-select +0+0"
# Removed Option "SLI" "0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
Option "DPMS" "True"
Option "TwinViewXineramaInfoOrder" "CRT-0"
# Option "nvidiaXineramaInfoOrder" "True" #Unable to match display device name "True" from "nvidiaXineramaInfoOrder"
Option "AllowGLXWithComposite" "True"
Option "TripleBuffer" "True"
Option "RenderAccel" "True"
Option "HWCursor" "True"
Option "RegistryDwords" "PerfLevelSrc=0x3333"
Option "NoPowerConnectorCheck" "True"
Option "UseEdidFreqs" "True"
Option "backingstore" "True"
# Option "DPI" "92" #Invalid DPI string "92. DPI set to (81, 104); computed from "UseEdidDpi" X config option
#Cuando Se Actualizan los Controladores Privatidos
Option "UBB" "True"
Option "GLShaderDiskCache" "True"
Option "Dac8Bit" "True"
Option "Overlay" "True"
Option "CIOverlay" "True"
Option "TransparentIndex" "25"
Option "OverlayDefaultVisual" "True"
Option "nvidiaXineramaInfo" "True"
Option "MultisampleCompatibility" "True"
Option "DamageEvents" "True"
Option "AllowSHMPixmaps" "True"
Option "AllowUnofficialGLXProtocol" "True"
Option "Interactive" "True"
Option "ConstrainCursor" "True"
Option "UseHotplugEvents" "True"
Option "Stereo" "0"
Option "metamodes" "1280x960_60 +0+0; 1152x864_75 +0+0; 800x600_60 +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
#Nvidia 390.157 > No se utilizan las siguientes opciones
# Option "TwinView" "0" #Nvidia 390.157 > No se utiliza
# Option "AddARGBVisuals" "True"
# Option "NoLogo" "True"
# Option "DRI" "True"
# Option "CursorShadow" "True"
# Option "NvAGP" "3"
# Option "XAANoOffscreenPixmaps" "True"
# Cuando Se Actualizan los Controladores Privatidos
# Option "UseEvents" "True"
# Option "InitializeWindowBackingPixmaps" "True"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Extensions"
# Option "DRI" "Enable" #Opcion no reconocida en nvidia 390.157
Option "RandR" "Enable"
Option "RENDER" "Enable"
Option "Composite" "Enable"
EndSection
i just reboot system again and test if the nvidia driver is working.
Yes is working but the nvidia-settings menu shortcut for some reason try to load "/tmp/SBo/package-nvidia-legacy390-driver/usr/bin/nvidia-settings"

using your user (not root account)

Option 1 : You can replace :

Code: Select all

sudo cp -rf /usr/share/applications/nvidia-settings.desktop ~/.local/share/flatpak/exports/share/applications/nvidia-settings.desktop
Option 2 : You can delete :

Code: Select all

sudo rm -rf "~/.local/share/flatpak/exports/share/applications/nvidia-settings.desktop"
inukaze
Posts: 28
Joined: 24. Nov 2024, 18:42

Re: My way for install multilib [ The hard way ] + nvidia legacy drivers 390.157

Post by inukaze »

Hi there i had do some things like :

Code: Select all

cat /etc/compat32pkg/mirrors
# List of Slackware-32 mirrors for compat32pkg
#
# Each entries of this file follow the syntax below:
#
# mirror-entry ::= <key>=<mirror-addr>
# key ::= string
# mirror-addr ::= <local-directory>|<url>
#


# -- cd and dvd mirrors
#

CD = /media/cdrom
DVD = /media/dvd

# -- Selection of official mirrors (sorted by country) for Slackware-32
# 13.0, 13.1, 13.37, 14.0, and, -current
#

Salix-13.0 = http://slackware.uk/salix/i486/13.0
Salix-13.1 = http://slackware.uk/salix/i486/13.1
Salix-13.37 = http://slackware.uk/salix/i486/13.37
Salix-14.0 = http://slackware.uk/salix/i486/14.0
Salix-14.1 = http://slackware.uk/salix/i486/14.1
Salix-14.2 = http://slackware.uk/salix/i486/14.2
Salix-14.2-extra = http://slackware.uk/salix/i486/extra-14.2
Salix-15.0 = http://slackware.uk/salix/i486/15.0
Salix-15.0-extra = http://slackware.uk/salix/i486/extra-15.0

Code: Select all

echo -ne "Y" | multilibpkg --mirror @Official-15.0 --upgrade
multilibpkg ver. 1.3.131002 (stable)
(WARNING) You're using multilibpkg in mode --upgrade, while the system is not
(WARNING) in run level 1: current runlevel is (4).

Do you want to continue (Y/N) ? [--upgrade] Started on Mon 27 Jan 2025 08:00:34 PM -04
[--upgrade] Using multilib-mirror http://connie.slackware.com/~alien/multilib/15.0
[--upgrade] Local system is Slackware/x86_64 version 15.0
[--upgrade] Mirrored multilib dedicated to Slackware/x86_64 version 15.0
[--upgrade] Downloaded packages will be stored into /var/cache/multilibpkg

[--upgrade] 3 update(s) were found [ 0 package(s) to upgrade, 3 package(s) to add ] (0,149 sec.)

[--upgrade] Downloading 64-bit multilib updates ...

[--upgrade] [ package ] [ download ] [ signature ]
[--upgrade] gcc-brig-11.2.0_multilib-x86_64-2alien.txz OK OK
[--upgrade] gcc-gdc-11.2.0_multilib-x86_64-2alien.txz OK OK
[--upgrade] aaa_glibc-solibs-2.33_multilib-x86_64-7alien.txz OK OK

[--upgrade] Installing 64-bit multilib updates ...

[--upgrade] [ package ] [ install ] [ note ]
[--upgrade] gcc-brig ver. 11.2.0_multilib-2alien OK New package
[--upgrade] gcc-gdc ver. 11.2.0_multilib-2alien OK New package
[--upgrade] aaa_glibc-solibs ver. 2.33_multilib-7alien OK New package

[--upgrade] Ended on Mon 27 Jan 2025 08:01:16 PM -04

Code: Select all

reset ; compat32pkg --mirror @Salix-15.0-extra --search list:.* | grep libpng
slackware/l/libpng 1.6.37-3 ++ INSTALLED ++

Code: Select all

compat32pkg --mirror @Salix-15.0-extra --install list:salix/libraries/libpng-legacy12
compat32pkg --mirror @Salix-15.0-extra --install list:salix/libraries/libpng-legacy12

compat32pkg ver. 1.6.131213 (stable)

[--install] Started on Mon 27 Jan 2025 08:05:27 PM -04
[--install] Using mirror http://slackware.uk/salix/i486/extra-15.0
[--install] Local system is Slackware/x86_64 version 15.0
[--install] Mirrored system is Slackware/i586 version 15.0
[--install] Slackware-32 packages will be stored into /var/cache/compat32pkg/slackware-32
[--install] compat32 packages will be stored into /var/cache/compat32pkg/compat-32
[--install] Configuration file for "layer-32" : /etc/compat32pkg/multilib-32bit-packages.lst version 1.6.191217
[--install] Trusted external commands : installpkg,upgradepkg,c32pkg-notify-send

[--install] 0 package(s) were found (0,259 sec.)

[--install] Ended on Mon 27 Jan 2025 08:05:27 PM -04
You can check the file exist entering in the follow url -> http://slackware.uk/salix/i486/extra-15 ... libraries/
and searching libpng-legacy12

Well i supose i must make a list like /etc/compat32pkg/multilib-32bit-packages.lst
just let see the content of that file

Code: Select all

cat /etc/compat32pkg/multilib-32bit-packages.lst
#!version=1.6.191217

###
#
# This file contains the list of packages (ie their basename) which
# provide the "32-bit part of the multilib" for Slackware-64.
#
# FORMAT:
# ------
#
# 1. This file must start with a line formatted as below:
#
# #!version=M.m.YYMMDD
#
# M.m.YYMMDD must be the version number of the file, where, "M"
# is the major revision number, "m" the minor revision number,
# and, "YYMMDD" the date of the revision.
#
# This information is used by the configuration update mechanism,
# ie, when compat32pkg is executed in mode --layer-32-config.
#
# 2. The packages which provide the "32-bit part of the multilib" must
# be given using their basenames only, and there must be one basename
# per line only.
#
# Important:
# As this configuration file must be usable on all slackware-64
# versions, it must contain references of all packages for all
# versions of the multilib. Therefore, this implies that a reference
# to a package could only be removed when the package is not any more
# used by all version of the multilib.
#
# 3. Each line, whose the first non-whitespace character is a "#", is
# treated as a comment, and ignored.
#
# USAGE:
# -----
# As this file describes the "32-bit part of the multilib", it could seem
# natural to pass it as argument to compat32pkg to manage this layer. However,
# this usage is discouraged, and user should use the keyword "layer-32" instead,
# as, this one is more explicit and, furthermore, offers a better management of
# the "32-bit part of the multilib", mostly when checking for updates, or, when
# upgrading this layer.
#
# SOURCE:
# ------
# This file is built using information from AlienBob's multilib
# website, and more precisely the data from :
#
# http://alien.slackbook.org/dokuwiki/dok ... e:multilib
# http://connie.slackware.com/~alien/multilib/ChangeLog
#
# REVISION HISTORY:
# ----------------
#
# ---------------------------------------------------------------------------------------------
# ! revision ! Package ! Note !
# !----------------+------------------------+---------------------------------------------------!
# ! ! ap/mpg123 ! Added to the multilib for 13.1 !
# ! ! !Added to the multilib since 14.2
# ! ! ! This package is not available for 13.0. However, !
# ! ! ! 13.0 comes with a version of mpg123 in extra. So, !
# ! ! ! users of 13.0 who don't want this version from !
# ! ! ! being installed/converted, will have to blacklist !
# ! ! ! or to exclude it as below : !
# ! ! ! $ compat32pkg --install layer-32 \ !
# ! 1.0.101201 ! ! --exclude list:mpg123 !
# ! !------------------------+---------------------------------------------------!
# ! ! l/v4l-utils ! Added to the multilib for 13.1 !
# ! !------------------------+---------------------------------------------------!
# ! ! l/liblbxutil ! Removed in multilib for 13.1. However, as this !
# ! ! ! package remains part of multilib for 13.0, with !
# ! ! ! which compat32pkg must remain compatible, this !
# ! ! ! package must remain referenced in this file. !
# !================+========================+===================================================!
# ! ! a/aaa_elflibs ! Added to the multilib for 13.37 !
# ! ! !Added to the multilib since 14.2
# ! ! ! As this package is also available on 13.0, 13.1, !
# ! ! ! the multilib for these version of Slackware !
# ! ! ! implicitly inherit of this addition. !
# ! !------------------------+---------------------------------------------------!
# ! ! l/gdk-pixbuf2 ! Added to the multilib for 13.37 !
# ! 1.2.110112 !------------------------+---------------------------------------------------!
# ! ! l/libelf ! Added to the multilib for 13.37 !
# ! !------------------------+---------------------------------------------------!
# ! ! xap/sane ! Added to the multilib for 13.37 !
# ! ! !Added to the multilib since 14.2
# ! ! ! As this package is also available on 13.0, 13.1, !
# ! ! ! the multilib for these version of Slackware !
# ! ! ! implicitly inherit of this addition. !
# !================+========================+===================================================!
# ! ! a/util-linux ! Added to the multilib for 13.37 !
# ! ! !Added to the multilib since 14.2
# ! ! ! this package supersedes util-linux-ng. However, !
# ! ! ! as util-linux-ng remains part of multilib for !
# ! ! ! 13.0 and 13.1, with which compat32pkg must remain !
# ! ! ! compatible, the package util-linux-ng must remain !
# ! ! ! referenced in this file. !
# ! !------------------------+---------------------------------------------------!
# ! ! l/libmpc ! Added to the multilib for 13.37 !
# ! !------------------------+---------------------------------------------------!
# ! ! l/libpcap ! Added to the multilib for 13.37 !
# ! !------------------------+---------------------------------------------------!
# ! ! l/libsndfile ! Added to the multilib for 13.37 !
# ! !------------------------+---------------------------------------------------!
# ! ! l/libieee1284 ! Added to the multilib for 13.37 !
# ! ! !Added to the multilib since 14.2
# ! ! ! As this package is also available on 13.0, 13.1, !
# ! ! ! the multilib for these version of Slackware !
# ! ! ! implicitly inherit of this addition. !
# ! !------------------------+---------------------------------------------------!
# ! ! l/libusb ! Added to the multilib for 13.37 !
# ! ! !Added to the multilib since 14.2
# ! 1.3.110319 ! ! As this package is also available on 13.0, 13.1, !
# ! ! ! the multilib for these version of Slackware !
# ! ! ! implicitly inherit of this addition. !
# ! !------------------------+---------------------------------------------------!
# ! ! l/gstreamer ! Added to the multilib for 13.37 !
# ! ! !Added to the multilib since 14.2
# ! ! ! As this package is also available on 13.0, 13.1, !
# ! ! ! the multilib for these version of Slackware !
# ! ! ! implicitly inherit of this addition. !
# ! !------------------------+---------------------------------------------------!
# ! ! l/gst-plugins-base ! Added to the multilib for 13.37 !
# ! ! !Added to the multilib since 14.2
# ! ! ! As this package is also available on 13.0, 13.1, !
# ! ! ! the multilib for these version of Slackware !
# ! ! ! implicitly inherit of this addition. !
# ! !------------------------+---------------------------------------------------!
# ! ! l/gst-plugins-good ! Added to the multilib for 13.37 !
# ! ! !Added to the multilib since 14.2
# ! ! ! As this package is also available on 13.1, the !
# ! ! ! multilib for these version of Slackware !
# ! ! ! implicitly inherit of this addition. !
# !================+========================+===================================================!
# ! ! xap/xfce ! Added to the multilib for 13.37 !
# ! ! !Added to the multilib since 14.2
# ! 1.3.110327 ! ! As this package is also available on 13.0, 13.1, !
# ! ! ! the multilib for these version of Slackware !
# ! ! ! implicitly inherit of this addition. !
# !================+========================+===================================================!
# ! ! l/libglade ! Added to the multilib for 13.37 !
# ! ! !Added to the multilib since 14.2
# ! 1.4.110414 ! ! As this package is also available on 13.0, 13.1, !
# ! ! ! the multilib for these version of Slackware !
# ! ! ! implicitly inherit of this addition. !
# !================+========================+===================================================!
# ! ! l/lesstif ! Added to the multilib for 13.37 !
# ! ! !Added to the multilib since 14.2
# ! 1.4.110522 ! ! As this package is also available on 13.0, 13.1, !
# ! ! ! the multilib for these version of Slackware !
# ! ! ! implicitly inherit of this addition. !
# !================+========================+===================================================!
# ! ! l/startup-notification ! Added to the multilib for 13.37 !
# ! ! !Added to the multilib since 14.2
# ! ! ! This is required to run 32-bit firefox >= 4.0 !
# ! ! !Added to the multilib since 14.2
# ! ! ! As this package is also available on 13.0, 13.1, !
# ! ! ! the multilib for these version of Slackware !
# ! ! ! implicitly inherit of this addition. !
# ! !------------------------+---------------------------------------------------!
# ! ! x/xcb-util ! Added to the multilib for 13.37 !
# ! ! !Added to the multilib since 14.2
# ! ! ! This is required to run 32-bit firefox >= 4.0 (1) !
# ! 1.4.110824 ! !Added to the multilib since 14.2
# ! ! ! As this package is also available on 13.0, 13.1, !
# ! ! ! the multilib for these version of Slackware !
# ! ! ! implicitly inherit of this addition. !
# ! !------------------------+---------------------------------------------------!
# ! ! x/libpciaccess ! Added to the multilib for 13.37 !
# ! ! !Added to the multilib since 14.2
# ! ! ! This is required by (at least) the mesa dri !
# ! ! ! driver for intel i965. (2) !
# ! ! !Added to the multilib since 14.2
# ! ! ! As this package is also available on 13.0, 13.1, !
# ! ! ! the multilib for these version of Slackware !
# ! ! ! implicitly inherit of this addition. !
# !================+========================+===================================================!
# ! ! l/glib ! Added to the multilib for 13.37 !
# ! ! !Added to the multilib since 14.2
# ! ! ! This is required by some 32-bit softwares (3) !
# ! ! !Added to the multilib since 14.2
# ! ! ! As this package is also available on 13.0, 13.1, !
# ! ! ! the multilib for these version of Slackware !
# ! 1.4.110825 ! ! implicitly inherit of this addition. !
# ! !------------------------+---------------------------------------------------!
# ! ! l/gtk+ ! Added to the multilib for 13.37 !
# ! ! !Added to the multilib since 14.2
# ! ! ! This is required by some 32-bit softwares (3) !
# ! ! !Added to the multilib since 14.2
# ! ! ! As this package is also available on 13.0, 13.1, !
# ! ! ! the multilib for these version of Slackware !
# ! ! ! implicitly inherit of this addition. !
# !================+========================+===================================================!
# ! ! l/libffi ! Added to the multilib for upcoming 14.0 !
# ! 1.5.120817 !------------------------+---------------------------------------------------!
# ! ! xap/xfce ! Removed from the multilib !
# !================+========================+===================================================!
# ! ! ap/flac ! Added to the multilib for 14.0 !
# ! 1.5.121120 !------------------------+---------------------------------------------------!
# ! ! ap/sqlite ! Added to the multilib for 14.0 !
# ! !------------------------+---------------------------------------------------!
# ! ! l/libogg ! Added to the multilib for 14.0 !
# ! !------------------------+---------------------------------------------------!
# ! ! l/libsamplerate ! Added to the multilib for 14.0 !
# ! !------------------------+---------------------------------------------------!
# ! ! l/libvorbis ! Added to the multilib for 14.0 !
# !================+========================+===================================================!
# ! ! l/gmp ! Added to the multilib for 14.0 (4) !
# ! 1.5.130103 !------------------------+---------------------------------------------------!
# ! ! n/nettle ! Added to the multilib for 14.0 (4) !
# ! !------------------------+---------------------------------------------------!
# ! ! n/p11-kit ! Added to the multilib for 14.0 (4) !
# !================+========================+===================================================!
# ! ! x/glu ! Added to the multilib for -current (post 14.0) !
# ! 1.5.130225 ! !Added to the multilib since 14.2
# ! ! ! The glu package has been split out of mesa. !
# !================+========================+===================================================!
# ! ! ap/mariadb ! Added to the multilib for -current (post 14.0) !
# ! 1.5.130331 ! !Added to the multilib since 14.2
# ! ! ! Replacement for package mysql !
# !================+========================+===================================================!
# ! ! l/harfbuzz ! Added to the multilib for -current (post 14.0) !
# ! 1.6.130522 ! l/icu4c !Added to the multilib since 14.2
# ! ! ! Required by latest version of pango !
# !================+========================+===================================================!
# ! ! l/fribidi ! Added to the multilib !
# ! 1.6.131001 ! l/lcms2 !Added to the multilib since 14.2
# ! ! xap/xsane ! fribidi and xsane are required to manage scanner !
# ! ! ! with WINE. lcms2 is required by WINE >= 1.7 !
# !================+========================+===================================================!
# ! ! a/attr ! Added to the multilib !
# ! 1.6.131022 ! l/giflib !Added to the multilib since 14.2
# ! ! ! for better Wine/pipelight support !
# !================+========================+===================================================!
# ! ! l/libtasn1 ! Added to the multilib !
# ! 1.6.131213 ! l/gnome-keyring !Added to the multilib since 14.2
# ! ! ! for better wine support !
# !================+========================+===================================================!
# ! ! a/udev ! Added to the multilib as new dependencies for !
# ! 1.6.131218 ! x/freeglut ! cairo !
# ! ! !Added to the multilib since 14.2
# ! Added to the multilib since 14.2
# ! ****** IMPORTANT NOTE ************************************************* !
# ! * * !
# ! * The build of package udev-compat32 is correctly supported starting * !
# ! * from convertpkg-compat32 v1.23 (in compat32-tools-3.1-noarch-5alien). * !
# ! * * !
# ! * The earlier versions of this tool generate an udev-compat32 that, * !
# ! * when installed, overwrites some 64-bit binaries with 32-bit version. * !
# ! * To avoid this, you must check that compat32-tools-3.1-noarch-5alien, * !
# ! * or later, is installed before running compat32pkg --upgrade layer-32 * !
# ! * * !
# ! *********************************************************************** !
# !================+========================+===================================================!
# ! 1.6.140610 ! l/lesstif ! Removed !
# !================+========================+===================================================!
# ! 1.6.160821 ! a/eudev ! Added to the multilib since 14.2 !
# ! ! a/libgudev ! Added to the multilib since 14.2 !
# ! ! a/xz ! Added to the multilib since 14.2 !
# ! ! ap/cups ! moved from serie A. !
# ! ! ap/cups-filters ! Added to the multilib since 14.2 !
# ! ! d/llvm ! Added to the multilib since 14.2 !
# ! ! l/alsa-plugins ! Added to the multilib since 14.2 !
# ! ! l/elfutils ! Added to the multilib since 14.2 !
# ! ! l/fftw ! Added to the multilib since 14.2 !
# ! ! l/gst-plugins-base0 ! Added to the multilib since 14.2 !
# ! ! l/gst-plugins-good0 ! Added to the multilib since 14.2 !
# ! ! l/gstreamer0 ! Added to the multilib since 14.2 !
# ! ! l/json-c ! Added to the multilib since 14.2 !
# ! ! l/libaio ! Added to the multilib since 14.2 !
# ! ! l/libasyncns ! Added to the multilib since 14.2 !
# ! ! l/libjpeg-turbo ! Added to the multilib since 14.2 !
# ! ! l/libnl3 ! Added to the multilib since 14.2 !
# ! ! l/libnotify ! Added to the multilib since 14.2 !
# ! ! l/lzo ! Added to the multilib since 14.2 !
# ! ! l/openjpeg ! Added to the multilib since 14.2 !
# ! ! l/orc ! Added to the multilib since 14.2 !
# ! ! l/pulseaudio ! Added to the multilib since 14.2 !
# ! ! l/sbc ! Added to the multilib since 14.2 !
# ! ! l/speexdsp ! Added to the multilib since 14.2 !
# ! ! n/libtirpc ! Added to the multilib since 14.2 !
# ! ! n/samba ! Added to the multilib since 14.2 !
# ! ! x/libepoxy ! Added to the multilib since 14.2 !
# ! ! x/libva ! Added to the multilib since 14.2 !
# ! ! x/libva-intel-driver ! Added to the multilib since 14.2 !
# ! ! x/libvdpau ! Added to the multilib since 14.2 !
# ! ! x/libxshmfence ! Added to the multilib since 14.2 !
# !================+========================+===================================================!
# ! 1.6.191217 ! The packages below have been added to the multilib in -current : !
# ! ! !
# ! ! serie a : lzlib, openssl10-solibs, plzip !
# ! ! serie ap : lm_sensors !
# ! ! serie d : opencl-headers !
# ! ! serie l : Mako, SDL2, at-spi2-atk, at-spi2-core, ffmpeg, gc, !
# ! ! gobject-introspection, graphite2, gst-plugins-libav, !
# ! ! gtk+3, isl, json-glib, lame, libarchive, libbluray, !
# ! ! libcaca, libcap, libcdio, libcdio-paranoia, libclc, !
# ! ! libcroco, libedit, libidn2, librsvg, libssh, libtheora, !
# ! ! libunistring, libunwind, libvpx, libwebp, lmdb, mozilla-nss, !
# ! ! ocl-icd, opus, pcre, pcre2, python-six, slang, speex, talloc, !
# ! ! tdb, tevent, wavpack, zstd !
# ! ! serie x : intel-vaapi-driver, libXfont2, libglvnd, libinput, !
# ! ! libpthread-stubs, libwacom, vulkan-sdk, xorgproto !
# ---------------------------------------------------------------------------------------------
#
# (1) http://www.linuxquestions.org/questions ... ost4389003
# (2) http://www.linuxquestions.org/questions ... ost4448838
# (3) http://www.linuxquestions.org/questions ... ost4452503
# (4) http://www.linuxquestions.org/questions ... ost4861917
###

###
# Serie [A] #
###

aaa_elflibs
attr
bzip2
cups
cxxlibs
dbus
e2fsprogs
eudev
libgudev
lzlib
openssl10-solibs
openssl-solibs
plzip
udev
util-linux-ng
util-linux
xz


###
# Serie [AP] #
###

cups
cups-filters
flac
lm_sensors
mariadb
mpg123
mysql
sqlite

###
# Serie [D] #
###

libtool
llvm
opencl-headers


###
# Serie [L] #
###

Mako
SDL2
alsa-lib
alsa-oss
alsa-plugins
at-spi2-atk
at-spi2-core
atk
audiofile
cairo
dbus-glib
elfutils
esound
expat
ffmpeg
fftw
freetype
fribidi
gamin
gc
gdk-pixbuf2
giflib
glib
glib2
gmp
gnome-keyring
gobject-introspection
graphite2
gst-plugins-base
gst-plugins-base0
gst-plugins-good
gst-plugins-good0
gst-plugins-libav
gstreamer
gstreamer0
gtk+
gtk+2
gtk+3
hal
harfbuzz
icu4c
isl
jasper
json-c
json-glib
lame
lcms
lcms2
libaio
libarchive
libasyncns
libart_lgpl
libbluray
libcaca
libcap
libcdio
libcdio-paranoia
libclc
libcroco
libelf
libedit
libexif
libffi
libglade
libgphoto2
libidn
libidn2
libieee1284
libjpeg
libjpeg-turbo
libmng
libmpc
libnl3
libnotify
libogg
libpcap
libpng
librsvg
libsamplerate
libsndfile
libssh
libtasn1
libtermcap
libtheora
libtiff
libunistring
libunwind
libusb
libvorbis
libvpx
libwebp
libxml2
libxslt
lmdb
lzo
mozilla-nss
ncurses
ocl-icd
openjpeg
opus
orc
pango
pcre
pcre2
popt
pulseaudio
python-six
qt
readline
sbc
sdl
seamonkey-solibs
slang
speex
speexdsp
startup-notification
svgalib
talloc
tdb
tevent
v4l-utils
wavpack
zlib
zstd

###
# Serie [N] #
###

curl
cyrus-sasl
gnutls
libgcrypt
libgpg-error
libtirpc
nettle
openldap-client
openssl
p11-kit
samba

###
# Serie [X] #
###

fontconfig
freeglut
glew
glu
intel-vaapi-driver
libFS
libICE
libSM
libX11
libXScrnSaver
libXTrap
libXau
libXaw
libXcomposite
libXcursor
libXdamage
libXdmcp
libXevie
libXext
libXfixes
libXfont
libXfont2
libXfontcache
libXft
libXi
libXinerama
libXmu
libXp
libXpm
libXprintUtil
libXrandr
libXrender
libXres
libXt
libXtst
libXv
libXvMC
libXxf86dga
libXxf86misc
libXxf86vm
libdmx
libdrm
libepoxy
libfontenc
libglvnd
libinput
liblbxutil
libpciaccess
libpthread-stubs
libva
libva-intel-driver
libvdpau
libwacom
libxcb
libxshmfence
mesa
pixman
vulkan-sdk
xcb-util
xorgproto


###
# Serie [XAP] #
###

sane
xsane
Because of things like this, this is the hard way to do this,
I just suppose i must make two list one for @Salix-15.0 and another for @Salix-15.0-extra to use commands like
compat32pkg --mirror @Salix-15.0 --install Salix-15.0
compat32pkg --mirror @Salix-15.0-extra --install Salix-15.0-extra

But i really don't know. Because i does not understading the documentation
https://compat32pkg.sourceforge.net/documentation.html

i not have idea how i just specify just get the list of packages available on the mirror to use the list for install a particular packages
like when i try :

Code: Select all

compat32pkg --mirror @Salix-15.0-extra --install list:salix/libraries/libpng-legacy12
i supose that should be the logic to install a package, but really does not work

i just need convert a library from 32 Bits to 64 Bits to can run dosbox native of 32 bits too.

Code: Select all

mkdir -p /tmp/compat32 ; cd /tmp/compat32
wget -c 'http://slackware.uk/salix/i486/extra-15.0/salix/libraries/libpng-legacy12-1.2.57-i486-2salix15.0.txz'
convertpkg-compat32 -i libpng-legacy12-1.2.57-i486-2salix15.0.txz -o libpng-legacy12-1.2.57-compat32-2salix15.0.txz
Converting package libpng-legacy12 (version 1.2.57) to libpng-legacy12-1.2.57-compat32-2salix15.0.txz (libpng-legacy12)
Exploding package /tmp/compat32/libpng-legacy12-1.2.57-i486-2salix15.0.txz in current directory:
./
install/
install/doinst.sh
install/slack-desc
usr/
usr/doc/
usr/doc/libpng-legacy12-1.2.57/
usr/doc/libpng-legacy12-1.2.57/README
usr/doc/libpng-legacy12-1.2.57/libpng-legacy12.SlackBuild
usr/lib/
usr/lib/libpng12.so.0.57.0

An installation script was detected in ./install/doinst.sh, but
was not executed.

Slackware package maker, version 3.14159265.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n


Creating Slackware package: /tmp/libpng-legacy12-1.2.57-compat32-2salix15.0.txz

./
install/
install/doinst.sh
install/slack-desc
usr/
usr/lib/
usr/lib/libpng12.so.0.57.0

Slackware package /tmp/libpng-legacy12-1.2.57-compat32-2salix15.0.txz created.

Package created: /tmp/libpng-legacy12-1.2.57-compat32-2salix15.0.txz

Code: Select all

installpkg /tmp/libpng-legacy12-1.2.57-compat32-2salix15.0.txz ; ldconfig
Verifying package libpng-legacy12-1.2.57-compat32-2salix15.0.txz.
Installing package libpng-legacy12-1.2.57-compat32-2salix15.0.txz:
PACKAGE DESCRIPTION:
# libpng-legacy12 (old PNG library for compatibility with old software)
#
# PNG (Portable Network Graphics) is an extensible file format for the
# lossless, portable, well-compressed storage of raster images.
#
# This build provides libpng12.so, occasionally needed for running
# older binary-only software. It can safely be installed without
# conflicting with Slackware's own libpng (which is version 1.6).
#
# This package contains 32-bit compatibility binaries.
Executing install script for libpng-legacy12-1.2.57-compat32-2salix15.0.txz.
Package libpng-legacy12-1.2.57-compat32-2salix15.0.txz installed.
If someone can solve how i can install packages from mirrors with compat32pkg i thank you if you can share the way how you solved it.
djemos
Salix Warrior
Posts: 1460
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: My way for install multilib [ The hard way ] + nvidia legacy drivers 390.157

Post by djemos »

Can you look at this install-multilib script
Source also in github
In case you will found it useful.

1. You do not use alien's compat32-tools package.
2. The above script automate the procedure of installing multilib as explained in http://www.slackware.com/~alien/multilib/README
3. From http://www.slackware.com/~alien/multilib/README
If you want to install a 32-bit package on Slackware64-multilib,
you will have to convert it to a 'compat32' package:

# convertpkg-compat32 -i /path/to/your/fresh/foo-VERSION-i586-BUILD.tgz
# upgradepkg --install-new /tmp/foo-compat32-VERSION-x86_64-BUILDcompat32.txz
inukaze
Posts: 28
Joined: 24. Nov 2024, 18:42

Re: My way for install multilib [ The hard way ] + nvidia legacy drivers 390.157

Post by inukaze »

djemos wrote: 28. Jan 2025, 20:00 Can you look at this install-multilib script
Source also in github
In case you will found it useful.

1. You do not use alien's compat32-tools package.
2. The above script automate the procedure of installing multilib as explained in http://www.slackware.com/~alien/multilib/README
3. From http://www.slackware.com/~alien/multilib/README
If you want to install a 32-bit package on Slackware64-multilib,
you will have to convert it to a 'compat32' package:

# convertpkg-compat32 -i /path/to/your/fresh/foo-VERSION-i586-BUILD.tgz
# upgradepkg --install-new /tmp/foo-compat32-VERSION-x86_64-BUILDcompat32.txz
i know but this thing was just an experiment. i notice something interesting for me, in the repository list, not appears all packages can be installed when you use the « Quick n' Dirty » method, and that cause some things like programs of 32 Bits via Wine in that mode, just show a tiny window like 1x1 pixel, but is just because some 32 Bits libs are missing

can be solved using the " Quick n' dirty method " :

Code: Select all

sudo -i

cd /tmp
mkdir multilib && cd multilib
lftp -c "open http://www.slackware.com/~alien/multilib/ ; mirror -c -e 15.0"
cd 15.0
upgradepkg --reinstall --install-new *.t?z
upgradepkg --install-new slackware64-compat32/*-compat32/*.t?z
and when you need install a 32 Bits program via Wine in 32 Bits mode, the window is right now rendered.
Post Reply