Skip to main content

Packaging tool that interacts with the SBo repository

Project description

About

Slpkg is a software package manager that installs, updates and removes packages on Slackware-based systems. 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 organization to build packages. It also uses the Slackware Linux instructions for installing, upgrading or removing packages.

https://gitlab.com/dslackw/images/raw/master/slpkg/slpkg_package.png

Requirements

SQLAlchemy >= 1.4.46
pythondialog >= 3.5.3
progress >= 1.6

Install

Install it from the official third-party SlackBuilds.org repository or directly from source:

$ tar xvf slpkg-4.7.8.tar.gz
$ cd slpkg-4.7.8
$ ./install.sh

Screenshots

https://gitlab.com/dslackw/images/raw/master/slpkg/slpkg_install.png https://gitlab.com/dslackw/images/raw/master/slpkg/slpkg_remove.png https://gitlab.com/dslackw/images/raw/master/slpkg/slpkg_dependees.png

Usage

 $ slpkg --help
   USAGE: slpkg [OPTIONS] [COMMAND] [FILELIST|PACKAGES...]

   DESCRIPTION:
     Package manager utility for Slackware.

   COMMANDS:
     -u, update                    Update the package lists.
     -U, upgrade                   Upgrade all the packages.
     -c, check-updates             Check for news on ChangeLog.txt.
     -I, repo-info                 Prints the repositories information.
     -g, configs                   Edit the configuration file.
     -L, clean-logs                Clean dependencies log tracking.
     -T, clean-data                Clean all the repositories data
     -D, 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.
     -s, search [packages...]      Search packages from the repository.
     -e, dependees [packages...]   Show which packages depend.
     -t, tracking [packages...]    Tracking the packages dependencies.

   OPTIONS:
     -y, --yes                     Answer Yes to all questions.
     -j, --jobs                    Set it for multicore systems.
     -o, --resolve-off             Turns off dependency resolving.
     -r, --reinstall               Upgrade packages of the same version.
     -k, --skip-installed          Skip installed packages.
     -E, --full-reverse            Full reverse dependency.
     -S, --search                  Search packages from the repository.
     -n, --no-silent               Disable silent mode.
     -p, --pkg-version             Print the repository package version.
     -G, --generate-only           Generates only the SLACKBUILDS.TXT file.
     -P, --parallel                Download files in parallel.
     -B, --bin-repo=[REPO]         Set a binary repository.
     -z, --directory=[PATH]        Download files to a specific path.

     -h, --help                    Show this message and exit.
     -v, --version                 Print version and exit.

If you need more information try to use slpkg manpage.
Extra help for the commands, use: 'slpkg help [command]'.
Edit the config file in the /etc/slpkg/slpkg.toml or 'slpkg configs'.

How to start

If you are going to use only the SlackBuilds.org repository, you don’t need to edit the /etc/slpkg/repositories.toml file, otherwise edit the file and set true the repositories you want.

The second step is to update the package lists and install the data to the database, just run:

$ slpkg update

or for binary repositories:

$ slpkg update --bin-repo='*'

Now you are ready to start!

To install a package from the SlackBuilds.org or Ponce repository, run:

$ slpkg install <package_name>

or from a binary repository:

$ slpkg install <package_name> --bin-repo=<repo_name>

You can install a whole repository with the command:

$ slpkg install '*' --bin-repo=<repository_name> --resolve-off

Note: Apply the option ‘–resolve-off’ to speed up the process, if the repository has no references to the dependencies.

To remove a package with the dependencies:

$ slpkg remove <package_name>

If you wan to search a package from all binaries repositories, run:

$ slpkg search <package_name> --bin-repo='*'

Edit the configuration /etc/slpkg/slpkg.toml file:

$ slpkg configs

For further information, please read the manpage:

$ man slpkg

Configuration files

/etc/slpkg/slpkg.toml
    General configuration of slpkg

/etc/slpkg/repositories.toml
    Repositories configurations

/etc/slpkg/blacklist.toml
    Blacklist of packages

Repositories

The supported repositories, please read the repositories configuration file.

Multilib packages

Slackware for x86_64 - multilib packages & install instructions:

  • Please read the file README you will find in the folder multlib.

Report bugs

Please report any issue here: Issues

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slpkg-4.7.8.tar.gz (86.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page