Salix repositories

Technical issues/questions of an intermediate or advanced nature.
User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Salix repositories

Post#1 by Ed_P » 06 Jan 2024, 17:37

<<<<<<<< A useful Chat conversation>>>>>>>>>>

baloontravel • Fri Jan 05, 2024 7:02 am
Can I use slakyd with Salix repositories, or only slapt-get is suitable?

Blaze • Fri Jan 05, 2024 7:05 am
You can use slapt-mod and get all stuff from Salix repo

Blaze • Fri Jan 05, 2024 7:06 am
Run as root user slapt-mod -h for the help

baloontravel • Fri Jan 05, 2024 7:11 am
Thanks

Blaze • Fri Jan 05, 2024 7:11 am
A simple wrapper for slapt-get: slapt-mod : to produce a module of the package (a revision of getmod by babam)

Blaze • Fri Jan 05, 2024 7:14 am
Example of usage Evolution (Post by Blaze #97710)

baloontravel • Fri Jan 05, 2024 7:14 am
I like to make modules manually with dir2xzm to add all programs for certain case.

Blaze • Fri Jan 05, 2024 7:18 am
Also you can use

Code: Select all

pmod -u
pmod -s search-by-name-of-package
pmod -m name-of-package
----------------------------------------------------------------
Ed

User avatar
Blaze
DEV Team
DEV Team
Posts: 3885
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Salix repositories

Post#2 by Blaze » 06 Jan 2024, 18:32

Code: Select all

# slapt-mod -h

   slapt-mod: A simple wrapper for slapt-get to build Porteus module.

   slapt-mod [-c] [-u] [-d|-m|-M|-n|-N PACKAGE_NAME] [-l PATTERN] [-s PATTERN]

Options:
  -c: Purge cached packages
  -d: Download only
  -m: Download and build module (ZSTD compression)
  -M: Download and build module (XZ compression)
  -n: Download and build module without dependencies (ZSTD compression)
  -N: Download and build module without dependencies (XZ compression)
  -l: List installed packages
  -s: Search package
  -u: Update database
  -h: This usage

   To change the temporary directory (default is /tmp), pass the TMP variable.
   $ TMP=/path/to/directory slapt-mod -m packagename

   Temporary directory is for storing downloaded packages, installing and converting to modules.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Salix repositories

Post#3 by Ed_P » 06 Jan 2024, 18:57

And when done as guest:

Code: Select all

guest@porteus:~$ slapt-mod -h
Please enter root's password
Password: 

   slapt-mod: A simple wrapper for slapt-get to build Porteus module.

   slapt-mod [-c] [-u] [-d|-m|-M|-n|-N PACKAGE_NAME] [-l PATTERN] [-s PATTERN]

Options:
  -c: Purge cached packages
  -d: Download only
  -m: Download and build module (ZSTD compression)
  -M: Download and build module (XZ compression)
  -n: Download and build module without dependencies (ZSTD compression)
  -N: Download and build module without dependencies (XZ compression)
  -l: List installed packages
  -s: Search package
  -u: Update database
  -h: This usage

   To change the temporary directory (default is /tmp), pass the TMP variable.
   $ TMP=/path/to/directory slapt-mod -m packagename

   Temporary directory is for storing downloaded packages, installing and converting to modules.

guest@porteus:~$ 
;)

Added in 24 minutes 44 seconds:
Plus:

Code: Select all

guest@porteus:~$ pmod

Options:
  -u: update database
  -s: search package
  -S: search file
  -g: download pkg only
  -m: download and convert to module
  -h: this usage
  
guest@porteus:~$ getpkg

You may enter a package/s
getpkg binutils flex

You may also enter a file with a
list of packages one per line.
guest@porteus:~$ 
:)
Ed

seed_clapper
Black ninja
Black ninja
Posts: 44
Joined: 17 Oct 2022, 13:22
Distribution: Porteus 5 LXQT

Salix repositories

Post#4 by seed_clapper » 07 Jan 2024, 05:37

What is the difference between pmod, slapt-mod, and slpkg? Why sometimes they find different version of software? Is there a reason porteus using three different software installers instead of combining them into one?

And why their existence is hidden from the user? Why not add "Software install/update" category to Start menu? And collect there links to all that "update-browser", "update-libreoffice" scripts and links to open command line with "slapt-mod -h" etc.

User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Salix repositories

Post#5 by Ed_P » 07 Jan 2024, 06:46

seed_clapper wrote:
07 Jan 2024, 05:37
Why sometimes they find different version of software?
They apparently search different repositories.
seed_clapper wrote:
07 Jan 2024, 05:37
Is there a reason porteus using three different software installers instead of combining them into one?
Not aware Porteus is using 3 different "installers". It supports the slapt-mod one which was added to 5.01 and what "installer" a user uses to develop a module is up to the user imo. I suspect the various module builders are slackware apps and Porteus is slackware based.
Ed

Post Reply