Is there a howto to slapt-mod. And what is the difference with getmod.
Thanks.
slapt-mod How to: is there one?
- francois
- Contributor
- Posts: 6445
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
slapt-mod How to: is there one?
Prendre son temps, profiter de celui qui passe.
- Ed_P
- Contributor
- Posts: 8653
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
slapt-mod How to: is there one?
[Porteus 5.0's USM replacement] getmod: A wrapper for slapt-get to build modules
and
and
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.
guest@porteus:~$
Code: Select all
guest@porteus:~$ getmod
bash: getmod: command not found
guest@porteus:~$ su
Password:
root@porteus:/home/guest# getmod
bash: getmod: command not found
root@porteus:/home/guest#