2014-05-23 07:46:51 +02:00
|
|
|
|
.. image:: https://badge.fury.io/py/slpkg.png
|
|
|
|
|
:target: http://badge.fury.io/py/slpkg
|
|
|
|
|
.. image:: https://pypip.in/d/slpkg/badge.png
|
|
|
|
|
:target: https://pypi.python.org/pypi/slpkg
|
|
|
|
|
.. image:: https://pypip.in/license/slpkg/badge.png
|
|
|
|
|
:target: https://pypi.python.org/pypi/slpkg
|
|
|
|
|
|
2014-09-08 02:51:11 +02:00
|
|
|
|
Latest Release:
|
|
|
|
|
|
2014-09-30 03:30:35 +02:00
|
|
|
|
- Version: 1.9.3
|
2014-09-12 05:09:36 +02:00
|
|
|
|
- `Package <https://sourceforge.net/projects/slpkg/files/slpkg/binary/>`_
|
2014-09-30 03:30:35 +02:00
|
|
|
|
- `Source <https://github.com/dslackw/slpkg/archive/v1.9.3.tar.gz>`_
|
2014-09-08 02:51:11 +02:00
|
|
|
|
- `CHANGELOG <https://github.com/dslackw/slpkg/blob/master/CHANGELOG>`_
|
2014-09-03 01:05:50 +02:00
|
|
|
|
|
2014-09-20 04:40:18 +02:00
|
|
|
|
.. image:: https://raw.githubusercontent.com/dslackw/images/master/slpkg/logo.png
|
|
|
|
|
:target: https://github.com/dslackw/slpkg
|
|
|
|
|
|
2014-09-20 04:43:09 +02:00
|
|
|
|
.. contents:: Table of Contents:
|
|
|
|
|
|
2014-08-28 06:39:27 +02:00
|
|
|
|
`Slpkg <https://github.com/dslackw/slpkg>`_ is a terminal multitool in order to easy use `Slackware <http://www.slackware.com/>`_
|
2014-08-01 09:42:05 +02:00
|
|
|
|
packages.
|
2014-05-23 07:46:51 +02:00
|
|
|
|
|
2014-09-14 16:46:06 +02:00
|
|
|
|
.. image:: https://raw.githubusercontent.com/dslackw/images/master/slpkg/open-source-logo.png
|
|
|
|
|
:target: https://github.com/dslackw/slpkg
|
|
|
|
|
|
2014-09-20 09:23:18 +02:00
|
|
|
|
Slpkg is `Open Source <http://en.wikipedia.org/wiki/Open_source>`_ and written in Python language.
|
2014-09-14 16:46:06 +02:00
|
|
|
|
It's use is for installing, upgrading, removing and monitoring packages in Slackware
|
|
|
|
|
linux distribution stable release.
|
2014-08-28 06:30:09 +02:00
|
|
|
|
Species are adapted to two repositories:
|
|
|
|
|
|
2014-08-28 06:31:04 +02:00
|
|
|
|
- SBo - `slackbuilds.org <http://slackbuilds.org/>`_
|
|
|
|
|
- Slack - `slackware.com <http://www.slackware.com/>`_
|
2014-08-28 06:30:09 +02:00
|
|
|
|
|
|
|
|
|
The slpkg cooperate in accordance with the standards of the organization slackbuilds.org
|
|
|
|
|
to build a package,
|
|
|
|
|
are also used as the Slackware instructions for installing, upgrading or removing a
|
|
|
|
|
package.
|
|
|
|
|
|
2014-09-14 16:46:06 +02:00
|
|
|
|
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.
|
2014-08-28 06:30:09 +02:00
|
|
|
|
|
2014-09-03 01:09:22 +02:00
|
|
|
|
The big advantages is resolving dependencies packages from repository slackbuilds.org and
|
2014-08-28 06:30:09 +02:00
|
|
|
|
monitored for upgraded packages.
|
|
|
|
|
|
|
|
|
|
Of course you wonder how the slpkg is up to date at all times;
|
|
|
|
|
It's simple, every time there is a change in ChangeLog.txt before proceeding to any
|
|
|
|
|
execution program looksat whether there is a change in file size and downloads and updates
|
|
|
|
|
the SLACKBUILDS.TXT file.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
And as we say Slackers, Keep it Simple Stupid!
|
|
|
|
|
|
2014-08-28 06:39:27 +02:00
|
|
|
|
|
2014-08-28 06:40:22 +02:00
|
|
|
|
.. image:: https://raw.githubusercontent.com/dslackw/images/master/slpkg/slpkg_package.png
|
2014-08-28 06:39:27 +02:00
|
|
|
|
:target: https://github.com/dslackw/slpkg
|
|
|
|
|
|
|
|
|
|
|
2014-05-23 07:46:51 +02:00
|
|
|
|
Features
|
2014-09-19 22:07:40 +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
|
|
|
|
|
- Install packages through from official `Slackware <http://www.slackware.com/>`_ mirrors
|
2014-08-01 09:42:05 +02:00
|
|
|
|
- Find and Download packages from `slackbuilds.org <http://slackbuilds.org/>`_
|
2014-08-01 10:00:57 +02:00
|
|
|
|
- Grabs packages from slackbuilds.org in real time
|
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:46:16 +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:46:16 +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-19 22:07:40 +02:00
|
|
|
|
Tutorial
|
|
|
|
|
--------
|
2014-07-13 18:46:10 +02:00
|
|
|
|
|
|
|
|
|
.. image:: https://raw.githubusercontent.com/dslackw/images/master/slpkg/screenshot-1.png
|
2014-09-27 23:39:27 +02:00
|
|
|
|
:target: https://asciinema.org/a/12544
|
2014-05-23 07:54:35 +02:00
|
|
|
|
|
2014-09-19 22:07:40 +02:00
|
|
|
|
|
2014-05-23 07:46:51 +02:00
|
|
|
|
Installation
|
|
|
|
|
------------
|
|
|
|
|
|
2014-08-30 07:12:07 +02:00
|
|
|
|
Untar the archive and run install.sh script:
|
|
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
2014-09-30 03:30:35 +02:00
|
|
|
|
$ tar xvf slpkg-1.9.3.tar.gz
|
|
|
|
|
$ cd slpkg-1.9.3
|
2014-08-30 07:12:07 +02:00
|
|
|
|
$ ./install.sh
|
|
|
|
|
|
|
|
|
|
Using `pip <https://pip.pypa.io/en/latest/>`_ :
|
2014-05-23 07:46:51 +02:00
|
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
2014-08-01 09:42:05 +02:00
|
|
|
|
$ pip install slpkg
|
|
|
|
|
|
|
|
|
|
uninstall:
|
2014-05-23 07:46:51 +02:00
|
|
|
|
|
2014-08-01 09:42:05 +02:00
|
|
|
|
$ pip uninstall slpkg
|
2014-05-23 07:46:51 +02:00
|
|
|
|
|
2014-08-02 15:49:15 +02:00
|
|
|
|
Using Slackware command:
|
|
|
|
|
|
2014-08-26 07:37:21 +02:00
|
|
|
|
Download binary package from `SourceForge <https://sourceforge.net/projects/slpkg/>`_
|
2014-08-02 15:49:15 +02:00
|
|
|
|
|
2014-05-23 07:46:51 +02:00
|
|
|
|
Command Line Tool Usage
|
|
|
|
|
-----------------------
|
|
|
|
|
|
|
|
|
|
.. code-block:: bash
|
2014-09-30 03:30:35 +02:00
|
|
|
|
|
|
|
|
|
Utility for easy management packages in Slackware
|
2014-09-27 23:06:45 +02:00
|
|
|
|
|
|
|
|
|
Optional arguments:
|
2014-09-30 03:30:35 +02:00
|
|
|
|
-h, --help show this help message and exit
|
|
|
|
|
-v, --version print version and exit
|
|
|
|
|
-a, script [source...] auto build packages
|
|
|
|
|
-l, all, sbo, slack, noarch list of installed packages
|
|
|
|
|
-c, <repository> --upgrade check if your packages is up to date
|
|
|
|
|
-s, <repository> <package> download, build & install packages
|
|
|
|
|
-f, <package> find installed packages
|
|
|
|
|
-t, <package> packages tracking dependencies from SBo
|
|
|
|
|
-n, <package> view packages from SBo repository
|
|
|
|
|
-b, --list blacklisted packages
|
|
|
|
|
-b [package...] --add --remove add, remove packages in blacklist
|
|
|
|
|
-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 of the packages
|
2014-09-27 23:06:45 +02:00
|
|
|
|
|
|
|
|
|
Repositories:
|
|
|
|
|
SlackBuilds = sbo
|
|
|
|
|
Slackware = slack
|
2014-09-30 03:30:35 +02:00
|
|
|
|
|
2014-07-28 07:28:47 +02:00
|
|
|
|
|
2014-05-23 07:46:51 +02:00
|
|
|
|
Slpkg Examples
|
|
|
|
|
--------------
|
|
|
|
|
|
2014-05-28 16:35:41 +02:00
|
|
|
|
Find package from slackbuilds.org download,
|
|
|
|
|
build and install with all dependencies :
|
|
|
|
|
|
|
|
|
|
.. code-block:: bash
|
2014-08-01 09:42:05 +02:00
|
|
|
|
|
2014-07-28 07:39:35 +02:00
|
|
|
|
$ slpkg -s sbo brasero
|
2014-09-23 22:23:29 +02:00
|
|
|
|
Reading package lists ......Done
|
2014-08-26 04:35:11 +02:00
|
|
|
|
|
2014-09-08 02:51:11 +02:00
|
|
|
|
The following packages will be automatically installed or upgraded
|
|
|
|
|
with new version:
|
2014-08-26 04:35:11 +02:00
|
|
|
|
|
2014-08-22 15:27:57 +02:00
|
|
|
|
+==============================================================================
|
2014-08-26 04:10:16 +02:00
|
|
|
|
| Package Version Arch Repository
|
2014-08-22 15:27:57 +02:00
|
|
|
|
+==============================================================================
|
|
|
|
|
Installing:
|
2014-08-26 04:10:16 +02:00
|
|
|
|
brasero 3.11.3 x86_64 SBo
|
2014-08-22 15:27:57 +02:00
|
|
|
|
Installing for dependencies:
|
2014-08-26 04:10:16 +02:00
|
|
|
|
orc 0.4.19 x86_64 SBo
|
|
|
|
|
gstreamer1 1.2.2 x86_64 SBo
|
|
|
|
|
gst1-plugins-base 1.2.2 x86_64 SBo
|
|
|
|
|
gst1-plugins-bad 1.2.2 x86_64 SBo
|
|
|
|
|
libunique 1.1.6 x86_64 SBo
|
2014-08-22 15:27:57 +02:00
|
|
|
|
|
|
|
|
|
Installing summary
|
|
|
|
|
===============================================================================
|
|
|
|
|
Total 6 packages.
|
2014-09-08 02:51:11 +02:00
|
|
|
|
6 packages will be installed, 0 allready installed and 0 package
|
|
|
|
|
will be upgraded.
|
2014-08-13 01:39:41 +02:00
|
|
|
|
|
|
|
|
|
Do you want to continue [Y/n]? y
|
2014-08-01 09:42:05 +02:00
|
|
|
|
|
2014-09-23 22:23:29 +02:00
|
|
|
|
|
|
|
|
|
$ slpkg -s sbo fmpeg
|
|
|
|
|
Reading package lists ....Done
|
|
|
|
|
|
|
|
|
|
Packages with name matching [ fmpeg ]
|
|
|
|
|
|
|
|
|
|
+==============================================================================
|
|
|
|
|
| Package Version Arch Repository
|
|
|
|
|
+==============================================================================
|
|
|
|
|
Matching:
|
|
|
|
|
ffmpegthumbnailer 2.0.8 x86_64 SBo
|
|
|
|
|
ffmpeg 2.1.5 x86_64 SBo
|
|
|
|
|
ffmpeg2theora 0.29 x86_64 SBo
|
|
|
|
|
gst-ffmpeg 0.10.13 x86_64 SBo
|
|
|
|
|
|
|
|
|
|
Installing summary
|
|
|
|
|
===============================================================================
|
|
|
|
|
Total found 4 matching packages.
|
|
|
|
|
0 installed package and 4 uninstalled packages.
|
|
|
|
|
|
|
|
|
|
|
2014-07-28 07:39:35 +02:00
|
|
|
|
Find packages from `Slackware official mirrors <http://mirrors.slackware.com/>`_
|
|
|
|
|
download and install:
|
|
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
|
|
$ slpkg -s slack mozilla
|
|
|
|
|
|
|
|
|
|
Packages with name matching [ mozilla ]
|
2014-09-22 01:22:46 +02:00
|
|
|
|
Reading package lists ..............................Done
|
2014-07-28 07:39:35 +02:00
|
|
|
|
|
2014-08-22 15:27:57 +02:00
|
|
|
|
+==============================================================================
|
2014-09-21 23:47:08 +02:00
|
|
|
|
| Package Version Arch Build Repos Size
|
2014-08-22 15:27:57 +02:00
|
|
|
|
+==============================================================================
|
|
|
|
|
Installing:
|
2014-09-22 01:22:46 +02:00
|
|
|
|
mozilla-firefox 24.1.0esr x86_64 1 Slack 23524 K
|
|
|
|
|
mozilla-nss 3.15.2 x86_64 2 Slack 1592 K
|
|
|
|
|
mozilla-thunderbird 24.1.0 x86_64 1 Slack 24208 K
|
2014-08-22 15:27:57 +02:00
|
|
|
|
|
|
|
|
|
Installing summary
|
|
|
|
|
===============================================================================
|
|
|
|
|
Total 3 packages.
|
2014-09-14 16:46:06 +02:00
|
|
|
|
0 package will be installed, 3 will be upgraded and 0 will be resettled.
|
2014-09-12 05:09:36 +02:00
|
|
|
|
Need to get 48.17 Mb of archives.
|
|
|
|
|
After this process, 125.75 Mb of additional disk space will be used.
|
2014-08-18 00:04:55 +02:00
|
|
|
|
|
2014-08-13 01:39:41 +02:00
|
|
|
|
Would you like to install [Y/n]?
|
2014-07-28 07:39:35 +02: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-07-26 07:15:14 +02:00
|
|
|
|
$ slpkg -t brasero
|
2014-09-22 01:22:46 +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-08-26 04:39:51 +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
|
|
|
|
|
|
2014-07-26 06:59:53 +02:00
|
|
|
|
Check if your packages is up to date from slackbuilds.org:
|
2014-05-23 07:46:51 +02:00
|
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
2014-09-27 23:06:45 +02:00
|
|
|
|
$ slpkg -c sbo --upgrade
|
2014-09-22 01:22:46 +02:00
|
|
|
|
Reading package lists ...Done
|
2014-05-23 07:46:51 +02:00
|
|
|
|
|
2014-08-26 04:35:11 +02:00
|
|
|
|
These packages need upgrading:
|
2014-08-26 04:10:16 +02:00
|
|
|
|
|
2014-07-21 01:54:58 +02:00
|
|
|
|
+==============================================================================
|
2014-08-26 04:10:16 +02:00
|
|
|
|
| Package New version Arch Repository
|
2014-07-21 01:54:58 +02:00
|
|
|
|
+==============================================================================
|
2014-08-26 04:10:16 +02:00
|
|
|
|
Upgrading:
|
|
|
|
|
six-1.7.1 1.7.3 x86_64 SBo
|
|
|
|
|
pysetuptools-3.4 3.6 x86_64 SBo
|
|
|
|
|
Jinja2-2.7.0 2.7.2 x86_64 SBo
|
|
|
|
|
pysed-0.3.0 0.3.1 x86_64 SBo
|
|
|
|
|
Pafy-0.3.56 0.3.58 x86_64 SBo
|
|
|
|
|
MarkupSafe-0.21 0.23 x86_64 SBo
|
|
|
|
|
pip-1.5.3 1.5.6 x86_64 SBo
|
|
|
|
|
colored-1.1.1 1.1.4 x86_64 SBo
|
|
|
|
|
|
|
|
|
|
Installing summary
|
|
|
|
|
===============================================================================
|
2014-09-08 02:51:11 +02:00
|
|
|
|
Total 8 packages will be upgraded and 0 package will be installed.
|
2014-08-26 04:10:16 +02:00
|
|
|
|
|
|
|
|
|
Would you like to upgrade [Y/n]?
|
2014-05-23 07:46:51 +02:00
|
|
|
|
|
2014-08-26 04:37:35 +02:00
|
|
|
|
Check if your distribution is up to date from `Slackware official mirrors
|
2014-08-01 09:42:05 +02:00
|
|
|
|
<http://mirrors.slackware.com/>`_
|
2014-07-26 06:59:53 +02:00
|
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
2014-09-27 23:06:45 +02:00
|
|
|
|
$ slpkg -c slack --upgrade
|
2014-09-22 01:22:46 +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:46:06 +02:00
|
|
|
|
|
2014-08-22 15:27:57 +02:00
|
|
|
|
+==============================================================================
|
2014-09-21 23:47:08 +02:00
|
|
|
|
| Package Version Arch Build Repos Size
|
2014-08-22 15:27:57 +02:00
|
|
|
|
+==============================================================================
|
|
|
|
|
Upgrading:
|
2014-09-21 23:47:08 +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 15:27:57 +02:00
|
|
|
|
|
|
|
|
|
Installing summary
|
|
|
|
|
===============================================================================
|
|
|
|
|
Total 3 package will be upgrading.
|
2014-09-12 05:09:36 +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-08-27 20:50:55 +02:00
|
|
|
|
Would you like to upgrade [Y/n]?
|
2014-05-23 07:46:51 +02:00
|
|
|
|
|
2014-08-09 05:31:52 +02:00
|
|
|
|
Find packages from slackbuilds.org:
|
2014-05-23 07:46:51 +02:00
|
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
2014-07-26 07:15:14 +02:00
|
|
|
|
$ slpkg -n bitfighter
|
2014-09-22 01:22:46 +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:23:29 +02:00
|
|
|
|
| Description : multi-player combat game
|
2014-07-28 07:28:47 +02:00
|
|
|
|
| SlackBuild : bitfighter.tar.gz
|
2014-09-12 05:09:36 +02:00
|
|
|
|
| Sources : bitfighter-019c.tar.gz, classic_level_pack.zip
|
2014-07-28 07:28:47 +02:00
|
|
|
|
| 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 15:27:57 +02:00
|
|
|
|
Quit Quit
|
2014-09-25 01:10:10 +02:00
|
|
|
|
|
|
|
|
|
> _
|
2014-05-23 07:46:51 +02: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:
|
|
|
|
|
|
|
|
|
|
No symbolic links were found, so we won't make an installation script.
|
|
|
|
|
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:46:16 +02:00
|
|
|
|
Total build time for package termcolor : 1 Sec
|
|
|
|
|
|
2014-08-09 05:31:52 +02:00
|
|
|
|
Upgrade, install package:
|
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
|
|
|
|
|
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:46:06 +02:00
|
|
|
|
$ slpkg -f apr
|
|
|
|
|
|
|
|
|
|
Installed packages with name matching [ apr ]
|
2014-08-01 09:42:05 +02:00
|
|
|
|
|
2014-09-14 16:46:06 +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 01:10:10 +02:00
|
|
|
|
Total found 4 matcing packages
|
|
|
|
|
Size of installed packages 1.61 Mb
|
2014-05-23 07:46:51 +02: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
|
|
|
|
|
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
|
|
|
|
|
2014-08-09 05:31:52 +02:00
|
|
|
|
Remove packages with all dependencies:
|
|
|
|
|
(presupposes facility with the option 'slpkg -s sbo <package>)
|
|
|
|
|
|
|
|
|
|
.. 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
|
|
|
|
|
2014-09-30 03:30:35 +02:00
|
|
|
|
|
|
|
|
|
Using the blacklist file manually from /etc/slpkg/blacklist or
|
|
|
|
|
with the following options:
|
|
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
|
|
$ slpkg -b live554 speex faac --add
|
|
|
|
|
|
|
|
|
|
Add packages in blacklist:
|
|
|
|
|
|
|
|
|
|
live555
|
|
|
|
|
speex
|
|
|
|
|
faac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ slpkg -b speex --remove
|
|
|
|
|
|
|
|
|
|
Remove packages from blacklist:
|
|
|
|
|
|
|
|
|
|
speex
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ slpkg -b --list
|
|
|
|
|
|
|
|
|
|
Packages in blacklist:
|
|
|
|
|
|
|
|
|
|
live555
|
|
|
|
|
faac
|
|
|
|
|
|
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
|