2023-04-13 16:40:16 +02:00
|
|
|
.TH slpkg 1 "Orestiada, Greece" "slpkg 4.7.8" 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
|
2023-03-28 19:01:09 +02:00
|
|
|
[\fICOMMAND\fR] [\fIOPTIONS\fR] [\fIFILELIST|PACKAGES...\fR]
|
2022-06-17 16:39:33 +02:00
|
|
|
.P
|
2023-03-29 10:59:44 +02:00
|
|
|
slpkg [-h|-v] [-u, update] [-U, upgrade] [-c, check-updates] [-I, repo-info] [-g, configs] [-L, clean-logs]
|
2023-03-13 16:21:56 +01:00
|
|
|
[-D, clean-tmp] [-T, clean-data] [-b, build] [-i, install] [-d, download]
|
2023-03-01 11:47:18 +01:00
|
|
|
[-R, remove] [-f, find] [-w, view] [-s, search] [-e, dependees] [-t, tracking] -y, --yes, -j, --jobs, -o, --resolve-off,
|
2023-03-13 16:21:56 +01:00
|
|
|
-r, --reinstall, -k, --skip-installed, -E, --full-reverse, -S, --search, -n, --no-silent, -p, --pkg-version, -z,
|
2023-03-30 21:54:17 +02:00
|
|
|
-G, --generate-only, -P, --parallel, -B, --bin-repo=[\fIREPO\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
|
2022-06-19 20:38:52 +02:00
|
|
|
Updates the package list and the database.
|
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
|
2022-11-01 18:06:49 +01:00
|
|
|
Upgrade all the installed packages if the newer version exists in the repository.
|
2022-07-17 17:39:19 +02:00
|
|
|
.RE
|
|
|
|
.P
|
2023-01-28 16:36:23 +01:00
|
|
|
.B -c, check-updates
|
2022-11-03 17:52:01 +01:00
|
|
|
.RS
|
2023-03-30 16:51:40 +02:00
|
|
|
Check if there is any news on the repositories ChangeLog.txt file.
|
2022-11-03 17:52:01 +01:00
|
|
|
.RE
|
|
|
|
.P
|
2023-03-29 10:59:44 +02:00
|
|
|
.B -I, repo-info
|
|
|
|
.RS
|
2023-03-30 22:04:51 +02:00
|
|
|
View information related to repositories, such as which repositories are active, when they were upgraded,
|
|
|
|
and how many packages they contain.
|
2023-03-29 10:59:44 +02:00
|
|
|
.RE
|
|
|
|
.P
|
2023-01-28 16:36:23 +01:00
|
|
|
.B -L, clean-logs
|
2022-11-28 19:48:10 +01:00
|
|
|
.RS
|
|
|
|
Cleans dependencies log tracking. After that procedure you should remove dependencies by hand.
|
|
|
|
.RE
|
|
|
|
.P
|
2023-03-05 22:03:46 +01:00
|
|
|
.B -T, clean-data
|
|
|
|
.RS
|
2023-03-06 20:04:44 +01:00
|
|
|
Sometimes is necessary to clean all the repositories data from the database.
|
|
|
|
Run this command to delete all the data and run '\fIslpkg update\fR' to recreate.
|
2023-03-05 22:03:46 +01:00
|
|
|
.RE
|
|
|
|
.P
|
2023-01-28 19:11:45 +01:00
|
|
|
.B -D, clean-tmp
|
2022-11-28 19:48:10 +01:00
|
|
|
.RS
|
|
|
|
Deletes all the downloaded SlackBuilds scripts and sources.
|
|
|
|
.RE
|
|
|
|
.P
|
2023-01-28 08:32:56 +01:00
|
|
|
.B -g, configs
|
|
|
|
.RS
|
|
|
|
Edit the configuration /etc/slpkg/slpkg.toml file.
|
|
|
|
.RE
|
|
|
|
.P
|
2023-01-21 16:57:53 +01:00
|
|
|
.B -b, build
|
2022-06-17 16:39:33 +02:00
|
|
|
.RS
|
2022-11-01 18:06:49 +01:00
|
|
|
Builds the Slackbuilds scripts and adds them to the /tmp directory.
|
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
|
2023-02-26 21:47:34 +01:00
|
|
|
Builds and installs the packages in the correct order, and also logs the packages with the dependencies for removal.
|
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
|
2023-03-14 09:55:50 +01:00
|
|
|
Download the current SlackBuilds scripts and the sources 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.
|
2023-03-05 19:37:05 +01:00
|
|
|
Slpkg looks at the 'REPO_TAG' configuration to find packages for removal by default, except if you are using \fB--file-pattern\fR option.
|
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
|
2023-02-26 21:47:34 +01:00
|
|
|
Find your installed packages on your 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
|
2023-02-26 21:47:34 +01:00
|
|
|
View information packages from the repository and get everything in your 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
|
|
|
|
Show which SlackBuilds depend on.
|
|
|
|
.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-02-25 20:45:56 +01:00
|
|
|
Answer Yes to all questions. (to be used with: -u, update, -U, upgrade, -L, clean-logs, -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
|
2023-02-27 17:05:11 +01:00
|
|
|
.B -j, --jobs
|
2022-06-20 16:50:16 +02:00
|
|
|
.RS
|
2023-03-05 19:37:05 +01:00
|
|
|
Acceleration of SlackBuild scripts. When the \fB--jobs\fR flag is set, slpkg automatically detects the number
|
2022-12-26 10:43:34 +01:00
|
|
|
of processors and enters it into the MAKEFLAGS variable. Some SlackBuilds fail when MAKEFLAGS is declared or
|
2023-02-25 20:45:56 +01:00
|
|
|
the number of processors (-j) is greater than one. (to be used with: -U, upgrade, -b, build, -i, install)
|
2022-06-20 16:50:16 +02:00
|
|
|
.RE
|
|
|
|
.P
|
2023-02-27 17:05:11 +01:00
|
|
|
.B -o, --resolve-off
|
2022-06-17 16:39:33 +02:00
|
|
|
.RS
|
2023-02-25 20:45:56 +01:00
|
|
|
Turns off dependency resolving. (to be used with: -U, upgrade, -b, build, -i, install)
|
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
|
|
|
|
This a helpful option if you want to avoid building and reinstalling packages.
|
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
|
2023-02-27 17:05:11 +01:00
|
|
|
.B -n, --no-silent
|
2023-01-15 17:09:20 +01:00
|
|
|
.RS
|
2023-03-13 19:42:40 +01:00
|
|
|
Disable silent mode, if it is enabled in the configuration file. (to be used with: -u, update, -U, upgrade, -b, build,
|
2023-03-30 22:42:48 +02:00
|
|
|
-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
|
2023-02-27 17:05:11 +01:00
|
|
|
Print 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-05 16:08:43 +01:00
|
|
|
.B -G, --generate-only
|
|
|
|
.RS
|
|
|
|
It is used only with the ponce repository and when you want to generate only the SLACKBUILDS.TXT
|
2023-03-05 18:24:33 +01:00
|
|
|
file and update the database, without downloading the whole repository if you have already
|
|
|
|
downloaded it. (to be used with: -u, update)
|
2023-03-05 16:08:43 +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-03-27 21:01:53 +02:00
|
|
|
.BI "-B," "" " \-\-bin-repo=[" REPO "]
|
2023-03-27 17:10:00 +02:00
|
|
|
.RS
|
2023-03-27 21:01:53 +02:00
|
|
|
Switch to binaries repositories and select a repository.
|
2023-03-30 16:51:40 +02:00
|
|
|
Example: '\fIslpkg -i audacity --bin-repo=alien\fR'. Options update, check, and search support the asterisk '*' to apply
|
|
|
|
it in all repositories, like search a package to all binaries repositories '\fIslpkg -s libreoffice --bin-repo='*'\fR'.
|
2023-04-04 13:01:40 +02:00
|
|
|
Repo pattern '*' supported only with: -s, search, -u, update and -c, check-updates options.
|
|
|
|
(to be used with: -u, update, -c, check-updates, -U, upgrade, -i, install, -d, download, -s, search, -t, tracking, -e, dependees, -w, view)
|
2023-03-27 17:10:00 +02:00
|
|
|
.RE
|
|
|
|
.P
|
2023-03-01 23:17:16 +01: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.
|
|
|
|
|
2023-04-13 16:40:16 +02:00
|
|
|
Example: If the package is already installed and the indicator color is grey and the option '\fB-r, --reinstall\fR' is not applied,
|
2023-04-11 12:00:53 +02:00
|
|
|
the package will skip from the installation and you will see a message '(already installed)'.
|
|
|
|
If the package is upgradeable, the installation will continue and the package will go to upgrade.
|
|
|
|
|
|
|
|
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-04-13 16:40:16 +02:00
|
|
|
an asterisk to the '\fB-B, --bin-repos=\fR' option, except for the '\fB-s, search\fR', '\fB-u, update\fR' and '\fB-c, check-updates\fR' commands.
|
2023-04-11 12:00:53 +02:00
|
|
|
|
2023-04-11 12:06:40 +02:00
|
|
|
Command clean-data, removes the local repository data and the database data.
|
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
|
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
|
|
|
|
\fIslpkg_new-config\fR command it's managing the .new configuration files easily and fast. Move, copy or remove them.
|
|
|
|
.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.
|
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>
|