slpkg/README.rst

1080 lines
36 KiB
ReStructuredText
Raw Normal View History

2015-02-12 11:39:28 +01:00
.. image:: https://img.shields.io/github/release/dslackw/slpkg.svg
:target: https://github.com/dslackw/slpkg/releases
2014-10-20 23:52:59 +02:00
.. image:: https://travis-ci.org/dslackw/slpkg.svg?branch=master
:target: https://travis-ci.org/dslackw/slpkg
2014-10-21 02:55:44 +02:00
.. image:: https://landscape.io/github/dslackw/slpkg/master/landscape.png
2014-10-21 05:32:30 +02:00
:target: https://landscape.io/github/dslackw/slpkg/master
2015-02-21 06:13:44 +01:00
.. image:: https://img.shields.io/codacy/6464ba0bd1e342e28388c71a34b3a5e8.svg
:target: https://www.codacy.com/public/dzlatanidis/slpkg/dashboard
2015-02-12 11:06:26 +01:00
.. image:: https://img.shields.io/pypi/dm/slpkg.svg
2014-05-23 07:46:51 +02:00
:target: https://pypi.python.org/pypi/slpkg
2015-02-21 06:20:44 +01:00
.. image:: https://img.shields.io/sourceforge/dt/slpkg.svg
:target: https://sourceforge.net/projects/slpkg/
2015-02-12 11:06:26 +01:00
.. image:: https://img.shields.io/badge/license-GPLv3-blue.svg
:target: https://github.com/dslackw/slpkg
.. image:: https://img.shields.io/github/stars/dslackw/slpkg.svg
:target: https://github.com/dslackw/slpkg
.. image:: https://img.shields.io/github/forks/dslackw/slpkg.svg
:target: https://github.com/dslackw/slpkg
.. image:: https://img.shields.io/github/issues/dslackw/slpkg.svg
2015-02-14 11:10:38 +01:00
:target: https://github.com/dslackw/slpkg/issues
2014-09-02 23:16:33 +02:00
2015-02-18 06:57:47 +01:00
|
2014-09-21 22:08:20 +02:00
2015-02-18 06:52:21 +01:00
.. image:: https://raw.githubusercontent.com/dslackw/images/master/slpkg/slpkg_package.png
:target: https://github.com/dslackw/slpkg
2015-02-26 09:12:12 +01:00
2015-02-26 09:13:12 +01:00
|
2015-02-26 09:12:12 +01:00
.. image:: https://raw.githubusercontent.com/dslackw/images/master/slpkg/poweredbyslack.gif
:target: http://www.slackware.com/
2015-02-18 07:40:14 +01:00
|
2014-09-21 22:08:20 +02:00
.. contents:: Table of Contents:
2014-05-23 07:46:51 +02:00
2015-05-21 04:37:37 +02:00
2015-03-18 21:10:44 +01:00
About
2015-02-22 14:43:26 +01:00
-----
2014-09-14 16:36:02 +02:00
2015-05-21 03:06:26 +02:00
Slpkg is a powerful software package manager that installs, updates, and removes packages on
Slackware based systems. It automatically computes dependencies and figures out what things
should occurto install packages. Slpkg makes it easier to maintain groups of machines without
having to manually update.
2015-02-22 14:42:25 +01:00
Slpkg works in accordance with the standards of the organization slackbuilds.org
to builds packages. Also uses the Slackware linux instructions for installation,
upgrading or removing packages.
What makes slpkg to distinguish it from other tools; The user friendliness is its primary
target as well as easy to understand and use, also use color to highlight packages and
display warning messages, etc.
Also you can install official packages of your favorite distribution directly from the
official repositories of Slackware. Even you can check for the official updates and install them.
2015-02-18 07:41:26 +01:00
2015-02-22 14:45:19 +01:00
2015-05-21 04:39:56 +02:00
Binary packages
---------------
2015-05-21 04:37:37 +02:00
2015-05-21 04:39:56 +02:00
Download for x86 `slpkg-2.3.2-i486-1_dsw.tgz <https://github.com/dslackw/slpkg/releases/download/v2.3.2/slpkg-2.3.2-i486-1_dsw.tgz>`_
2015-05-21 04:37:37 +02:00
2015-05-21 04:39:56 +02:00
Download for x86_64 `slpkg-2.3.2-x86_64-1_dsw.tgz <https://github.com/dslackw/slpkg/releases/download/v2.3.2/slpkg-2.3.2-x86_64-1_dsw.tgz>`_
2015-05-21 04:37:37 +02:00
2015-02-22 14:45:19 +01:00
Repositories
------------
2015-02-18 07:41:26 +01:00
2015-01-07 07:23:30 +01:00
Default available Repositories:
2014-08-30 01:28:28 +02:00
2015-05-14 15:39:37 +02:00
- SBo - `Repository <http://slackbuilds.org/>`_
2014-11-22 10:16:39 +01:00
Arch: {x86, x86_64}
2015-01-07 07:23:30 +01:00
Versions: {13.1, 13.37, 14.0, 14.1}
2014-11-28 11:30:36 +01:00
- Slack - `Repository <http://www.slackware.com/>`_
2014-11-22 10:16:39 +01:00
Arch: {x86, x86_64}
Versions: {3.3, 8.1, 9.0, 9.1, 10.0, 10.1, 10.2, 11.0, 12.0, 12.2, 13.0, 13.37, 14.0, 14.1, current}
2014-12-24 06:42:06 +01:00
- Alien's - `Repository <http://www.slackware.com/~alien/slackbuilds/>`_
2014-11-22 10:16:39 +01:00
Arch: {x86, x86_64}
Versions: {11.0, 12.0, 12.1, 12.2, 13.0, 13.1, 13.37, 14.0, 14.1, current}
2014-11-28 11:30:36 +01:00
- Slacky - `Repository <http://repository.slacky.eu/>`_
2014-11-22 10:16:39 +01:00
Arch: {x86, x86_64}
Versions: {11.0, 12.0, 12.1, 12.2, 13.0, 13.1, 13.37, 14.0, 14.1}
2014-11-28 11:30:36 +01:00
- Robby's - `Repository <http://rlworkman.net/pkgs/>`_
2014-11-22 10:16:39 +01:00
Arch: {x86, x86_64}
Versions: {11.0, 12.0, 12.1, 12.2, 13.0, 13.1, 13.37, 14.0, 14.1}
2014-11-28 11:30:36 +01:00
- Studioware - `Repository <http://studioware.org/packages>`_
Arch: {x86, x86_64}
Versions: {13.37, 14.0, 14.1}
2014-12-18 07:15:07 +01:00
- Slackers - `Repository <http://www.slackers.it/repository/>`_
Arch: {x86_64}
Versions: {current}
2014-12-18 16:10:02 +01:00
- Slackonly - `Repository <https://slackonly.com/>`_
Arch: {x86, x86_64}
Versions: {14.1}
2014-12-24 06:42:06 +01:00
- Alien's ktown - `Repository <http://alien.slackbook.org/ktown/>`_
Arch: {x86, x86_64}
Versions: {13.37, 14.0, 14.1, current}
2014-12-24 10:22:07 +01:00
- Alien's multi - `Repository <http://www.slackware.com/~alien/multilib/>`_
Arch: {x86_64}
Versions: {13.0, 13.1, 13.37, 14.0, 14.1, current}
2014-12-25 09:47:18 +01:00
- Slacke E17 and E18 - `Repository <http://ngc891.blogdns.net/pub/>`_
Arch: {x86, x86_64, arm}
Versions: {14.1}
2014-12-26 16:17:58 +01:00
- SalixOS - `Repository <http://download.salixos.org/>`_
Arch: {x86, x86_64}
Versions: {13.0, 13.1, 13.37, 14.0, 14.1}
2014-12-26 23:58:03 +01:00
- Slackel - `Repository <http://www.slackel.gr/repo/>`_
Arch: {x86, x86_64}
Versions: {current}
2015-01-07 07:23:30 +01:00
- Restricted - `Repository <http://taper.alienbase.nl/mirrors/people/alien/restricted_slackbuilds/>`_
Arch: {x86, x86_64}
Versions: {11.0, 12.0, 12.1, 12.2, 13.0, 13.1, 13.37, 14.0, 14,1, current}
2014-12-26 23:58:03 +01:00
2014-08-30 01:28:28 +02:00
2015-01-03 10:05:41 +01:00
* Choose default repositories you need to work from file '/etc/slpkg/slpkg.conf' default is
2014-12-19 05:57:56 +01:00
'slack' and 'sbo' repositories and read REPOSITORIES file for each of the particularities.
2015-01-07 07:23:30 +01:00
If a repository is not in the above list, manage custom repositories with commands 'repo-add'
and 'repo-remove'.
2014-12-02 00:27:17 +01:00
2015-01-29 02:00:28 +01:00
Usage
-----
Need to run '# slpkg update' for the first time to synchronize the list of packages,
also every time you add a repository.
To add or remove repositories must edit the file '/etc/slpkg/slpkg.conf'.
Issues
------
Please report any bugs in `ISSUES <https://github.com/dslackw/slpkg/issues>`_
Testing
-------
2015-05-21 03:06:26 +02:00
The majority of trials have been made in an environment Slackware x86_64 'stable'
and x86 'current' version 14.1.
2015-01-29 02:00:28 +01:00
2014-05-23 07:46:51 +02:00
Features
2014-09-18 00:45:31 +02:00
--------
2014-07-18 05:50:30 +02:00
2014-08-02 15:49:15 +02:00
- Build third party packages from source with all dependencies
2014-11-07 04:50:48 +01:00
- Grabs packages from repositories in real time
- Find and Download packages from repositories
2014-07-18 05:10:12 +02:00
- Automatic tool build and install packages
2014-07-26 06:59:53 +02:00
- Check if your distribution is up to date
2014-08-09 05:31:52 +02:00
- Remove packages with all dependencies
2014-07-18 05:10:12 +02:00
- Display the contents of the packages
- Install-upgrade Slackware packages
2014-07-18 05:50:30 +02:00
- Build and install all in a command
2014-07-18 05:10:12 +02:00
- Checking for updated packages
2014-05-23 07:46:51 +02:00
- List all installed packages
2014-09-10 05:19:52 +02:00
- Support MD5SUM file check
2014-07-18 05:10:12 +02:00
- Find installed package
- Read SlackBuilds files
2014-05-23 07:46:51 +02:00
- Τracking dependencies
2014-09-10 05:19:52 +02:00
- Build log file
- Sum build time
2014-05-23 07:46:51 +02:00
2014-08-02 15:49:15 +02:00
It's a quick and easy way to manage your packages in `Slackware <http://www.slackware.com/>`_
2014-05-23 07:46:51 +02:00
to a command.
2014-09-18 00:45:31 +02:00
Tutorial
--------
2014-07-13 18:46:10 +02:00
.. image:: https://raw.githubusercontent.com/dslackw/images/master/slpkg/screenshot-1.png
2015-02-10 09:40:35 +01:00
:target: https://asciinema.org/a/16251
2014-05-23 07:54:35 +02:00
2014-09-18 00:42:10 +02:00
2014-05-23 07:46:51 +02:00
Installation
------------
2014-08-30 06:53:02 +02:00
Untar the archive and run install.sh script:
.. code-block:: bash
2015-04-24 23:15:30 +02:00
$ tar xvf slpkg-<version>.tar.gz
$ cd slpkg-<version>
2014-08-30 06:53:02 +02:00
$ ./install.sh
2014-11-26 10:22:49 +01:00
Using pip:
.. code-block:: bash
$ pip install slpkg --upgrade
2014-11-22 10:16:39 +01:00
Upgrade
2014-11-25 10:38:40 +01:00
-------
2014-11-22 10:16:39 +01:00
2014-12-15 12:10:00 +01:00
From version '2.1.4' you can update slpkg itself with '# slpkg update slpkg'.
2015-05-21 03:06:26 +02:00
In each slpkg upgrade should track the configuration files in the folder '/etc/slpkg'
for changes.
2014-11-22 10:16:39 +01:00
2014-11-14 06:57:04 +01:00
Slackware Current
-----------------
2014-11-26 10:22:49 +01:00
For Slackware 'current' users must change the variable VERSION in '/etc/slpkg.conf' file.
2014-11-14 06:57:04 +01:00
2014-11-22 10:16:39 +01:00
.. code-block:: bash
2015-05-21 00:41:46 +02:00
$ slpkg -g config=nano
2014-11-22 10:16:39 +01:00
Slackware Mirrors
-----------------
2015-05-21 03:06:26 +02:00
Slpkg uses the central mirror "http://mirrors.slackware.com/slackware/" to find the
nearest one. If however for some reason this troublesome please edit the file in
'/etc/slpkg/slackware-mirrors'.
2014-11-22 10:16:39 +01:00
2014-12-10 04:18:31 +01:00
2015-01-29 02:00:28 +01:00
Configuration files
-------------------
2014-12-10 04:18:31 +01:00
2015-01-29 02:00:28 +01:00
.. code-block:: bash
2014-12-15 05:23:48 +01:00
2015-05-21 00:41:46 +02:00
/tmp/slpkg
Slpkg temponary donwloaded files and build packages
2015-01-29 02:00:28 +01:00
/etc/slpkg/slpkg.conf
General configuration of slpkg
2014-12-15 05:23:48 +01:00
2015-01-29 02:00:28 +01:00
/etc/slpkg/blacklist
List of packages to skip
2014-12-15 05:23:48 +01:00
2015-01-29 02:00:28 +01:00
/etc/slpkg/slackware-mirrors
List of Slackware Mirrors
2014-12-15 05:23:48 +01:00
2015-01-29 02:00:28 +01:00
/etc/slpkg/custom-repositories
List of custom repositories
2014-12-10 04:18:31 +01:00
2015-05-21 00:41:46 +02:00
/var/log/slpkg
ChangeLog.txt repositories files
SlackBuilds logs and dependencies files
/var/lib/slpkg
PACKAGES.TXT files
SLACKBUILDS.TXT files
CHECKSUMS.md5 files
FILELIST.TXT files
2015-05-17 02:09:53 +02:00
/etc/slpkg/slackware-changelogs-mirror
Slackware changelogs mirror
2015-05-21 00:41:46 +02:00
2014-05-23 07:46:51 +02:00
Command Line Tool Usage
-----------------------
.. code-block:: bash
2014-09-30 03:16:43 +02:00
2015-01-16 21:55:28 +01:00
Slpkg is a user-friendly package manager for Slackware installations
2014-09-27 22:54:30 +02:00
2014-12-10 04:18:31 +01:00
Commands:
update update all package lists
2015-02-24 21:01:46 +01:00
upgrade upgrade all package lists
2015-01-07 07:23:30 +01:00
repo-add [repository name] [URL] add custom repository
repo-remove [repository] remove custom repository
2015-01-04 02:40:35 +01:00
repo-list list all repositories
repo-info [repository] repository information
2014-12-15 12:10:00 +01:00
update slpkg check and update slpkg
2014-09-27 22:54:30 +02:00
Optional arguments:
2014-10-04 00:44:18 +02:00
-h, --help show this help message and exit
-v, --version print version and exit
2015-01-07 08:27:05 +01:00
-a, [script.tar.gz] [source...] auto build SBo packages
2015-05-21 00:41:46 +02:00
-b, list, [package...] --add, --remove add, remove packages in blacklist
-q, list, [package...] --add, --remove add, remove SBo packages in queue
-q, build, install, build-install build, install packages from queue
-g, config, config=[editor] configuration file management
2015-02-02 04:48:43 +01:00
-l, [repository], --index, --installed list of repositories packages
2014-11-18 12:30:58 +01:00
-c, [repository] --upgrade check for updated packages
2015-01-29 02:00:28 +01:00
-s, [repository] [package...] download, build & install packages
-t, [repository] [package] package tracking dependencies
2014-12-15 05:23:48 +01:00
-p, [repository] [package], --color=[] print package description
2015-04-23 04:03:09 +02:00
-n, [package] view SBo site package in terminal
2014-12-30 07:47:15 +01:00
-f, [package...] find installed packages
2014-10-04 00:44:18 +02:00
-i, [package...] install binary packages
-u, [package...] upgrade binary packages
-o, [package...] reinstall binary packages
-r, [package...] remove binary packages
-d, [package...] display the contents
2014-11-18 12:30:58 +01:00
2014-05-23 07:46:51 +02:00
Slpkg Examples
--------------
2015-02-03 05:20:01 +01:00
2015-05-21 03:06:26 +02:00
If you use slpkg for the first time will have to create and update the package
list. This command must be executed to update the package lists:
2014-12-24 06:42:06 +01:00
.. code-block:: bash
$ slpkg update
Update repository slack .......................Done
Update repository sbo .............Done
Update repository alien ...Done
Update repository slacky .....................................Done
Update repository studio ...................Done
Update repository slackr .............................................Done
Update repository slonly ...Done
Update repository ktown ...Done
2014-12-26 23:58:03 +01:00
Update repository salix ..................Done
2014-12-27 11:26:59 +01:00
Update repository slacke ...Done
Update repository slackl ...Done
Update repository multi ...Done
2014-12-26 23:58:03 +01:00
2014-12-24 06:42:06 +01:00
2015-01-03 10:05:41 +01:00
Add and remove custom repositories:
.. code-block:: bash
$ slpkg repo-add ponce http://ponce.cc/slackware/slackware64-14.1/packages/
Repository 'ponce' successfully added
$ slpkg repo-remove ponce
Repository 'ponce' successfully removed
2015-01-07 11:43:06 +01:00
View information about the repositories:
2014-12-24 06:42:06 +01:00
.. code-block:: bash
2015-01-04 02:40:35 +01:00
$ slpkg repo-list
2015-01-07 11:43:06 +01:00
2014-12-24 06:42:06 +01:00
+==============================================================================
2015-01-07 11:43:06 +01:00
| Repo id Repo URL Default Status
2014-12-24 06:42:06 +01:00
+==============================================================================
2015-01-07 11:43:06 +01:00
alien http://www.slackware.com/~alien/slackbuilds/ yes disabled
ktown http://alien.slackbook.org/ktown/ yes disabled
multi http://www.slackware.com/~alien/multilib/ yes disabled
ponce http://ponce.cc/slackware/slackware64-14.1/packa~ no enabled
rested http://taper.alienbase.nl/mirrors/people/alien/r~ yes disabled
rlw http://rlworkman.net/pkgs/ yes disabled
salix http://download.salixos.org/ yes disabled
sbo http://slackbuilds.org/slackbuilds/ yes enabled
slack http://ftp.cc.uoc.gr/mirrors/linux/slackware/ yes enabled
slacke http://ngc891.blogdns.net/pub/ yes disabled
slackl http://www.slackel.gr/repo/ yes disabled
slackr http://www.slackers.it/repository/ yes disabled
slacky http://repository.slacky.eu/ yes disabled
slonly https://slackonly.com/pub/packages/ yes disabled
studio http://studioware.org/files/packages/ yes disabled
2014-12-24 06:42:06 +01:00
2015-01-04 02:40:35 +01:00
For enable or disable default repositories edit '/etc/slpkg/slpkg.conf' file
2014-12-24 06:42:06 +01:00
2015-01-04 02:40:35 +01:00
$ slpkg repo-info alien
2014-12-24 06:42:06 +01:00
2015-01-07 08:27:05 +01:00
Default: yes
2014-12-24 06:42:06 +01:00
Last updated: Tue Dec 23 11:48:31 UTC 2014
Number of packages: 3149
Repo id: alien
Repo url: http://www.slackware.com/~alien/slackbuilds/
Status: enabled
Total compressed packages: 9.3 Gb
Total uncompressed packages: 36.31 Gb
2015-01-29 02:00:28 +01:00
Installing packages from the repositories (supporting multi packages):
2014-05-28 16:35:41 +02:00
.. code-block:: bash
2014-08-01 09:42:05 +02:00
2014-07-28 07:39:35 +02:00
$ slpkg -s sbo brasero
2015-01-29 02:00:28 +01:00
Reading package lists .....Done
Resolving dependencies ....Done
2014-09-08 02:36:40 +02:00
The following packages will be automatically installed or upgraded
with new version:
2015-01-29 02:00:28 +01:00
2014-08-22 07:20:29 +02:00
+==============================================================================
2015-01-29 02:00:28 +01:00
| Package Version Arch Build Repos Size
2014-08-22 07:20:29 +02:00
+==============================================================================
2015-01-29 02:00:28 +01:00
Installing:
brasero 3.12.0 x86_64 SBo
2014-08-22 07:20:29 +02:00
Installing for dependencies:
2015-01-29 02:00:28 +01:00
orc 0.4.22 x86_64 SBo
gstreamer1 1.4.1 x86_64 SBo
gst1-plugins-base 1.4.1 x86_64 SBo
gst1-plugins-bad 1.4.1 x86_64 SBo
libunique 1.1.6 x86_64 SBo
2014-08-22 07:20:29 +02:00
Installing summary
===============================================================================
Total 6 packages.
2015-01-29 02:00:28 +01:00
4 packages will be installed, 2 allready installed and 0 package
2014-09-08 02:36:40 +02:00
will be upgraded.
2014-08-13 01:39:41 +02:00
2015-01-29 02:00:28 +01:00
Would you like to continue [Y/n]?
2014-08-01 09:42:05 +02:00
2015-01-29 02:00:28 +01:00
Example install multi packages:
2014-09-23 22:00:07 +02:00
2015-01-29 02:00:28 +01:00
$ slpkg -s sbo brasero pylint bitfighter
Reading package lists ..........Done
Resolving dependencies ......Done
2014-09-23 22:00:07 +02:00
2015-01-29 02:00:28 +01:00
The following packages will be automatically installed or upgraded
with new version:
2014-09-23 22:00:07 +02:00
+==============================================================================
2015-01-29 02:00:28 +01:00
| Package Version Arch Build Repos Size
2014-09-23 22:00:07 +02:00
+==============================================================================
2015-01-29 02:00:28 +01:00
Installing:
brasero 3.12.0 x86_64 SBo
pylint 1.3.1 x86_64 SBo
bitfighter 019d x86_64 SBo
Installing for dependencies:
libmodplug 0.8.8.5 x86_64 SBo
speex 1.2rc1 x86_64 SBo
SDL2 2.0.3 x86_64 SBo
OpenAL 1.16.0 x86_64 SBo
six 1.8.0 x86_64 SBo
logilab-common 0.63.2 x86_64 SBo
pysetuptools 7.0 x86_64 SBo
astroid 1.3.4 x86_64 SBo
orc 0.4.22 x86_64 SBo
gstreamer1 1.4.1 x86_64 SBo
gst1-plugins-base 1.4.1 x86_64 SBo
gst1-plugins-bad 1.4.1 x86_64 SBo
libunique 1.1.6 x86_64 SBo
2014-09-23 22:00:07 +02:00
Installing summary
===============================================================================
2015-01-29 02:00:28 +01:00
Total 16 packages.
4 packages will be installed, 12 allready installed and 0 package
will be upgraded.
Would you like to continue [Y/n]?
2014-07-28 07:39:35 +02:00
2015-01-29 02:00:28 +01:00
Example from 'alien' repository:
2014-07-28 07:39:35 +02:00
2015-01-29 02:04:53 +01:00
$ slpkg -s alien atkmm
2015-01-29 02:00:28 +01:00
Reading package lists .....Done
Resolving dependencies .........Done
2014-07-28 07:39:35 +02:00
2014-08-22 07:20:29 +02:00
+==============================================================================
2015-01-29 02:00:28 +01:00
| Package Version Arch Build Repos Size
2014-08-22 07:20:29 +02:00
+==============================================================================
Installing:
2015-01-29 02:00:28 +01:00
atkmm 2.22.6 x86_64 1 alien 124 K
Installing for dependencies:
libsigc++ 2.2.10 x86_64 2 alien 128 K
glibmm 2.32.1 x86_64 1 alien 1012 K
cairomm 1.10.0 x86_64 2 alien 124 K
pangomm 2.28.4 x86_64 1 alien 124 K
2014-08-22 07:20:29 +02:00
Installing summary
===============================================================================
2015-01-29 02:00:28 +01:00
Total 5 packages.
5 packages will be installed, 0 will be upgraded and 0 will be reinstalled.
Need to get 124 Kb of archives.
After this process, 620 Kb of additional disk space will be used.
2014-08-18 00:04:55 +02:00
2014-11-25 10:38:40 +01:00
Would you like to continue [Y/n]?
2014-07-28 07:39:35 +02:00
2015-02-06 06:17:58 +01:00
You can create a file with the extension '.pkg' with the names of the packages you
want to manage and use it instead of [package...] like:
$ echo "brasero
> atkmm
> Flask
> pylint" > foo.pkg
$ cat foo.pkg
brasero
atkmm
Flask
pylint
$ slpkg -s sbo foo.pkg
Reading package lists .........Done
Resolving dependencies .......Done
The following packages will be automatically installed or upgraded
with new version:
+==============================================================================
| Package Version Arch Build Repos Size
+==============================================================================
Installing:
brasero 3.12.0 x86_64 SBo
atkmm 2.22.7 x86_64 SBo
Flask 0.10.1 x86_64 SBo
pylint 1.3.1 x86_64 SBo
Installing for dependencies:
six 1.8.0 x86_64 SBo
logilab-common 0.63.2 x86_64 SBo
pysetuptools 7.0 x86_64 SBo
astroid 1.3.4 x86_64 SBo
MarkupSafe 0.23 x86_64 SBo
itsdangerous 0.24 x86_64 SBo
Jinja2 2.7.3 x86_64 SBo
werkzeug 0.9.4 x86_64 SBo
libsigc++ 2.2.11 x86_64 SBo
glibmm 2.36.2 x86_64 SBo
cairomm 1.10.0 x86_64 SBo
pangomm 2.34.0 x86_64 SBo
orc 0.4.22 x86_64 SBo
gstreamer1 1.4.1 x86_64 SBo
gst1-plugins-base 1.4.1 x86_64 SBo
gst1-plugins-bad 1.4.1 x86_64 SBo
libunique 1.1.6 x86_64 SBo
Installing summary
===============================================================================
Total 21 packages.
15 packages will be installed, 6 allready installed and 0 package
will be upgraded.
Would you like to continue [Y/n]?
2015-01-29 02:00:28 +01:00
2015-02-03 05:20:01 +01:00
Build packages and passing variables to the script:
.. code-block:: bash
First export variable(s) like:
2015-02-09 10:49:59 +01:00
$ export FFMPEG_ASS=yes FFMPEG_X264=yes
2015-02-03 05:20:01 +01:00
And then run as you know:
$ slpkg -s sbo ffmpeg
2015-02-04 00:36:27 +01:00
or
$ slpkg -n ffmpeg
or
$ slpkg -a ffmpeg.tar.gz ffmpeg-2.1.5.tar.bz2
2015-02-03 05:20:01 +01:00
2014-08-13 01:39:41 +02:00
Tracking all dependencies of packages,
and also displays installed packages:
2014-05-23 07:46:51 +02:00
.. code-block:: bash
2014-11-14 06:57:04 +01:00
$ slpkg -t sbo brasero
2014-09-23 22:00:07 +02:00
Reading package lists ......Done
2014-08-02 15:49:15 +02:00
2014-07-26 07:15:14 +02:00
+=========================
2014-07-26 07:10:18 +02:00
| brasero dependencies :
2014-07-26 07:15:14 +02:00
+=========================
2014-07-27 22:05:05 +02:00
\
2014-07-31 01:29:54 +02:00
+---[ Tree of dependencies ]
2014-07-27 22:05:05 +02:00
|
2014-08-04 02:02:38 +02:00
+--1 orc
2014-07-27 22:05:05 +02:00
|
2014-08-04 02:02:38 +02:00
+--2 gstreamer1
2014-07-27 22:05:05 +02:00
|
2014-08-04 02:02:38 +02:00
+--3 gst1-plugins-base
2014-07-27 22:05:05 +02:00
|
2014-08-04 02:02:38 +02:00
+--4 gst1-plugins-bad
|
+--5 libunique
2015-02-03 05:20:01 +01:00
2014-11-14 06:57:04 +01:00
Check if your packages is up to date:
2014-05-23 07:46:51 +02:00
.. code-block:: bash
2014-09-27 22:54:30 +02:00
$ slpkg -c sbo --upgrade
2015-01-29 02:00:28 +01:00
Checking ...................Done
Reading package lists ......Done
Resolving dependencies ...Done
2014-05-23 07:46:51 +02:00
2015-01-29 02:00:28 +01:00
The following packages will be automatically installed or upgraded
with new version:
2014-08-26 02:12:39 +02:00
2014-07-21 01:54:58 +02:00
+==============================================================================
2015-01-29 02:00:28 +01:00
| Package Version Arch Build Repos Size
2014-07-21 01:54:58 +02:00
+==============================================================================
2014-08-26 02:12:39 +02:00
Upgrading:
2015-05-21 02:18:26 +02:00
astroid 1.3.4 x86_64 SBo
jdk 8u31 x86_64 SBo
2015-01-29 02:00:28 +01:00
Installing for dependencies:
six 1.8.0 x86_64 SBo
logilab-common 0.63.2 x86_64 SBo
pysetuptools 7.0 x86_64 SBo
2014-08-26 02:12:39 +02:00
Installing summary
===============================================================================
2015-01-29 02:00:28 +01:00
Total 5 packages.
0 package will be installed, 2 allready installed and 3 packages
will be upgraded.
2014-11-25 10:38:40 +01:00
Would you like to continue [Y/n]?
2014-05-23 07:46:51 +02:00
2015-01-29 02:00:28 +01:00
$ slpkg -c slacky --upgrade
Checking ........................Done
Reading package lists ....Done
Resolving dependencies ..........Done
+==============================================================================
| Package Version Arch Build Repos Size
+==============================================================================
Upgrading:
2015-05-21 02:18:26 +02:00
gstreamer1 1.4.4 x86_64 1 slacky 1563 K
2015-01-29 02:00:28 +01:00
Installing summary
===============================================================================
Total 1 package.
0 package will be installed, 1 will be upgraded and 0 will be reinstalled.
Need to get 1.53 Mb of archives.
After this process, 14.55 Mb of additional disk space will be used.
Would you like to continue [Y/n]?
Check if your Slackware distribution is up to date.
This option works independently of the others i.e not need before updating the list of
packages by choosing "# slpkg update", works directly with the official repository and
why always you can have updated your system:
2014-07-26 06:59:53 +02:00
.. code-block:: bash
2014-11-14 06:57:04 +01:00
$ slpkg -c slack --upgrade
2014-09-23 22:00:07 +02:00
Reading package lists .......Done
2014-07-26 06:59:53 +02:00
2014-08-02 15:49:15 +02:00
These packages need upgrading:
2014-09-14 16:25:53 +02:00
2014-08-22 07:20:29 +02:00
+==============================================================================
2014-09-21 22:08:20 +02:00
| Package Version Arch Build Repos Size
2014-08-22 07:20:29 +02:00
+==============================================================================
Upgrading:
2015-04-23 12:21:05 +02:00
dhcpcd 6.0.5 x86_64 3 Slack 92 K
samba 4.1.11 x86_64 1 Slack 9928 K
xscreensaver 5.29 x86_64 1 Slack 3896 K
2014-08-22 07:20:29 +02:00
Installing summary
===============================================================================
2015-04-23 12:21:05 +02:00
Total 3 package will be upgrading and 0 will be installed.
2014-09-12 04:41:58 +02:00
Need to get 13.58 Mb of archives.
After this process, 76.10 Mb of additional disk space will be used.
2014-08-18 00:00:28 +02:00
2014-11-25 10:38:40 +01:00
Would you like to continue [Y/n]?
2014-05-23 07:46:51 +02:00
2015-01-29 02:00:28 +01:00
View complete slackbuilds.org site in your terminal.
Read fies, download, build or install:
2014-05-23 07:46:51 +02:00
.. code-block:: bash
2014-07-26 07:15:14 +02:00
$ slpkg -n bitfighter
2014-09-23 22:00:07 +02:00
Reading package lists ...Done
2014-08-02 15:49:15 +02:00
2014-07-26 07:15:14 +02:00
+===============================================================================
2014-07-27 22:05:05 +02:00
| Package bitfighter --> http://slackbuilds.org/repository/14.1/games/bitfighter/
2014-07-26 07:15:14 +02:00
+===============================================================================
2014-09-23 22:00:07 +02:00
| Description : multi-player combat game
| SlackBuild : bitfighter.tar.gz
2014-09-12 04:41:58 +02:00
| Sources : bitfighter-019c.tar.gz, classic_level_pack.zip
| Requirements : OpenAL, SDL2, speex, libmodplug
2014-07-26 07:15:14 +02:00
+===============================================================================
2014-07-27 22:05:05 +02:00
README View the README file
SlackBuild View the SlackBuild file
Info View the Info file
Download Download this package
Build Download and build this package
Install Download/Build/Install
2014-08-22 07:20:29 +02:00
Quit Quit
2014-09-25 00:40:55 +02:00
2014-10-01 19:37:51 +02:00
Choose an option: _
2014-05-23 07:46:51 +02:00
2015-02-02 04:48:43 +01:00
2014-07-26 06:59:53 +02:00
Auto tool to build package:
2014-05-23 07:46:51 +02:00
.. code-block:: bash
2014-08-01 09:42:05 +02:00
Two files termcolor.tar.gz and termcolor-1.1.0.tar.gz
must be in the same directory.
2014-08-13 01:39:41 +02:00
(slackbuild script & source code or extra sources if needed)
2014-08-01 09:42:05 +02:00
$ slpkg -a termcolor.tar.gz termcolor-1.1.0.tar.gz
termcolor/
termcolor/slack-desc
termcolor/termcolor.info
termcolor/README
termcolor/termcolor.SlackBuild
termcolor-1.1.0/
termcolor-1.1.0/CHANGES.rst
termcolor-1.1.0/COPYING.txt
termcolor-1.1.0/README.rst
termcolor-1.1.0/setup.py
termcolor-1.1.0/termcolor.py
termcolor-1.1.0/PKG-INFO
running install
running build
running build_py
creating build
creating build/lib
copying termcolor.py -> build/lib
running install_lib
creating /tmp/SBo/package-termcolor/usr
creating /tmp/SBo/package-termcolor/usr/lib64
creating /tmp/SBo/package-termcolor/usr/lib64/python2.7
creating /tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages
copying build/lib/termcolor.py ->
2014-08-02 15:49:15 +02:00
/tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages
2014-08-01 09:42:05 +02:00
byte-compiling /tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages/termcolor.py
2014-08-02 15:49:15 +02:00
to termcolor.pyc
2014-08-01 09:42:05 +02:00
running install_egg_info
Writing
2014-08-02 15:49:15 +02:00
/tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
2014-08-01 09:42:05 +02:00
Slackware package maker, version 3.14159.
Searching for symbolic links:
2014-11-04 06:54:35 +01:00
No symbolic links were found, so we wont make an installation script.
2014-08-01 09:42:05 +02:00
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.
This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!
Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n
Creating Slackware package: /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz
./
usr/
usr/lib64/
usr/lib64/python2.7/
usr/lib64/python2.7/site-packages/
usr/lib64/python2.7/site-packages/termcolor.py
usr/lib64/python2.7/site-packages/termcolor.pyc
usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
usr/doc/
usr/doc/termcolor-1.1.0/
usr/doc/termcolor-1.1.0/termcolor.SlackBuild
usr/doc/termcolor-1.1.0/README.rst
usr/doc/termcolor-1.1.0/CHANGES.rst
usr/doc/termcolor-1.1.0/PKG-INFO
usr/doc/termcolor-1.1.0/COPYING.txt
install/
install/slack-desc
Slackware package /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz created.
2014-05-23 07:46:51 +02:00
2014-09-10 05:19:52 +02:00
Total build time for package termcolor : 1 Sec
2015-02-03 05:20:01 +01:00
2015-01-29 02:00:28 +01:00
Upgrade, install packages like Slackware command '# upgradepkg --install-new':
2014-05-23 07:46:51 +02:00
.. code-block:: bash
2014-08-01 09:42:05 +02:00
$ slpkg -u /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz
2014-05-23 07:46:51 +02:00
2014-08-01 09:42:05 +02:00
+==============================================================================
| Installing new package ./termcolor-1.1.0-x86_64-1_SBo.tgz
+==============================================================================
2014-05-23 07:46:51 +02:00
2014-08-01 09:42:05 +02:00
Verifying package termcolor-1.1.0-x86_64-1_SBo.tgz.
Installing package termcolor-1.1.0-x86_64-1_SBo.tgz:
PACKAGE DESCRIPTION:
# termcolor (ANSII Color formatting for output in terminal)
#
# termcolor allows you to format your output in terminal.
#
# Project URL: https://pypi.python.org/pypi/termcolor
#
Package termcolor-1.1.0-x86_64-1_SBo.tgz installed.
2014-05-23 07:46:51 +02:00
2014-08-09 05:31:52 +02:00
Install mass-packages:
2014-05-23 07:46:51 +02:00
.. code-block:: bash
2014-08-01 09:42:05 +02:00
$ slpkg -u *.t?z
or
2014-05-23 07:46:51 +02:00
2014-08-01 09:42:05 +02:00
$ slpkg -i *.t?z
2014-05-23 07:46:51 +02:00
2015-02-06 06:17:58 +01:00
or use .pkg file like:
# cat foo.pkg
/tmp/x264-20131101-x86_64-1_SBo.tgz
/tmp/xtermcolor-1.3-x86_64-1_SBo.tgz
/tmp/python-urllib3-1.9.1-x86_64-1_SBo.tgz
$ slpkg -u foo.pkg
2015-02-03 05:20:01 +01:00
2014-08-09 05:31:52 +02:00
Find installed packages:
2014-05-23 07:46:51 +02:00
.. code-block:: bash
2014-09-14 16:25:53 +02:00
$ slpkg -f apr
2014-10-16 04:10:24 +02:00
Packages with matching name [ apr ]
2014-08-01 09:42:05 +02:00
2014-09-14 16:25:53 +02:00
[ installed ] - apr-1.5.0-x86_64-1_slack14.1
[ installed ] - apr-util-1.5.3-x86_64-1_slack14.1
[ installed ] - xf86dgaproto-2.1-noarch-1
[ installed ] - xineramaproto-1.2.1-noarch-1
2014-07-31 05:44:04 +02:00
2014-09-25 00:40:55 +02:00
Total found 4 matcing packages
Size of installed packages 1.61 Mb
2014-05-23 07:46:51 +02:00
2015-01-29 02:00:28 +01:00
Example view all sbo installed packages:
$ slpkg -f _SBo
2015-02-06 06:17:58 +01:00
from foo.pkg file
$ cat foo.pkg
brasero
atkmm
Flask
pylint
$ slpkg -f foo.pkg
Packages with matching name [ brasero, atkmm, Flask, pylint ]
[ installed ] - pylint-1.3.1-x86_64-1_SBo
Total found 1 matching packages.
Size of installed packages 1.8 Mb.
2015-01-29 02:00:28 +01:00
2014-08-09 05:31:52 +02:00
Display the contents of the packages:
2014-05-23 07:46:51 +02:00
.. code-block:: bash
2014-08-01 09:42:05 +02:00
$ slpkg -d termcolor lua
PACKAGE NAME: termcolor-1.1.0-x86_64-1_SBo
COMPRESSED PACKAGE SIZE: 8.0K
UNCOMPRESSED PACKAGE SIZE: 60K
PACKAGE LOCATION: ./termcolor-1.1.0-x86_64-1_SBo.tgz
PACKAGE DESCRIPTION:
termcolor: termcolor (ANSII Color formatting for output in terminal)
termcolor:
termcolor: termcolor allows you to format your output in terminal.
termcolor:
termcolor:
termcolor: Project URL: https://pypi.python.org/pypi/termcolor
termcolor:
termcolor:
termcolor:
termcolor:
FILE LIST:
./
usr/
usr/lib64/
usr/lib64/python2.7/
usr/lib64/python2.7/site-packages/
usr/lib64/python2.7/site-packages/termcolor.py
usr/lib64/python2.7/site-packages/termcolor.pyc
usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
usr/lib64/python3.3/
usr/lib64/python3.3/site-packages/
usr/lib64/python3.3/site-packages/termcolor-1.1.0-py3.3.egg-info
usr/lib64/python3.3/site-packages/__pycache__/
usr/lib64/python3.3/site-packages/__pycache__/termcolor.cpython-33.pyc
usr/lib64/python3.3/site-packages/termcolor.py
usr/doc/
usr/doc/termcolor-1.1.0/
usr/doc/termcolor-1.1.0/termcolor.SlackBuild
usr/doc/termcolor-1.1.0/README.rst
usr/doc/termcolor-1.1.0/CHANGES.rst
usr/doc/termcolor-1.1.0/PKG-INFO
usr/doc/termcolor-1.1.0/COPYING.txt
install/
install/slack-desc
No such package lua: Cant find
2014-05-23 07:46:51 +02:00
2015-02-03 05:20:01 +01:00
2014-08-09 05:31:52 +02:00
Remove packages:
2014-05-23 07:46:51 +02:00
.. code-block:: bash
2014-07-21 02:00:46 +02:00
$ slpkg -r termcolor
2014-07-31 05:44:04 +02:00
Packages with name matching [ termcolor ]
2014-07-26 06:59:53 +02:00
[ delete ] --> termcolor-1.1.0-x86_64-1_SBo
2014-07-22 07:13:04 +02:00
2014-08-13 01:39:41 +02:00
Are you sure to remove 1 package(s) [Y/n]? y
2014-07-21 02:00:46 +02:00
Package: termcolor-1.1.0-x86_64-1_SBo
Removing...
Removing package /var/log/packages/termcolor-1.1.0-x86_64-1_SBo...
Removing files:
--> Deleting /usr/doc/termcolor-1.1.0/CHANGES.rst
--> Deleting /usr/doc/termcolor-1.1.0/COPYING.txt
--> Deleting /usr/doc/termcolor-1.1.0/PKG-INFO
--> Deleting /usr/doc/termcolor-1.1.0/README.rst
--> Deleting /usr/doc/termcolor-1.1.0/termcolor.SlackBuild
--> Deleting /usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
--> Deleting /usr/lib64/python2.7/site-packages/termcolor.py
--> Deleting /usr/lib64/python2.7/site-packages/termcolor.pyc
--> Deleting /usr/lib64/python3.3/site-packages/__pycache__/termcolor.cpython-33.pyc
--> Deleting /usr/lib64/python3.3/site-packages/termcolor-1.1.0-py3.3.egg-info
--> Deleting /usr/lib64/python3.3/site-packages/termcolor.py
--> Deleting empty directory /usr/lib64/python3.3/site-packages/__pycache__/
WARNING: Unique directory /usr/lib64/python3.3/site-packages/ contains new files
WARNING: Unique directory /usr/lib64/python3.3/ contains new files
--> Deleting empty directory /usr/doc/termcolor-1.1.0/
2014-05-24 09:09:34 +02:00
2014-07-21 02:00:46 +02:00
+==============================================================================
2014-07-26 06:59:53 +02:00
| Package: termcolor removed
2014-07-21 01:54:58 +02:00
+==============================================================================
2014-05-23 07:46:51 +02:00
2015-02-03 05:20:01 +01:00
2014-08-09 05:31:52 +02:00
Remove packages with all dependencies:
2014-11-14 06:57:04 +01:00
(presupposes facility with the option 'slpkg -s <repository> <package>)
2014-08-09 05:31:52 +02:00
.. code-block:: bash
$ slpkg -r Flask
Packages with name matching [ Flask ]
[ delete ] --> Flask-0.10.1-x86_64-1_SBo
2014-08-13 01:39:41 +02:00
Are you sure to remove 1 package [Y/n]? y
2014-08-09 05:31:52 +02:00
+==============================================================================
| Found dependencies for package Flask:
+==============================================================================
| pysetuptools
| MarkupSafe
| itsdangerous
| Jinja2
| werkzeug
+==============================================================================
2014-08-13 03:08:25 +02:00
Remove dependencies (maybe used by other packages) [Y/n]? y
2014-08-09 05:31:52 +02:00
.
.
.
+==============================================================================
| Package Flask removed
| Package pysetuptools removed
| Package MarkupSafe removed
| Package itsdangerous removed
| Package Jinja2 removed
| Package werkzeug removed
+==============================================================================
2014-05-23 07:46:51 +02:00
2015-02-06 06:17:58 +01:00
Use list from file foo.pkg like:
$ cat foo.pkg
brasero
atkmm
Flask
pylint
$ slpkg -r foo.pkg
Packages with name matching [ brasero, atkmm, Flask, pylint ]
2015-02-10 21:24:10 +01:00
No such package brasero: Cant remove
No such package atkmm: Cant remove
No such package Flask: Cant remove
2015-02-06 06:17:58 +01:00
[ delete ] --> pylint-1.3.1-x86_64-1_SBo
Are you sure to remove 1 package [Y/n]?
2014-09-30 03:16:43 +02:00
2014-10-11 04:06:04 +02:00
Build and install packages that have added to the queue:
.. code-block:: bash
$ slpkg -q roxterm SDL2 CEGUI --add
Add packages in queue:
roxterm
SDL2
CEGUI
$ slpkg -q roxterm --remove (or 'slpkg -q all --remove' remove all packages from queue)
Remove packages from queue:
roxterm
2015-05-21 00:41:46 +02:00
$ slpkg -q list
2014-10-11 04:35:13 +02:00
Packages in queue:
SDL2
CEGUI
2015-05-21 00:41:46 +02:00
$ slpkg -q build (build only packages from queue)
2014-10-11 04:06:04 +02:00
2015-05-21 00:41:46 +02:00
$ slpkg -q install (install packages from queue)
2014-10-11 04:06:04 +02:00
2015-05-21 00:41:46 +02:00
$ slpkg -q build-install (build and install)
2014-10-11 04:06:04 +02:00
2015-02-03 05:20:01 +01:00
2014-10-01 19:37:51 +02:00
Add packages in blacklist file manually from
/etc/slpkg/blacklist or with the following options:
2014-09-30 03:16:43 +02:00
.. code-block:: bash
2014-10-01 19:37:51 +02:00
$ slpkg -b live555 speex faac --add
2014-09-30 03:16:43 +02:00
Add packages in blacklist:
live555
speex
faac
$ slpkg -b speex --remove
Remove packages from blacklist:
speex
2015-05-21 00:41:46 +02:00
$ slpkg -b list
2014-09-30 03:16:43 +02:00
Packages in blacklist:
live555
faac
2014-11-14 06:57:04 +01:00
Print package description:
.. code-block:: bash
2014-12-02 00:27:17 +01:00
$ slpkg -p alien vlc --color=green
2014-11-14 06:57:04 +01:00
vlc (multimedia player for various audio and video formats)
VLC media player is a highly portable multimedia player for various
audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...)
as well as DVDs, VCDs, and various streaming protocols.
It can also be used as a server to stream in unicast or multicast in
IPv4 or IPv6 on a high-bandwidth network.
vlc home: http://www.videolan.org/vlc/
2014-05-23 07:46:51 +02:00
Man page it is available for full support:
.. code-block:: bash
2014-08-01 09:42:05 +02:00
$ man slpkg
2014-12-18 07:15:07 +01:00
Donate
2015-01-29 02:00:28 +01:00
------
2014-12-18 07:15:07 +01:00
If you feel satisfied with this project and want to thank me go
2015-05-21 03:06:26 +02:00
to `Slackware <https://store.slackware.com/cgi-bin/store/slackdonation>`_ and make a donation or
visit the `store <https://store.slackware.com/cgi-bin/store>`_.
2015-01-29 02:00:28 +01:00
Copyright
---------
2015-01-29 02:01:59 +01:00
- Copyright © Dimitris Zlatanidis
2015-04-23 15:10:42 +02:00
- Slackware® is a Registered Trademark of Patrick Volkerding.
2015-01-29 02:01:59 +01:00
- Linux is a Registered Trademark of Linus Torvalds.