Page 1 of 1

[Porteus 5.01's Package Manager] slapt-mod: to build modules

Posted: 03 Nov 2024, 16:21
by Ed_P
The current Porteus package manager app.

Code: Select all

guest@porteus:~$ slapt-mod
 
   slapt-mod: A simple wrapper for slapt-get to build Porteus module. 
              All operations must be run as root user. 

   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 them to modules.

   See /etc/slapt-get/slapt-modrc to set preferences for stripping and language of created modules.

Be sure to run slapt-mod -u before starting to download packages. :happy62:

[Porteus 5.01's Package Manager] slapt-mod: to build modules

Posted: 15 Dec 2024, 01:40
by Jack
Ed_P wrote:
03 Nov 2024, 16:21
The current Porteus package manager app.

Code: Select all

guest@porteus:~$ slapt-mod
 
   slapt-mod: A simple wrapper for slapt-get to build Porteus module. 
              All operations must be run as root user. 

   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 them to modules.

   See /etc/slapt-get/slapt-modrc to set preferences for stripping and language of created modules.

Be sure to run slapt-mod -u before starting to download packages. :happy62:
Will I need to install 05-devel.xzm to use with slapt-mod?

[Porteus 5.01's Package Manager] slapt-mod: to build modules

Posted: 15 Dec 2024, 04:42
by ncmprhnsbl
Jack wrote:
15 Dec 2024, 01:40
Will I need to install 05-devel.xzm to use with slapt-mod?
no, it works without it.

[Porteus 5.01's Package Manager] slapt-mod: to build modules

Posted: 15 Dec 2024, 07:21
by Jack
Which is better to use -m -M -n -N when you build a module?

[Porteus 5.01's Package Manager] slapt-mod: to build modules

Posted: 15 Dec 2024, 19:47
by Ed_P
FWIW I use -m.