Category Archives: Slackware Linux

Salix OS 14.0 Xfce review – Serenity now

Salix OS is a Slackware Linux derivative with focus on simplicity, speed and ease of use.
Salix Xfce 14.0 was released on the 26th of November.

What does Salix bring to the table (as stated on the distributions homepage):

  • Fully backwards compatible with Slackware
  • High quality package repositories with dependency support
  • One application per task
  • Optimized for desktop usage
  • Incredibly fast package tools
  • Simple & fully localized system administration tools
  • Nice artwork

Salix Xfce 14.0 RC3 64-bit (RC3 became the final release) has been installed and reviewed on the following system:

Dell Studio 1735

Dell Studio 1735

Dell Studio 1735
Intel Core 2 Duo T8300
3.0GB Dual Channel Memory
320GB Serial ATA (7.200RPM)
256 MB ATI Mobility Radeon HD
Intel® WiFi Link 5300
BenQ GL2440 24″W 16:9 LED monitor

Whats new with Salix 14.0?

A quick roundup:
Apart from an updated Slackware base, the Salix Xfce team have made some interesting choices for their one application per task philosophy. The most controversial is probably the inclusion of Midori as the default web browser. They have some valid reasons for dropping Firefox but at the end of the day, Midori is alright for some “leisure browsing” but the lack of essential plugins and general usability makes me run back to the old fox.

Salix 14.0 - Vlc

Salix Xfce 14.0 – The right choice for your desktop ?

The Midori browser also uses DuckDuckGo as it’s default search engine which is great for privacy but no so much for getting relevant results. Midori is part of the Xfce goodies project so it makes sense for Salix to include it for a “purer” Xfce experience but it’s probably the first application in a default install to be replaced. Also, OpenJRE 7 is available with the full installation and XFS will now be your default file system. Check out the release notes for a more detailed summary.

Installation

Salix uses a ncurses based installer, albeit somewhat different from the Slackware version. It’s linear and easy to follow but lacks an option for network configuration. The installer will also guide you through the creation of a default user account before you’re done. I must also say that the installation was faster than anything else I have experienced on this machine, I actually thought I must have missed a step with the installer but it’s really just that fast.

Package management

Salix uses the Gslapt package manager, a graphical frontend to slapt-get

“Slapt-get provides a framework for dependency resolution for  packages that follow the Slackware package format.”

Salix 14.0 - Gslapt

GSlapt is a GTK version of slapt-get

Gslapt is in my experience no better or worse than any other package manager. Personally I still like to resolve and handle dependencies manually, but for those who want a package manager with dependency resolution, this will surely do as long as the packagers continue to do their magic.

Another subtle difference from Slackware in regard to package management is the use of slkbuild scripts instead of the traditional SlackBuild scripts. I’m curious as to why the Salix developers felt the need to create a new framework instead of using the simpler and self contained SlackBuild templates.
Additionally Salix also uses spkg also known as the The Unofficial Slackware Linux Package Manager for short.

Usage

Salix Xfce is primarily a desktop system and covers most of your needs for everyday computing out of the box. When installed there is hardly any need to further configure the system as everything is already taken care of, either by default or during installation.
Salix is fast and simple, and just like Slackware is doesn’t interfere with how you see fit to use the system. Being built on the shoulders of dinosaurs, the system is stable, reliable and a great choice for business or pleasure.

Multimedia

Salix 14.0 - Midori browser

Adobe: Get Chrome or forget Flash

Salix doesn’t install any potential patent restricted multimedia codecs by default, but they include a tool for the job if you choose to install the a forefront mentioned codecs. Afterwards you may then play just about any obscure multimedia format known to man. Adobe flash player is installed out of the box but be aware that this version is old and deprecated (it still get’s security fixes though). Google Chrome is the only browser that offers the latest versions of the Adobe flash player plugin due to Adobe policies.

Look and feel

Whoever does the Salix theming gets my vote. Salix always looks elegant and streamlined and gives a sense of calm and ease, if that’s even possible for an operating system. No intrusive compositing effects, no annoying conky scripts or any widgeting nonsense.

Salix in-house software

Salix 14.0 - Salix tools

The Salix tools, armed and ready to configure

Salix does a great job with their Slackware base but how does it measure up with their arsenal of in-house developed software. These tools also (thankfully) follow the “one task per application” philosophy so you won’t get a set of tools that will make impossible to track system wide changes.

Salix 14.0 - Salix tools ncurses

Salix tools, the ncurses version of servicesetup

I do especially like the localization tools which are a great addition to the system. In fact, I am perfectly fine with using most of the applications instead of editing the corresponding config files by hand, which is the traditional Slackware way of doing it. There are some quirks though which I experienced while trying to modify my lilo.conf.

 

Lilo Setup:

The “Lilo Setup” application is unfortunately flawed by design.

Salix 14.0 Lilo Setup

Lilo Setup – deactivated buttons

You get a textfield which contains instructions on how to use the application. The content of this textfield changes when hoovering the mouse above hot-spot areas as buttons or labels. This is just wrong in regards to both design and usability.

Further, if you change the boot menu label, the buttons come alive and you can actually edit the Lilo configuration file in an external text editor. While you edit the configuration file the “Lilo Setup” application hangs while it waits on focus to return from the external editor. If you change the boot loader label from within the editor, this change goes unnoticed as the config file is not parsed by “Lilo Setup” on return.

Salix 14.0 - Lilo Setup

Lilo Setup – activated buttons

In fact, during my first edit “Lilo Setup” just terminated when I closed the editor. And if the application didn’t close unexpectedly it wouldn’t save my changes as it insisted that no changes had been made (curiously enough as it’s not possible to activate the save button without making changes). “Lilo Setup” should either be removed altogether or remade from scratch as the current version doesn’t have the quality expected from a Salix tool.

Sourcery:

Sourcery is a graphical frontend to slapt-src and can be used to manage (build, install or remove) packages from SlackBuild repositories.
Before using this application you should pay attention to the information from the release notes:

Our mirror of the slackbuilds.org repository now includes limited dependency support. It uses only the data in each SlackBuild’s .info file and these are written with the assumption of a full Slackware installation, so some dependencies may be missing in some cases. Software that is already present in either the Salix binary repositories, or the Salix SLKBUILD repository, will not be visible through our slackbuilds.org mirror

This also imply that if you replace the default repositories with the one from slackbuilds.org, you’ll lose both dependency support and and the ability to exclude programs already available from the Salix repos.

Salix 14.0 -  Sourcery dependency error

Sourcery fails with dependency errors

You will probably sooner or later run into missing dependencies due to the lack of libraries that are present in the full Slackware installation. Google Chromium was the first application I tried to install with Sourcery and it failed during building, as Sourcery would inform me.

Salix 14.0 - Sourcery error

Sourcery with 100% cpu consumption

However, when I tried to open the log, Sourcery unfortunately froze due to high cpu consumption, and I was not able see what caused the compilation to fail. Therefore I had no choice but to use slapt-src to identify the cause of failure. The problem was missing dependencies as expected since SlackBuild scripts are tailored for a full Slackware installation.
Chromium was compiled and installed fine with slapt-src by issuing the following command to rein in the dependencies:

You can’t exactly blame this on Sourcery but I wonder if it would be better to skip dependency resolution altogether, than to offer a half baked solution. Sure if you compile software you should have the skills to make sure all build time dependencies are met, but since Sourcery is a GUI frontend, you make it accessible to people with a very different opinion on how software installation should work.

I was also able to bork Sourcery by deleting the source repositories from the preferences tab and clearing out the cache. After that mistake it was impossible to open the preferences menu again and Sourcery threw the following error:

You can however recover from this situation by updating slapt-srcrc with the following command:

Sourcery is a somewhat fascinating tool, but it raises the bar too high with it’s notion of dependency resolution. For now I’ll stick with Sbopkg for my every SlackBuild needs.

The Pros

Stability:

Since Salix uses the Slackware repositories you’ll get the same stable software versions that you would get with a regular Slackware installation. I’ve had Salix 13.0.2 installed on a workstation since 2009, and the only times it’s gone down has been due to external power failure.

Salix repositories:

With high quality software like LibreOffice, VideoLAN and FileZilla in addition to updated versions of your favorite browser would make the Salix repositories a welcome addition to any Slackware based system.

Multiple editions:

Salix comes in the following flavors:  Xfce, MATE, LXDE, Fluxbox, KDE and Ratpoison. The distribution also offers a Live CD for those who just want to have a peek without committing. Did I mention the Ratpoison edition…. how cool is that.

Full backwards compatibility with Slackware:

Salix is not just Slackware with dependency resolution, but I would think a substantial amount of it’s users stem from Slackware based distributions. In that respect it’s nice to have a recognizable system with the same philosophy. And if you don’t want to use the GUI applications in Salix, you really don’t have to.

The Cons (also known as quirks and bugs):

Salix Update-Notifier:

Having the update notifier asking me to enter the root password to log on and apply updates while already having an open Gslapt session is annoying. One would think it would be possible for the update notifier to detect that Glaspt is already running and not open a new instance.

Lilo configuration:

On a dual boot system like mine, having lilo configured to only show the prompt for five seconds just allowed me time to read Sal.. before booting into my Windows recovery partition. Not a good tweak if you ask me.

Wicd:

It’s not possible to turn off wirless with Wicd on my system, trying to do so will result in error messages like these:
Running command ['rfkill', 'block', 'wwan'] failed: [Errno 2] No such file or directory
Running command ['rfkill', 'list'] failed: [Errno 2] No such file or directory

Salix in-house software:

The Lilo Setup application is to be frank, just horrible and deviates from the design and logic of the other applications.

Sourcery has a great name and is partly useful, but with a GUI frontend to slapt-src you’re catering to people who won’t be particularly pleased with the need for manual intervention. The cpu consumption while reading large logs and the ability to bork the application if you remove all the repositories should be fixed.

Ending notes

The catchphrase for this review was meant to be “The best distro you’re not using” but after a week of Salix 14.0 Xfce I don’t really feel that is entirely justified. Salix is still a great choice for your desktop but I personally didn’t feel the same kind of attachment to the 14.0 release as I did with the initial Xfce 13.0.2 edition. Maybe it’s the relatively small community and the subsequent lack of useful feedback for the developers that makes it harder to iron out the bugs, but Salix 14.0 has been a long time in development.

Still, if you want a Slackware based distribution you would be hard pressed to find a better alternative to the real thing than Salix.

Salix links:

Salix OS

Salix start up guide

Slackware 14.0 review – The return of the dinosaur

Slackware Linux 14.0

Got slack?

It has been an interesting year for slackers around the world as their favorite distro has been dragged through the mud and hung out to dry.
As usual, things blow out of proportions on the interwebs and at the break of dawn the Slackware rises once more.

This review is based on experiences with Slacware 14.0 RC3 and onwards to the 14.0 release about a month later.

What is Slackware Linux?

The following paragraph from the official Slackware Linux site eloquently sums up the distribution in a few sentences:

The Official Release of Slackware Linux by Patrick Volkerding is an advanced Linux operating system, designed with the twin goals of ease of use and stability as top priorities. Including the latest popular software while retaining a sense of tradition, providing simplicity and ease of use alongside flexibility and power, Slackware brings the best of all worlds to the table.

So you wanna be a slacker?

Slackware users often refer to themselves as slackers and they strive to achieve “Slack” as defined by the Church of the SubGenius.
Although Slackware is often branded as a complicated distribution by those who don’t use it, many would argue that by design it’s the easiest UNIX-like system available.

That being said, simplicity is in the eye of the beholder, and anyone who is interested in Slackware should be aware that it does require technical knowledge (or at least the desire to learn) and it’s far from a turnkey system. The lack of graphical configuration tools and the absence of automatic dependency resolution puts you on top of food chain when it comes to administrating your system.

< thadood> whats the apt-get equivelent in slackware ?
< rworkman> thadood: run “whoami” from an xterm.
Source: noobfarm.org

 

Slackware Linux 14.0 x86_64 has been installed and reviewed on the following system:

Dell Studio 1735

Dell Studio 1735

Dell Studio 1735
Intel Core 2 Duo T8300
3.0GB Dual Channel Memory
320GB Serial ATA (7.200RPM)
256 MB ATI Mobility Radeon HD
Intel® WiFi Link 5300
BenQ GL2440 24″W 16:9 LED monitor

Whats new with Slackware 14.0?

A quick roundup: Slackware switches to the 3.2 (3.2.29) kernel series which is a long-term stable release from March 2012. Xfce 4.6 is replaced by 4.10, which is welcomed but surprising as 4.10 is a fairly new release. KDE checks in with version 4.8.5, while Fluxbox is current at version 1.3.2. Finally X Window System also gets a bump to the latest version at X11R7.7

And the world is really coming to an end, NetworkManager is now offered as part of the default installation. More detailed and official information is available from the following links:
ANNOUNCE.14_0
CHANGES_AND_HINTS
ChangeLog.txt

Installation

Slackware 14.0 Installation

Slackwares ncurses based installation script

Slackware still uses the ncurses based installer which is flexible and powerful, but it’s not what everybody expects from an installer these days. Sure it looks old school, but it works and it’s not that complicated if you let go of the mouse and stop clicking.

The default install gives you around 7GB of software, and for the record, has no unmet dependencies. Back in the days I used to spend a lot of time trimming down the install, but I don’t bother with that anymore. As long as you have the space, I don’t see any reason to not go for the full install.

Package management

Pkgtool is a menu-driven package maintenance tool provided with the Slackware Linux distribution. It allows the user to install, remove, or view software packages through an interactive system. Pkgtool can also be used to re-run the menu-driven scripts normally executed at the end of a Slackware installation.
Source: man pkgtool

Slackware 14.0 - Slackpkg

Keeping Slackware current with slackpkg

Slackpkg is a tool for those who want to easily install or upgrade packages via the network. With slackpkg, you can have a minimal installation of Slackware Linux and install/upgrade only those packages you need the most.
Source: man slackpkg

Usage

Let Slackware power your desktop, workstation or server, it all depends on your needs. The reason I prefer Slackware both at work and home is because of it’s simplicity and stability, it does what it’s supposed to and stays out of your way. Basically, if you want an operating system that doesn’t need a lot of maintenance and doesn’t try to hold your hand, then you have found your match.

When it comes to hardware support for my four year old Dell Studio 1735, I’m happy to report that everything works as expected. Hardly a surprise on such an old system, but newer laptops will also enjoy better hardware support with the new 3.2 kernel series. Suspend and hibernate are important functions on a laptop, and both worked flawlessly with Slackware 14.0. Make sure that you have configured lilo to resume from swap though, this is Slackware after all.

Multimedia

Slackware14.0 Google Chrome

Adobe: Get Chrome or forget Flash

Slackware supports most media formats out of the box with few exceptions.
However, if you want to enjoy your dvd collection you will have to install some additional codecs.

When it comes to Adobe Flash, your best option is to install Google Chrome from the official extra repository, which has the Adobe Flash Player integrated.

 

Look and feel

There is no theming or other distro specific customization with Slackware Linux. Everything is as close to the vanilla sources as possible.

That goes with regard to both configuration and design. As for wobbly windows, rippling water or the mandatory desktop cube screenshot, well I’m sorry to disappoint but I never really found much use for all those compositing effects.

Slackware comes with a rich selection of Window Managers as shown below:

Slackware 14.0 KDE 4.8.5

KDE 4.8.5

Slackware 14.0 Xfce 4.10

Xfce 4.10

Slackware 14.0 Fluxbox 1.3.2

Fluxbox 1.3.2

 

Slackware 14.0 - Blackbox

Blackbox

Slackware 14.0 WindowMaker

WindowMaker

Slackware 14.0 - Fvwm2

Fvwm2

 

Slackware 14.0 - Twm

Tab Window Maker


The Pros:

Stability:

With each release Slackware tries to stick with stable versions of all included software. This means that apart from bug and security fixes, you won’t get the latest version of any software without compiling and installing it yourself. Slackware also sticks to vanilla packages so you wont have distro packagers modifying the sources for unknown reasons.

KISS (Keep it simple stupid):

Slackware lets you as the system administrator mold the system the way you want it. Configuring the system by editing simple configuration files gives you a lot of control compared to multifunctional graphical tools that make systemwide changes. Anyone who spend hours a day in front of a computer will appreciate a system that doesn’t fight your every move. The lack of automatic dependency resolution also makes the system more manageable, let me put it this way: so called dependency hell is reserved for package managers with dependency resolution.

UNIX-like:

While some commercial distributors of Linux based operating system seems to suffer from delusions of Grandeur, Slackware still cares about standards and portability. Even though fighting upstream battle, Slackware Linux 14.0 is still a release in typical Slackware fashion.

If it ain’t broke don’t fix it:

Each new Slackware release adheres to the established Slackware philosophy as far as possible. This make the system recognizable for returning users, and keeps the current userbase satisfied, as most prefer Slackware just the way it is.

“Those who don’t understand Unix are condemned to reinvent it, poorly.” – Henry Spencer

The oldest active Linux distribution:

19 years with Mr. Volkerding at the helm speaks of rare knowledge and dedication. Reinforced with a like minded and skilled development crew, I’m positive Slackware will still be a voice of reason in the fast changing Linux world for years to come.

The cons:

Development model:

Slackware has a closed development model which cuts the public off from any interesting technical debates.

Public relations:

When the usual suspects are spreading fud and the forums are buzzing with rumors, why not clench it with an official statement. It just seemed like taking a big hit for no good reason.

Documentation:

Previously scattered, hard to find, and in some cases a bit outdated.
Things are looking up though, the new revised Slackbook is on the move again after failing to hit the shelves before Duke Nukem Forever.
Slackers may also enjoy a fast evolving Slackware wiki inspired by the unparalleled ArchWiki.

Ending notes

Whether or not Slackware Linux should be powering your computer in the years to come depends entirely on your own preferences. With Slackware, the investment in time and effort required to learn and configure the system, is repaid by having a system with high reliability and low maintenance.

While the enterprise Linux vendors are pushing systemd, Wayland, and lately even integrated ads on your desktop (for your own convenience surely), I’m happy to choose a product provided by a team that care more about the product itself than the revenue forecast.

Slackware Links:

Slackware Linux
Support Slackware
The Slackware Documentation Project
The Revised Slackware Book Project
The Slackware community

Updating Java on Slackware 13.37 x86_64

/* Update September 2012 (pre-Slackware 14.0 only)
Check the comments on how to adapt the slackbuild to Oracle’s Java 7 */

FireFox with potentially vulnerable pluginsSo your Firefox plugin checker complains about an outdated Java plugin, and you are looking to place the blame.
Well, look no further than to the mirror to find the person to blame… yes it’s your system and it’s your responsibility to maintain it.

So what exactly is a new Slackware user supposed to do you might ask, but not for long.
If you’re unacquainted with Slackware and maintaing packages, then here is the (really) short version.

Patrick Volkerding, the founder and maintainer of the Slackware Linux distribution uses SlackBuild scripts to compile the official packages. SlackBuild scripts themselves are executable shell scripts that you run as root to configure, compile, and create Slackware packages. Using this approach, your system allows you to keep track of all packages installed.

The following example is for the 64-bit x86_64 release, for a 32-bit x86 system you will have to get the equivalent 32-bit source and java binary.

With all official packages, you have the SlackBuild scripts available with the source bundle.
Lets download the source including the SlackBuild script for Java (jre) from a Slackware mirror.

This will create a new folder named jre in your current working directory.

Next, download the latest version of Java from http://java.com/en/download/manual.jsp and place it in your new jre folder.
Make sure to select the binary file and not the RPM.
For Java 6.27 (current as of writing) that equals jre-6u27-linux-x64.bin

Enter the jre folder and edit the file jre.SlackBuild modifying the lines listing the Java version from:

to:

Save the file and switch to the root user (su -).
Now, from within the jre folder, make the jre.SlackBuild executable with the command:

Then execute the script with:

Afterward, move the finished package to your jre folder for safe keeping.

Finally, from within the jre folder (or wherever you moved the finished package) upgrade the jre package with with the command:

Your system should then report back with the message:

After a restart, Firefox should now be pleased with your current Java plugin.
Firefox plugincheck up to date