wiki:Installing

Requirements

Simplepkg should work with a minimum and sane Slackware installation with coreutils, subversion, gawk, sed and openssl, but in order to have all its capabilities, we recommend that you have a full Slackware (or your preferred pkgtool distribution) installation so you won't have any problems building any packages that need packages provided by the distribution.

Installing and upgrading simplepkg

There are several methods to install and upgrade simplepkg. All the following ones installs it using pkgtool, i.e, as any other Slackware package.

Universal methods

The following methods should work for any Slackware-like distro.

Using pkgtool

This method consists in downloading the simplepkg package found at http://slack.fluxo.info/packages/noarch and installing it using installpkg (or upgradepkg if you're upgrading it).

LASTVERSION=`lynx -dump http://slack.fluxo.info/packages/noarch/FILELIST.TXT \
             | grep 'simplepkg-.*\.tgz' | awk '{print $8}'`
wget http://slack.fluxo.info/packages/noarch/$LASTVERSION
upgradepkg --install-new `basename $LASTVERSION`

From source code

Latest and old source code tarballs can be found at the releases folder. If you want to build the package from your own using the latest version of simplepkg code, just checkout from the repository and make the package:

svn checkout http://slack.fluxo.info/simplepkg
cd simplepkg/trunk && make package
upgradepkg --install-new /tmp/simplepkg-*.tgz

Using simplepkg to install/upgrade itself

If you already have simplepkg installed on your system, you can use it to upgrade itself.

Using createpkg

The following procedure upgrade simplepkg using the version found directly from simplepkg's source code repository:

createpkg --sync
createpkg --install simplepkg

Using simplaret

This method assumes that there is a new simplepkg package at the package repositories off your choice:

simplaret update
simplaret install simplepkg
Last modified 2 years ago Last modified on Oct 8, 2015, 2:19:39 PM