2022-06-19 21:54:49 +02:00
|
|
|
.. contents:: Table of Contents:
|
2022-05-24 16:30:54 +02:00
|
|
|
|
|
|
|
|
2022-06-19 21:54:49 +02:00
|
|
|
About
|
|
|
|
-----
|
|
|
|
|
2022-06-20 22:14:46 +02:00
|
|
|
Slpkg is a software package manager that installs, updates and removes packages on `Slackware <http://www.slackware.com/>`_-based systems.
|
2022-06-19 21:54:49 +02:00
|
|
|
It automatically calculates dependencies and figures out what things need to happen to install packages.
|
|
|
|
Slpkg makes it easier to manage groups of machines without the need for manual updates.
|
|
|
|
|
|
|
|
Slpkg works in accordance with the standards of the `SlackBuilds.org <https://www.slackbuilds.org>`_ organization to build packages.
|
|
|
|
It also uses the Slackware Linux instructions for installing, upgrading or removing packages.
|
|
|
|
|
|
|
|
.. image:: https://gitlab.com/dslackw/images/raw/master/slpkg/slpkg_package.png
|
|
|
|
:target: https://gitlab.com/dslackw/slpkg
|
|
|
|
|
|
|
|
|
|
|
|
Requirements
|
|
|
|
------------
|
2022-05-24 16:30:54 +02:00
|
|
|
|
2022-06-19 21:54:49 +02:00
|
|
|
.. code-block:: bash
|
|
|
|
|
2022-11-30 17:44:09 +01:00
|
|
|
SQLAlchemy >= 1.4.36
|
2022-12-24 20:07:09 +01:00
|
|
|
pythondialog >= 3.5.3
|
2022-11-30 17:44:09 +01:00
|
|
|
toml >= 0.10.2
|
2022-05-24 16:30:54 +02:00
|
|
|
|
2022-05-24 16:54:32 +02:00
|
|
|
Install
|
|
|
|
-------
|
|
|
|
|
2022-06-19 21:54:49 +02:00
|
|
|
Install from the official third-party `SBo repository <https://slackbuilds.org/repository/15.0/system/slpkg/>`_ or directly from source:
|
2022-05-24 16:54:32 +02:00
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
2022-12-28 19:15:53 +01:00
|
|
|
$ tar xvf slpkg-4.4.1.tar.gz
|
|
|
|
$ cd slpkg-4.4.1
|
2022-05-24 16:54:32 +02:00
|
|
|
$ ./install.sh
|
|
|
|
|
2022-12-28 20:46:50 +01:00
|
|
|
Screenshots
|
|
|
|
-----------
|
|
|
|
|
|
|
|
.. image:: https://gitlab.com/dslackw/images/raw/master/slpkg/install.png
|
|
|
|
:target: https://gitlab.com/dslackw/slpkg
|
|
|
|
|
2022-12-28 21:00:45 +01:00
|
|
|
.. image:: https://gitlab.com/dslackw/images/raw/master/slpkg/install_next.png
|
2022-12-28 20:51:22 +01:00
|
|
|
:target: https://gitlab.com/dslackw/slpkg
|
|
|
|
|
2022-05-24 16:54:32 +02:00
|
|
|
|
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
$ slpkg --help
|
2022-06-23 20:39:43 +02:00
|
|
|
USAGE: slpkg [OPTIONS] [COMMAND] <packages>
|
2022-06-19 21:54:49 +02:00
|
|
|
|
2022-06-21 08:35:35 +02:00
|
|
|
DESCRIPTION:
|
|
|
|
Packaging tool that interacts with the SBo repository.
|
|
|
|
|
|
|
|
COMMANDS:
|
2022-11-23 20:25:55 +01:00
|
|
|
update Update the package lists.
|
|
|
|
upgrade Upgrade all the packages.
|
|
|
|
check-updates Check for news on ChangeLog.txt.
|
2022-12-27 23:06:13 +01:00
|
|
|
configs Edit the configuration file.
|
2022-11-23 20:25:55 +01:00
|
|
|
clean-logs Clean dependencies log tracking.
|
|
|
|
clean-tmp Deletes all the downloaded sources.
|
|
|
|
-b, build <packages> Build only the packages.
|
|
|
|
-i, install <packages> Build and install the packages.
|
|
|
|
-d, download <packages> Download only the scripts and sources.
|
|
|
|
-r, remove <packages> Remove installed packages.
|
|
|
|
-f, find <packages> Find installed packages.
|
|
|
|
-w, view <packages> View packages from the repository.
|
2022-12-25 22:31:26 +01:00
|
|
|
-s, search <packages> Search and print packages from the repository.
|
2022-12-22 19:53:37 +01:00
|
|
|
-e, dependees <packages> Show which packages depend.
|
2022-12-23 19:17:06 +01:00
|
|
|
-t, tracking <packages> Tracking the packages dependencies.
|
2022-06-19 21:54:49 +02:00
|
|
|
|
2022-06-20 23:52:24 +02:00
|
|
|
OPTIONS:
|
2022-11-23 20:25:55 +01:00
|
|
|
--yes Answer Yes to all questions.
|
|
|
|
--jobs Set it for multicore systems.
|
|
|
|
--resolve-off Turns off dependency resolving.
|
|
|
|
--reinstall Upgrade packages of the same version.
|
|
|
|
--skip-installed Skip installed packages.
|
2022-12-25 22:31:26 +01:00
|
|
|
--full-reverse Full reverse dependency. │
|
|
|
|
--search Search packages from the repository.
|
2022-11-23 20:25:55 +01:00
|
|
|
|
|
|
|
-h, --help Show this message and exit.
|
|
|
|
-v, --version Print version and exit.
|
2022-06-20 23:52:24 +02:00
|
|
|
|
|
|
|
If you need more information try to use slpkg manpage.
|
2022-06-19 21:54:49 +02:00
|
|
|
|
|
|
|
|
2022-12-08 18:44:46 +01:00
|
|
|
$ slpkg install Flask
|
2022-12-08 18:47:04 +01:00
|
|
|
The following packages will be installed or upgraded:
|
2022-12-08 18:44:46 +01:00
|
|
|
|
2022-12-08 18:47:04 +01:00
|
|
|
[ install ] -> Flask-2.1.2
|
2022-12-08 18:44:46 +01:00
|
|
|
|
2022-12-08 18:47:04 +01:00
|
|
|
Dependencies:
|
|
|
|
[ install ] -> python-zipp-3.8.0
|
|
|
|
[ install ] -> python-importlib_metadata-4.10.1
|
|
|
|
[ install ] -> click-8.1.3
|
|
|
|
[ install ] -> python3-itsdangerous-2.1.2
|
|
|
|
[ install ] -> werkzeug-2.1.2
|
2022-12-08 18:44:46 +01:00
|
|
|
|
2022-12-08 18:47:04 +01:00
|
|
|
Total 6 packages will be installed and 0 will be upgraded.
|
2022-12-08 18:44:46 +01:00
|
|
|
|
2022-12-22 20:13:41 +01:00
|
|
|
Do you want to continue (y/N)?:
|
2022-12-08 18:44:46 +01:00
|
|
|
|
|
|
|
|
2022-12-22 20:13:41 +01:00
|
|
|
$ slpkg remove Flask
|
2022-12-08 18:47:04 +01:00
|
|
|
The following packages will be removed:
|
2022-12-08 18:44:46 +01:00
|
|
|
|
2022-12-08 18:47:04 +01:00
|
|
|
[ delete ] -> Flask-2.1.2-x86_64-1_SBo
|
2022-12-08 18:44:46 +01:00
|
|
|
|
2022-12-08 18:47:04 +01:00
|
|
|
Dependencies:
|
|
|
|
[ delete ] -> python-zipp-3.8.0-x86_64-2_SBo
|
|
|
|
[ delete ] -> python-importlib_metadata-4.10.1-x86_64-1_SBo
|
|
|
|
[ delete ] -> click-8.1.3-x86_64-1_SBo
|
|
|
|
[ delete ] -> python3-itsdangerous-2.1.2-x86_64-1_SBo
|
|
|
|
[ delete ] -> werkzeug-2.1.2-x86_64-1_SBo
|
2022-12-08 18:44:46 +01:00
|
|
|
|
2022-12-08 18:47:04 +01:00
|
|
|
Total 6 packages will be removed.
|
2022-12-08 18:44:46 +01:00
|
|
|
|
2022-12-22 20:13:41 +01:00
|
|
|
Do you want to continue (y/N)?:
|
|
|
|
|
|
|
|
|
2022-12-22 20:15:32 +01:00
|
|
|
$ slpkg dependees vlc
|
2022-12-22 20:13:41 +01:00
|
|
|
The list below shows the packages that dependees 'vlc' files:
|
|
|
|
|
|
|
|
Collecting the data...
|
|
|
|
|
|
|
|
vlc
|
|
|
|
└─kaffeine
|
2022-12-22 20:15:32 +01:00
|
|
|
├─ vlc
|
2022-12-22 20:13:41 +01:00
|
|
|
obs-studio
|
2022-12-22 20:15:32 +01:00
|
|
|
├─ faac luajit rtmpdump x264 jack libfdk-aac mbedtls vlc
|
2022-12-22 20:13:41 +01:00
|
|
|
vlsub
|
2022-12-22 20:15:32 +01:00
|
|
|
├─ vlc
|
2022-12-22 20:13:41 +01:00
|
|
|
sopcast-player
|
2022-12-22 20:15:32 +01:00
|
|
|
└─ sopcast vlc
|
2022-12-22 20:13:41 +01:00
|
|
|
|
|
|
|
4 dependees for vlc
|
|
|
|
|
|
|
|
|
2022-12-23 19:17:06 +01:00
|
|
|
$ slpkg tracking Flask python3-pylint slpkg
|
|
|
|
The list below shows the packages with dependencies:
|
2022-12-22 20:13:41 +01:00
|
|
|
|
2022-12-23 19:17:06 +01:00
|
|
|
slpkg
|
|
|
|
└─ greenlet python-toml SQLAlchemy
|
|
|
|
|
|
|
|
3 dependencies for slpkg
|
|
|
|
|
|
|
|
python3-pylint
|
|
|
|
└─ python3-wrapt python3-lazy-object-proxy python3-platformdirs python3-tomlkit python3-dill python3-mccabe python3-isort python3-astroid python-toml
|
|
|
|
|
|
|
|
9 dependencies for python3-pylint
|
|
|
|
|
|
|
|
Flask
|
|
|
|
└─ python-zipp python-importlib_metadata click python3-itsdangerous werkzeug
|
|
|
|
|
|
|
|
5 dependencies for Flask
|
2022-12-08 18:44:46 +01:00
|
|
|
|
|
|
|
|
2022-06-19 21:54:49 +02:00
|
|
|
Configuration files
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
2022-11-30 17:44:09 +01:00
|
|
|
/etc/slpkg/slpkg.toml
|
2022-06-19 21:54:49 +02:00
|
|
|
General configuration of slpkg
|
|
|
|
|
2022-11-30 17:44:09 +01:00
|
|
|
/etc/slpkg/blacklist.toml
|
2022-06-19 21:54:49 +02:00
|
|
|
Blacklist of packages
|
|
|
|
|
|
|
|
Donate
|
|
|
|
------
|
|
|
|
|
|
|
|
If you feel satisfied with this project and want to thanks me make a donation.
|
|
|
|
|
|
|
|
.. image:: https://gitlab.com/dslackw/images/raw/master/donate/paypaldonate.png
|
|
|
|
:target: https://www.paypal.me/dslackw
|
|
|
|
|
2022-05-24 16:54:32 +02:00
|
|
|
|
2022-05-24 16:30:54 +02:00
|
|
|
Copyright
|
|
|
|
---------
|
|
|
|
|
2022-10-31 17:27:12 +01:00
|
|
|
- Copyright 2014-2022 © Dimitris Zlatanidis.
|
2022-06-17 16:39:33 +02:00
|
|
|
- Slackware® is a Registered Trademark of Patrick Volkerding.
|
2022-06-20 18:45:10 +02:00
|
|
|
- Linux is a Registered Trademark of Linus Torvalds.
|