skip to content »

doktorzelen.ru

Updating slackware 13

The author is the creator of nix Craft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting.He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector.

Due to the differences between Slackware and Red Hat there is a learning curve.(Note that you can only choose one mirror at a time. If you're more conservative, or you're running a mission critical setup where you can't afford to experiment, you'll probably want to use a mirror for your specific, stable version of Slackware.##----------------------------------------------------------------# Slackware 13.0#----------------------------------------------------------------# Finland,ftp://ftp.funet.fi/pub/mirrors/ftp.slackware.com/pub/slackware-13.0/# Belgium, 2x1Gbit# ftp://ftp.belnet.be/packages/slackware/slackware-13.0/# Bulgaria, 5Mbit# ftp://mirrors.unixsol.org/slackware/slackware-13.0. But, if you've installed all of the official Slackware packages during initial installation, there will only be three options that you'll normally need to worry about.Also note that some mirrors work better than others, so you may have to try a couple to get satisfactory results.)#----------------------------------------------------------------# Slackware current#----------------------------------------------------------------# Finland,# ftp://ftp.funet.fi/pub/mirrors/ftp.slackware.com/pub/slackware-current/# Belgium, 2x1Gbit# ftp://ftp.belnet.be/packages/slackware/slackware-current/# Bulgaria, 5Mbit. To completely update your Slackware system, enter the following three commands:# slackpkg update# slackpkg install-new# slackpkg upgrade-all If any new or updated packages are found, you'll see an ncurses display.The first thing you'll want to do after installing “sbopkg”, is to ensure that you're plugged into the correct repository for your version of Slackware. As with the official Slackware utilities, there's no dependency resolution.So, for example, if you choose a package that uses the gtk image libraries, which aren't installed by default on Slackware, you'll get an error message when you try to build the package.Easy Update and Package Management for Slackware 13Introduction If you haven't played with Slackware within the past couple of years, you may still believe that the word “easy” doesn't go well with the words “update” and “package management”.

But, two fairly new utilities, “slackpkg” and “sbopkg”, may help to change your mind.

The only times I've had a problem were when a new package compression scheme was implemented, and when a new “mirrors” file was installed.

In the first case, I just chose to install the new compression utility before trying to update anything else.

The advantage, is that you can edit the script in order to optimize the compiled executable file for your machine's processor. Either way, the next step will be to process the queue.

The disadvantage, is that Slackbuilds doesn't give you a centralized way to keep track of what you have installed, or to update all of your installed packages at once. Since sbopkg is still under heavy development, expect to see it updated quite often.

Initial Setup When you first install Slackware, you'll be given the option of installing all packages that are in the official Slackware repository.