Wow! That's a lot of unsupported stuff in just one title: -current and multilib.

As many of you out there, it took just a couple of weeks so I jump from the safe, supported side to the unsupported one with -current and multilib setup. I'll not get into the details of what -current and multilib is to the Slackware64 context here. There are plenty of lecture to this already.

WARNING: Since Apr 03, 2014 slackext is unmaintained code kept here only for historical reasons. For a much better replacement, please see this new article (in Brazilian Portuguese) by me or this one (in English) by Eric Eric Hameleers about Slackpkg+.

Once you have an Slackware64 pointed to the -current tree, this means at least some dozens of minutes every month keeping it up to date. Some of those could make you to spend a couple hours. Well, you're on Slackware's bleeding edge. So don't complain. At least we have slackpkg to help with the task.

The same isn't 100% true for AlienBOB's multilib packages. And before you ask: yes, I'm aware of Multilibpkg. It's a hell of a tool, but I just don't like all its bells and whistles. From my humble opinion, Multilibpkg adds an unnecessary complexity layer. I like it KISS.

LQ users also have pointed out many ways to keep a multilib setup updated over the time. Even AlienBOB himself has a very good wiki about the housekeeping process. The 'feature' all those methods share are that they are almost in its entirety by hand. I don't like it by hand... at least not at computers.

So decided to write an script to handle this: slackext.

It does everything needed to a good and reliable Slackware64 multilib update:

  1. Create cache directories on demand;
  2. Download required files from the repository (by mirroring them, tks to lftp);
  3. Check for MD5 and GPG signatures (only if provided by the package maintainer);
  4. Install new packages or upgrade the ones already installed.

Besides, it does one thing I could not find either on Multilibpkg nor any other script out there: it works with any repository that provides Slackwares tgz/txz packages.

So, to bring my multilib setup to the latest packages, I just:

# slackext

I want to watch a movie! So I fire:

# slackext
# slackext

AlienBOB (does he sleep?!?) releases a new openjdk. No problem:

# slackext

Do you live outside US and want all those fancy codecs that those stupid US patent laws don't let you? Cool, so type:

# slackext

There are lots of Slackware third party package maintainers out there which delivers them in either tgz or txz formats. If you can find an URL to those packages, you can use slacktext to easily download, check, install and keep them up to the date.

Well, as you can see, slackext is smart enough to keep your multilib packages in shape as well as all that aliens stuff you install on your Slackware64 -current multilib. Unsupported my ass!