SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

slackpkg - Automated tool for management of Slackware Linux Packages

                        Authors: Piter PUNK aka Roberto F Batista 
                                        <piterpk@terra.com.br>
                                 Evaldo Gardenali aka UdontKnow 
                                        <evaldo@fasternet.com.br>

                        Version: 0.93   released at Fri Feb 14 2003
                                 0.94   released at Wed Mar 12 2003
                                 0.95   released at Mon Mar 17 2003
                                 0.96   released at Thu Apr 10 2003
                                 0.97   released at Fri Aug 01 2003
                                 0.98   released at Tue Aug 19 2003
                                 0.99   released at Mon Sep 15 2003
                                 0.99.1 released at Wed Sep 24 2003
                                 1.00   released at Mon Nov 10 2003
                                 1.02   released at Fri Jan 30 2004
                                 1.02.1 released at Mon Feb 02 2004
                                 1.02.2 released at Mon Feb 02 2004
                                 1.03   released at Wed Feb 18 2004
                                 1.03.1 released at Thu Feb 26 2004 
                                 1.1    released at Mon Mar 01 2004
                                 1.2    released at Tue Mar 30 2004
                                 1.2.1  released at Wed May 19 2004
                                 1.2.2  released at Tue Jun 15 2004 
                                 1.3    released at Mon Nov 01 2004
                                 1.3.1  released at Wed Dec 29 2004
                                 1.4    released at Wed Jan 26 2005
                                 1.4.1  released at Tue Jun 22 2005
                                 1.5.0  released at Fri Jul 22 2005
                                 1.5.1  released at Wed Ago 17 2005
                                 1.5.2  released at Sun Sep 11 2005
                                 2.03   released at Thu May 18 2006
                                 2.04   released at Fri May 26 2006

Slackpkg is a special tool for who wants install or upgrade packages through network. With package tool, you can make a minimal installation of Slackware Linux and install other stuffs from one Slackware mirror.

You don't need setup NFS, or make dozens of CDs for all your computers, only needs to type one command and all packages in Official Slackware will be in your hands.

:---------------------------------------------------------------------

install: First of all, you need to download the correct package. After download, you can install the slackpkg using the command installpkg.

After install, you need to select ONE (and only ONE) mirror for download packages from. Edit your /etc/slackpkg/mirrors and uncomment one of that lines, or include your own mirror. To include a local mirror (cdrom or dir), put a line like that:

cdrom://mnt/cdrom

or file://mnt/cdrom... both syntax are correct.

With the mirror selected, you type:

# slackpkg update
# slackpkg update gpg

The slackpkg will download some important files and make update of all package lists. The second command will install Slackware's GPG key, to check all packages before install.

Now you can really use slackpkg -;)

:---------------------------------------------------------------------

instructions: Slackpkg have many features, like search and automatic download and install or upgrade. To upgrade your packs, is very recommended run slackpkg update first.

search

You can search in official Slackware packages, for any file in Slackware distribution. Do you need a strange library? Use search to find them.

# slackpkg search nameoffile

All packages with the "name" file will be show and you can see if the packageare installed or not. And, if not, you can download and install with other slackpkg commands.

install

The instalation of one package is very easy. You only need to type:

# slackpkg install package

And the package will be downloaded and installed. Instead "package", you can use a pattern, to download and istall all packages that matches that pattern. Before download and install, the slackpkg show a list of the packages to you and ask if you really wants install that packages.

# slackpkg install n/dhcp

Will download and install dhcp and dhcpcd. You can't install an already installed package, for this, you need to upgrade the package.

upgrade

Upgrade works in the same way of install. But upgrade already installed packages to a new version.

Upgrade can't install new packages, you need to install that packages first and after make a upgrade (or you can install the upgraded package and save your time).

reinstall

Is the same of install. But works for already installed packages.

remove

With remove, you can remove some installed packages. Works in the same way of removepkg from pkgtool.

blacklist

Using that command, you can "blacklist" some packages. Packages blacklisted can't be upgraded or installed. If you want to remove some package from the black list, please edit /etc/slackpkg/blacklist.

download

Only download the packages. It will be in /var/cache/packages and you can install/upgrade/reinstall those packages later (or burn a CD with them).

info

Put on screen some informations of the package given by the command line. Info like: compressed and uncompressed size, description, etc...

upgrade-all

Sync all your installed packages with slackware mirrors packages. This is the recommended commando to upgrade whole system. Remember to use install-new before upgrade-all. Nasty things can happen if you forgot it.

clean-system

Remove all non-official packages. Is a good command to keep your system in order. It will be remove all third-party or removed from offical slackware packages.

install-new

Install packages that are added in slackware distribution. Run this if you are upgrading all your system to another slackware version or if you are using current.

:---------------------------------------------------------------------


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.