|
SlackOnly is a third party software repository for Slackware Linux that
provides binary packages built from SlackBuilds.org build scripts.
The goal is to enable users to install any package from
SlackBuilds.org using pre-compiled binary packages. SlackOnly
packages contain Metadata that provides dependency information to
package managers that have the ability to read such information.
SlackOnly assumes that its users are running a full installation of
Slackware Linux prior to use.
SlackOnly supports the following Slackware releases and architectures:
Links to each repository are in the footer of this document.
How to use SlackOnly
There is a variety of package managers that will enable you to use
SlackOnly on your Slackware installation.
- slackpkg with the slackpkg+ extension
- slpkg
- slapt-get and the gslapt GUI
Below are the descriptions and directions explaining how to install each
of these package managers. Also included in the directions are the
configuration changes necessary to use each package manager with SlackOnly.
Slackpkg with Slackpkg+
Slackpkg is included in default installations of the Slackware Linux
distribution. Slackpkg+ is an extension of slackpkg that allows
the use of third party repositories. Many users like slackpkg+ over
other third party software management options. This preference is
due to the fact that slackpkg allows users to continue to use the
same slackpkg commands that are familiar. This package manager, and
its extension slackpkg+, do not offer automatic dependency
resolution as a feature.
First, download slackpkg+ here and install it as root by
running the "installpkg" command:
root@localhost:~# installpkg slackpkg+*.t?z
Next, edit /etc/slackpkg/slackpkgplus.conf. Edit the REPOPLUS
variable and add a new SlackOnly MIRRORPLUS variable:
REPOPLUS=( slackpkgplus restricted alienbob slacky slackonly )
MIRRORPLUS['slackonly']=http://slackonly.com/pub/packages/RELEASE-ARCH/
RELEASE should be either "14.2" or "15.0" or "current" and ARCH should be
either "x86" or "x86_64". You should use the same release and
architecture as your Slackware installation. Adding the wrong
values will cause problems with your installation.
Finally, run the following commands as root to import the SlackOnly GPG
key and to update the slackpkg cache with the SlackOnly package
list.
root@localhost:~# slackpkg update gpg
root@localhost:~# slackpkg update
You are now ready to use slackpkg with the slackpkg+ extension to
access the SlackOnly repository of your choice.
Slpkg
Slpkg is a stand-alone command line package manager. It
automatically computes dependencies, Slpkg enables the user to
install, update, remove packages and their dependencies with just a
few commands. Slpkg distinguishes itself from other package
managers by its user friendliness and great documentation. It
offers features like dependency resolution, colorful output, better
security, faster processing, amongst other features.
First, download and install the latest release of slpkg. There are
a number of ways to get slpkg. Python users can install slpkg using
the "pip" command. SlackBuilds.org users can run the "sbopkg"
command to install slpkg. To install from source, refer to the
slpkg README for more information. A binary package can be
downloaded from the slpkg home page and be installed with the
"installpkg" command.
For simplicity we will download the binary package from the slpkg
Release Page and install it as root using the "installpkg"
command:
root@localhost:~# installpkg slpkg*_dsw.t?z
Next, edit /etc/slpkg/slpkg.conf and change the RELEASE variable to
your Slackware release. If you are using Stable Slackware there is
nothing to change.
RELEASE=stable
Following that, edit /etc/slpkg/repositories.conf and enable the
SlackOnly repository by uncommenting the line with: "slonly"
slonly
Finally, synchronize the package lists:
root@localhost:~# slpkg update
You are now ready to start using slpkg to manage your SlackOnly
binary packages.
Slapt-get
slapt-get is an APT-like package management system for Slackware. It
aims to emulate Debian's package manager (apt-get) as closely as
possible. It provides automatic dependency resolution and a
companion graphical interface called gslapt.
Download and install slapt-get.
root@localhost:~# installpkg slapt-get*.t?z
Edit /etc/slapt-get/slapt-getrc and add:
SOURCE=http://packages.slackonly.com/pub/packages/RELEASE-ARCH/:DEFAULT
RELEASE should be either "14.2" or "15.0" or "current" and ARCH should be
either "x86" or "x86_64". You should use the same release and
architecture as your Slackware installation. Adding the wrong
values will cause problems with your installation.
Next, import the SlackOnly GPG key:
root@localhost:~# slapt-get --add-keys
Finally, update the package list cache for slapt-get:
root@localhost:~# slapt-get --update
You are ready to start using slapt-get with the SlackOnly
repository.
Getting Help
You can access the slapt-get help by running "slapt-get -h".
Additional help can be found by looking at the man page, "man
slapt-get". There is a FAQ included with the slapt-get package,
located in /usr/share/doc/slapt-get-$VERSION. Further inquiries can
be found on the slapt-get home page.
Gslapt
Gslapt is a GTK front-end for slapt-get. It aims to streamline the
package management process for slapt-get. It is similar to the
Synaptic GUI package manager seen in Debian Linux.
Download and install Gslapt:
root@localhost:~# installpkg gslapt*.t?z
Launch Gslapt with root privileges. This can be done directly by
logging into the root account. It can also be launched as a
limitted user by by prefixing the "gslapt" command with kdesu.
As root:
root@localhost:~# gslapt
As a limitted user:
user@localhost:~$ kdesu gslapt
You will be asked for the root account password if you use "kdesu".
Getting Help
You can find additional documentation, as well as screenshots of
Gslapt in action on the Gslapt home page. On this page there
is also a link to the slapt-get mailing list, which is also used for
Gslapt. As always you can find the README and FAQ files in
/usr/share/doc/gslapt as well.
Development and Quality Control
- See DEVELOPERS and QUALITY_CONTROL
Contact
Copyright
- Slackware® is a Registered Trademark of Patrick Volkerding.
- Linux is a Registered Trademark of Linus Torvalds.
|