slpkg/man/slpkg.1

234 lines
7.1 KiB
Groff
Raw Normal View History

2023-04-04 13:01:40 +02:00
.TH slpkg 1 "Orestiada, Greece" "slpkg 4.7.3" dslackw
.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]
.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]
.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.
.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
.P
2023-01-27 23:19:28 +01:00
.B -u, update
.RS
2022-06-19 20:38:52 +02:00
Updates the package list and the database.
.RE
.P
2023-01-27 23:19:28 +01:00
.B -U, upgrade
.RS
Upgrade all the installed packages if the newer version exists in the repository.
.RE
.P
2023-01-28 16:36:23 +01:00
.B -c, check-updates
.RS
2023-03-30 16:51:40 +02:00
Check if there is any news on the repositories ChangeLog.txt file.
.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
.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
.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
.RS
Builds the Slackbuilds scripts and adds them to the /tmp directory.
.RE
.P
2023-01-21 16:57:53 +01:00
.B -i, install
.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.
.RE
.P
2023-01-21 16:57:53 +01:00
.B -d, download
.RS
2023-03-14 09:55:50 +01:00
Download the current SlackBuilds scripts and the sources without building or installing them.
.RE
.P
2023-03-01 11:47:18 +01:00
.B -R, remove
.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.
.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
.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
.P
2023-02-27 17:05:11 +01:00
.B -y, --yes
.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-05 16:30:41 +02:00
-i, install, -R, remove, -d, download,) (Not used with -R, remove, option removed for security reasons)
.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
.RS
2023-02-25 20:45:56 +01:00
Turns off dependency resolving. (to be used with: -U, upgrade, -b, build, -i, install)
.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
.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)
.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
2022-06-19 21:57:06 +02:00
.SH CONFIGURATION FILES
.P
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
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
.SH REPORT BUGS
.P
Please report any found to: https://gitlab.com/dslackw/slpkg/-/issues.
2022-06-17 19:10:17 +02:00
.SH AUTHOR
.P
Dimitris Zlatanidis <d.zlatanidis@gmail.com>