2014-08-18 00:00:28 +02:00
|
|
|
Installation
|
|
|
|
============
|
|
|
|
|
|
|
|
|
|
|
|
Python & OS Support
|
|
|
|
-------------------
|
|
|
|
|
2014-10-01 19:37:51 +02:00
|
|
|
slpkg works with Python versions 2.7.5+ (Python 3 not supported yet)
|
|
|
|
slpkg works on Slackware distribution.
|
2014-08-18 00:00:28 +02:00
|
|
|
|
|
|
|
Install slpkg
|
|
|
|
-------------
|
|
|
|
|
2014-08-30 06:53:02 +02:00
|
|
|
There are mainly five ways:
|
2014-08-18 00:00:28 +02:00
|
|
|
|
2014-08-30 03:17:11 +02:00
|
|
|
1) Download latest slpkg version from https://github.com/dslackw/slpkg/releases
|
|
|
|
Untar or unzip the archive, cd in slpkg-?.?.? directory.
|
|
|
|
Run install.sh in this directory `./install.sh` and slpkg auto-installed.
|
|
|
|
|
|
|
|
2) Using the SlackBuild script in the directory slpkg-?.?.?/slackbuild.
|
2014-08-18 00:00:28 +02:00
|
|
|
|
|
|
|
Untar the archive `tar xvf slpkg-?.?.?.tar.gz`
|
|
|
|
|
|
|
|
Copy the source tar archive `cp slpkg-?.?.?.tar.gz slpkg-?.?.?/slackbuild`,
|
|
|
|
change directory `cd slpkg-?.?.?/slackbuild`, fix the version if need in
|
|
|
|
SlackBuild.slpkg give execution permissions to script `chmod +x SlackBuild.slpkg`
|
|
|
|
and run as root ./SlackBuild.slpkg.
|
|
|
|
|
|
|
|
SlackBuild package created so install package with `upgradepkg --install-new
|
|
|
|
/tmp/slpkg-?.?.?-x86_64-1_dsw.tgz` (x86_64 for Slackware64).
|
|
|
|
|
2014-08-30 03:17:11 +02:00
|
|
|
3) Using pip:
|
2014-08-18 00:00:28 +02:00
|
|
|
|
|
|
|
`pip install slpkg` or upgrade `pip install --upgrade slpkg`
|
|
|
|
|
2014-09-05 05:20:59 +02:00
|
|
|
4) Download slpkg package from slackbuilds.org and run the second procedure described above.
|
2014-08-18 00:00:28 +02:00
|
|
|
|
2014-08-30 03:17:11 +02:00
|
|
|
5) Download binary package from sourceforge:
|
2014-08-18 00:00:28 +02:00
|
|
|
|
|
|
|
https://sourceforge.net/projects/slpkg/
|
|
|
|
|
2014-09-05 05:20:59 +02:00
|
|
|
and use Slackware command `upgradepkg --install-new <slpkg binary>`
|
|
|
|
|
2014-08-18 00:00:28 +02:00
|
|
|
|
2014-08-30 03:17:11 +02:00
|
|
|
Proposed mode if you want to have installed the most updated version is 1 or 2 and 3
|
2014-08-18 00:00:28 +02:00
|
|
|
process.
|