2024-03-17 10:57:06 +01:00
|
|
|
.TH slpkg 1 "Orestiada, Hellas" "slpkg 5.0.0" dslackw
|
2022-06-17 16:39:33 +02:00
|
|
|
.SH NAME
|
|
|
|
.P
|
2023-02-28 22:51:00 +01:00
|
|
|
slpkg \- Package manager utility for Slackware.
|
2023-02-27 17:05:11 +01:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.P
|
2023-03-05 19:37:05 +01:00
|
|
|
slpkg \c
|
2024-03-18 20:28:49 +01:00
|
|
|
[\fICOMMAND\fR] [\fIOPTIONS\fR] <\fIpackages\fR>
|
2022-06-17 16:39:33 +02:00
|
|
|
.P
|
2024-03-18 11:54:33 +01:00
|
|
|
slpkg [-h|-v] [-u, update] [-U, upgrade] [-I, repo-info]
|
2024-03-17 10:57:06 +01:00
|
|
|
[-g, configs] [-T, clean-tmp] [-b, build] [-i, install] [-d, download]
|
2024-03-20 11:31:37 +01:00
|
|
|
[-R, remove] [-f, find] [-w, view] [-s, search] [-e, dependees] [-t, tracking] -y, --yes, -c, --check, -O, --resolve-off,
|
2024-03-28 11:31:12 +01:00
|
|
|
-r, --reinstall, -k, --skip-installed, -E, --full-reverse, -S, --search, -B, --progress-bar, -p, --pkg-version,
|
2023-05-05 17:09:36 +02:00
|
|
|
-P, --parallel, -o, --repository=\fINAME\fR, -z, --directory=\fIPATH\fR
|
2022-06-17 16:39:33 +02:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.P
|
2022-12-26 10:43:34 +01:00
|
|
|
Slpkg is a software package manager that installs, updates, and removes packages on Slackware based systems.
|
|
|
|
It automatically computes dependencies and figures out what things should occur to install packages.
|
|
|
|
Slpkg makes it easier to maintain groups of machines without having to manually update.
|
2022-06-17 16:39:33 +02:00
|
|
|
.P
|
2022-12-26 10:43:34 +01:00
|
|
|
Slpkg works in accordance with the standards of the organization SlackBuilds.org to build packages.
|
|
|
|
Also uses the Slackware Linux instructions for installation, upgrading or removing packages.
|
2022-06-21 08:35:35 +02:00
|
|
|
.SH COMMANDS
|
2022-06-17 16:39:33 +02:00
|
|
|
.P
|
2023-01-27 23:19:28 +01:00
|
|
|
.B -u, update
|
2022-06-17 16:39:33 +02:00
|
|
|
.RS
|
2024-03-27 11:30:37 +01:00
|
|
|
Synchronize remote repositories with local repositories and update the databases with the newer packages list.
|
2022-06-17 16:39:33 +02:00
|
|
|
.RE
|
|
|
|
.P
|
2023-01-27 23:19:28 +01:00
|
|
|
.B -U, upgrade
|
2022-07-17 17:39:19 +02:00
|
|
|
.RS
|
2024-03-27 11:30:37 +01:00
|
|
|
Upgrade the installed packages if the newer version exists in the repository.
|
2022-07-17 17:39:19 +02:00
|
|
|
.RE
|
|
|
|
.P
|
2023-03-29 10:59:44 +02:00
|
|
|
.B -I, repo-info
|
|
|
|
.RS
|
2024-03-27 11:30:37 +01:00
|
|
|
View information related to repositories, such as which repositories are active or when they were upgraded,
|
2023-03-30 22:04:51 +02:00
|
|
|
and how many packages they contain.
|
2023-03-29 10:59:44 +02:00
|
|
|
.RE
|
|
|
|
.P
|
2024-03-17 10:57:06 +01:00
|
|
|
.B -T, clean-tmp
|
2022-11-28 19:48:10 +01:00
|
|
|
.RS
|
2024-03-27 11:30:37 +01:00
|
|
|
Deletes all the downloaded SlackBuilds scripts, sources or packages.
|
2022-11-28 19:48:10 +01:00
|
|
|
.RE
|
|
|
|
.P
|
2023-01-28 08:32:56 +01:00
|
|
|
.B -g, configs
|
|
|
|
.RS
|
2024-03-27 11:30:37 +01:00
|
|
|
Edit the configuration /etc/slpkg/slpkg.toml file via the dialog utility.
|
2023-01-28 08:32:56 +01:00
|
|
|
.RE
|
|
|
|
.P
|
2023-01-21 16:57:53 +01:00
|
|
|
.B -b, build
|
2022-06-17 16:39:33 +02:00
|
|
|
.RS
|
2024-03-27 11:30:37 +01:00
|
|
|
Builds the Slackbuilds scripts without installing them.
|
2022-06-17 16:39:33 +02:00
|
|
|
.RE
|
|
|
|
.P
|
2023-01-21 16:57:53 +01:00
|
|
|
.B -i, install
|
2022-06-17 16:39:33 +02:00
|
|
|
.RS
|
2024-03-27 11:30:37 +01:00
|
|
|
Builds and installs the packages in the correct order, and also logs the packages with the dependencies for removal
|
|
|
|
with the remove command.
|
2022-06-17 16:39:33 +02:00
|
|
|
.RE
|
|
|
|
.P
|
2023-01-21 16:57:53 +01:00
|
|
|
.B -d, download
|
2022-10-15 19:05:38 +02:00
|
|
|
.RS
|
2024-03-27 11:30:37 +01:00
|
|
|
Download the current SlackBuilds scripts and the sources or packages without building or installing them.
|
2022-10-15 19:05:38 +02:00
|
|
|
.RE
|
|
|
|
.P
|
2023-03-01 11:47:18 +01:00
|
|
|
.B -R, remove
|
2022-06-17 16:39:33 +02:00
|
|
|
.RS
|
2023-03-05 19:38:48 +01:00
|
|
|
Removes packages with dependencies if the packages was installed with '\fIslpkg install\fR' method.
|
2022-06-17 16:39:33 +02:00
|
|
|
.RE
|
|
|
|
.P
|
2023-01-21 16:57:53 +01:00
|
|
|
.B -f, find
|
2022-06-23 16:11:50 +02:00
|
|
|
.RS
|
2024-03-27 11:30:37 +01:00
|
|
|
Find and display the installed packages on the system.
|
2022-06-23 16:11:50 +02:00
|
|
|
.RE
|
|
|
|
.P
|
2023-01-21 16:57:53 +01:00
|
|
|
.B -w, view
|
2022-06-19 20:38:52 +02:00
|
|
|
.RS
|
2024-03-27 11:30:37 +01:00
|
|
|
Display about the package information on the terminal.
|
2022-06-19 20:38:52 +02:00
|
|
|
.RE
|
|
|
|
.P
|
2023-01-21 16:57:53 +01:00
|
|
|
.B -s, search
|
2022-10-24 18:59:51 +02:00
|
|
|
.RS
|
|
|
|
Search and match packages from the repository.
|
|
|
|
.RE
|
2022-12-22 19:53:37 +01:00
|
|
|
.P
|
2023-01-21 16:57:53 +01:00
|
|
|
.B -e, dependees
|
2022-12-22 19:53:37 +01:00
|
|
|
.RS
|
2024-03-27 11:30:37 +01:00
|
|
|
Display which SlackBuild packages depend on from other Slackbuild package.
|
2022-12-22 19:53:37 +01:00
|
|
|
.RE
|
2022-12-23 19:17:06 +01:00
|
|
|
.P
|
2023-01-21 16:57:53 +01:00
|
|
|
.B -t, tracking
|
2022-12-23 19:17:06 +01:00
|
|
|
.RS
|
|
|
|
Tracking the packages dependencies.
|
|
|
|
.RE
|
2022-06-21 08:35:35 +02:00
|
|
|
.SH OPTIONS
|
2022-06-17 16:39:33 +02:00
|
|
|
.P
|
2023-02-27 17:05:11 +01:00
|
|
|
.B -y, --yes
|
2022-06-17 16:39:33 +02:00
|
|
|
.RS
|
2023-05-22 16:18:20 +02:00
|
|
|
Answer Yes to all questions. (to be used with: -u, update, -U, upgrade, -b, build,
|
2023-04-07 11:22:06 +02:00
|
|
|
-i, install, -R, remove, -d, download,)
|
2022-06-17 16:39:33 +02:00
|
|
|
.RE
|
|
|
|
.P
|
2024-03-18 11:54:33 +01:00
|
|
|
.B -c, --check
|
|
|
|
.RS
|
2024-03-25 20:09:59 +01:00
|
|
|
Check a procedure before you run it. (to be used with: -u, update, -U, upgrade)
|
2024-03-18 11:54:33 +01:00
|
|
|
.RE
|
|
|
|
.P
|
2023-05-05 17:09:36 +02:00
|
|
|
.B -O, --resolve-off
|
2022-06-17 16:39:33 +02:00
|
|
|
.RS
|
2024-03-27 11:30:37 +01:00
|
|
|
Turns off dependency resolving. (to be used with: -U, upgrade, -b, build, -i, install, -R, remove, -t, tracking)
|
2022-06-17 16:39:33 +02:00
|
|
|
.RE
|
2022-06-17 17:02:35 +02:00
|
|
|
.P
|
2023-03-01 11:47:18 +01:00
|
|
|
.B -r, --reinstall
|
2022-06-17 17:02:35 +02:00
|
|
|
.RS
|
2022-12-26 10:43:34 +01:00
|
|
|
Use this option if you want to upgrade all packages even if the same version is already installed.
|
2023-03-30 21:54:17 +02:00
|
|
|
Do not skip installed packages. (to be used with: -U, upgrade, -i, install)
|
2022-06-17 17:02:35 +02:00
|
|
|
.RE
|
2022-06-20 16:50:16 +02:00
|
|
|
.P
|
2023-02-27 17:05:11 +01:00
|
|
|
.B -k, --skip-installed
|
2022-10-08 19:40:01 +02:00
|
|
|
.RS
|
2024-03-27 11:30:37 +01:00
|
|
|
Skip the installed packages when you try to reinstall them.
|
2023-01-21 16:57:53 +01:00
|
|
|
Note: This option affects only the dependencies. (to be used with: -i, install)
|
2022-10-08 19:40:01 +02:00
|
|
|
.RE
|
2022-12-25 19:02:55 +01:00
|
|
|
.P
|
2023-02-27 17:05:11 +01:00
|
|
|
.B -E, --full-reverse
|
2022-12-25 19:02:55 +01:00
|
|
|
.RS
|
|
|
|
Full reverse dependency. Works only with -e, dependees command and show the requires too.
|
2023-01-21 16:57:53 +01:00
|
|
|
(to be used with: -e, dependees)
|
2022-12-21 20:23:54 +01:00
|
|
|
.RE
|
|
|
|
.P
|
2023-02-27 17:05:11 +01:00
|
|
|
.B -S, --search
|
2022-12-25 21:52:47 +01:00
|
|
|
.RS
|
2022-12-26 10:43:34 +01:00
|
|
|
Enable the dialog utility to search packages from the repository.
|
2023-03-06 16:49:10 +01:00
|
|
|
Example try: '\fIslpkg install python3 --search\fR' or '\fIslpkg download python3 --search\fR' and etc.
|
2023-03-01 11:47:18 +01:00
|
|
|
(to be used with: -b, build, -i, install, -d, download, -R, remove, -f, find, -w, view,
|
2023-01-21 16:57:53 +01:00
|
|
|
-s, search, -e, dependees, -t, tracking)
|
2022-12-25 21:52:47 +01:00
|
|
|
.RE
|
|
|
|
.P
|
2024-03-23 17:56:21 +01:00
|
|
|
.B -B, --progress-bar
|
2023-01-15 17:09:20 +01:00
|
|
|
.RS
|
2024-03-23 17:56:21 +01:00
|
|
|
Apply it to see a static progress bar instead of process execute like building, installing or removing.
|
|
|
|
(to be used with: -u, update, -U, upgrade, -b, build, -i, install, -R, remove)
|
2023-01-15 17:09:20 +01:00
|
|
|
.RE
|
|
|
|
.P
|
2023-02-27 17:05:11 +01:00
|
|
|
.B -p, --pkg-version
|
2023-01-16 19:29:33 +01:00
|
|
|
.RS
|
2024-03-27 11:30:37 +01:00
|
|
|
Display the repository package version. (to be used with: -e, dependees, -t, tracking, -w, view)
|
2023-01-16 19:29:33 +01:00
|
|
|
.RE
|
|
|
|
.P
|
2023-03-13 16:21:56 +01:00
|
|
|
.B -P, --parallel
|
|
|
|
.RS
|
|
|
|
Download files in parallel to speed up the process.
|
|
|
|
(to be used with: -u, update, -U, upgrade, -b, build, -i, install, -d, download)
|
|
|
|
.RE
|
|
|
|
.P
|
2023-05-15 11:06:51 +02:00
|
|
|
.B -m, --no-case
|
|
|
|
.RS
|
2023-05-16 09:47:24 +02:00
|
|
|
Case-sensitive pattern matching packages.
|
2023-05-15 21:41:43 +02:00
|
|
|
(to be used with: -b, build, -i, install, -d, download, -s, search, -f, find, -w, view, -t, tracking, -e, dependees)
|
2023-05-15 11:06:51 +02:00
|
|
|
.RE
|
|
|
|
.P
|
2023-05-05 17:09:36 +02:00
|
|
|
.BI "-o," "" " \-\--repository=" NAME "
|
2023-03-27 17:10:00 +02:00
|
|
|
.RS
|
2023-05-05 17:12:41 +02:00
|
|
|
Switches the default repository and set the repository you want to work with.
|
|
|
|
Make sure that you have been enabling the repository in the file '/etc/slpkg/repositories.toml'.
|
2023-05-04 18:46:10 +02:00
|
|
|
Repo pattern '*' supported only with: '-s, search' option.
|
2023-05-08 16:46:25 +02:00
|
|
|
(to be used with: -u, update, -U, upgrade, -c, check-updates, -I, repo-info, -b, build, -i, install, -d, download, -s, search,
|
|
|
|
-t, tracking, -e, dependees, -w, view)
|
2023-03-27 17:10:00 +02:00
|
|
|
.RE
|
|
|
|
.P
|
2023-05-05 17:09:36 +02:00
|
|
|
.BI "-z," "" " \-\-directory=" PATH "
|
2023-01-17 20:03:01 +01:00
|
|
|
.RS
|
2023-02-27 17:05:11 +01:00
|
|
|
The directory is the path where the files will be saved. (to be used with: -d, download)
|
2023-01-17 20:03:01 +01:00
|
|
|
.RE
|
|
|
|
.P
|
2023-02-27 17:05:11 +01:00
|
|
|
.B -h | --help
|
2022-06-20 16:50:16 +02:00
|
|
|
.RS
|
2022-12-21 20:23:54 +01:00
|
|
|
Show help information and exit.
|
2022-06-20 16:50:16 +02:00
|
|
|
.RE
|
|
|
|
.P
|
2023-02-27 17:05:11 +01:00
|
|
|
.B -v | --version
|
2022-06-20 16:50:16 +02:00
|
|
|
.RS
|
|
|
|
Print version and exit.
|
|
|
|
.RE
|
2023-03-17 11:11:54 +01:00
|
|
|
.SH OPTION SYNTAX
|
|
|
|
.P
|
|
|
|
Away from the classical way, you may put several options that do not require arguments together, like:
|
|
|
|
.PP
|
|
|
|
.Vb 1.
|
|
|
|
\& slpkg -iPny [\fIPACKAGES...\fR]
|
|
|
|
.Ve
|
|
|
|
.RE
|
2023-03-06 22:10:37 +01:00
|
|
|
.SH FILELIST|PACKAGES
|
|
|
|
.P
|
|
|
|
Instead of packages, you can pass a text file with suffix '.pkgs' and with the names of the packages. Example: '\fIslpkg install list.pkgs\fR'.
|
2023-03-08 09:08:31 +01:00
|
|
|
Edit the config '/etc/slpkg/slpkg.toml' file to change the suffix if you want. You can use lists from others, like '.sqf' files.
|
2023-03-06 22:10:37 +01:00
|
|
|
.RE
|
2023-04-11 12:00:53 +02:00
|
|
|
.SH MUST YOU KNOW
|
|
|
|
.P
|
|
|
|
There are five indicators when some commands are used, for example:
|
|
|
|
|
|
|
|
Cyan: To install, Yellow: To build, Grey: It's installed, Violet: For the upgrade, Red: To remove.
|
|
|
|
|
|
|
|
When you use the install, build, upgrade or remove commands you should know that, if the package is installed then its
|
|
|
|
color will change to gray, if the package is upgradeable then it will change to violet, and if it is not installed then
|
|
|
|
its color will be cyan. Also, if you try to remove a package you will see the package color turns red.
|
|
|
|
|
|
|
|
For the upgrade command, you should know, that you can upgrade packages from different repositories, if you edit
|
2023-04-13 16:40:16 +02:00
|
|
|
the '\fI/etc/slpkg/repositories.toml\fR' file and remove the repository tag. Then the slpkg can't recognize the repository of the packages.
|
2023-04-11 12:00:53 +02:00
|
|
|
|
2023-04-13 16:40:16 +02:00
|
|
|
With the remove command, it's going to remove the dependencies if the package had installed with the '\fIslpkg install\fR' command,
|
2023-04-11 12:00:53 +02:00
|
|
|
otherwise, the slpkg does not know the dependencies that are installed with the packages that going to remove.
|
|
|
|
|
|
|
|
You can apply the asterisk '*' instead of a package, to matching all the packages from a repository. You can't apply
|
2023-05-08 16:42:05 +02:00
|
|
|
an asterisk to the '\fB-o, --repository=\fR' option, except for the '\fB-s, search\fR', command.
|
2023-04-11 12:04:09 +02:00
|
|
|
|
2023-04-11 12:00:53 +02:00
|
|
|
Note: There is currently no function to indicate the packages if the colors are disabled.
|
|
|
|
.RE
|
2023-04-25 20:15:35 +02:00
|
|
|
.SH EXIT STATUS
|
|
|
|
.P
|
|
|
|
0 Successful slpkg execution.
|
|
|
|
.P
|
|
|
|
1 Something wrong happened.
|
2023-12-02 17:05:08 +01:00
|
|
|
.P
|
|
|
|
Installpkg and upgradepkg exit error code:
|
|
|
|
.P
|
|
|
|
1 = tar returned error code
|
|
|
|
.P
|
|
|
|
2 = corrupt compression envelope
|
|
|
|
.P
|
|
|
|
3 = does not end in .tgz
|
|
|
|
.P
|
|
|
|
4 = no such file
|
|
|
|
.P
|
|
|
|
5 = external compression utility missing
|
2023-04-25 20:15:35 +02:00
|
|
|
.RE
|
2023-05-17 12:59:58 +02:00
|
|
|
.SH EXPLANATION CHARACTERS
|
|
|
|
.P
|
|
|
|
[•] Processing status: Red is still processing, Green is done.
|
|
|
|
.P
|
|
|
|
[✔️] Done character: Appear when the processing is done.
|
|
|
|
.P
|
|
|
|
[X] Failed character: Appear when the processing is failed.
|
|
|
|
.P
|
|
|
|
[↪] Skipped character: Appear when the processing skipped.
|
|
|
|
.P
|
|
|
|
.RE
|
2022-06-19 21:57:06 +02:00
|
|
|
.SH CONFIGURATION FILES
|
2022-06-17 16:39:33 +02:00
|
|
|
.P
|
2022-11-30 17:44:09 +01:00
|
|
|
Configuration file in the /etc/slpkg/slpkg.toml file.
|
2023-03-27 17:10:00 +02:00
|
|
|
.P
|
|
|
|
Repositories file in the /etc/slpkg/repositories.toml file.
|
2023-03-14 18:24:49 +01:00
|
|
|
.P
|
2022-11-30 17:44:09 +01:00
|
|
|
Blacklist file in the /etc/slpkg/blacklist.toml file.
|
2023-03-14 18:24:49 +01:00
|
|
|
.P
|
2023-04-26 08:37:28 +02:00
|
|
|
\fIslpkg_new-configs\fR command it's managing the .new configuration files easily and fast. Move, copy or remove them.
|
2023-03-14 18:24:49 +01:00
|
|
|
.RE
|
2022-06-17 16:39:33 +02:00
|
|
|
.SH REPORT BUGS
|
|
|
|
.P
|
2023-01-10 22:06:38 +01:00
|
|
|
Please report any found to: https://gitlab.com/dslackw/slpkg/-/issues.
|
2023-04-28 11:03:38 +02:00
|
|
|
.P
|
2023-04-28 11:00:17 +02:00
|
|
|
Note: With the issue, please reference the log file you will find in the /tmp/slpkg/logs/slpkg.log path and paste it too.
|
2022-06-17 19:10:17 +02:00
|
|
|
.SH AUTHOR
|
2022-06-17 16:39:33 +02:00
|
|
|
.P
|
2023-04-11 13:02:03 +02:00
|
|
|
Dimitris Zlatanidis <dslackw@gmail.com>
|