Cooking with SliTaz – An Innovative (and TINY!) Linux OS

I just found a new toy. It’s a Linux distro running a complete desktop, Firefox browser, multimedia utilities, FTP/SSH/IM/torrent/email clients, and a custom package manager… in a 30MB ISO. That’s right, it’s even smaller than Damn Small Linux. It can be run from CD or USB, and once booted it runs entirely from RAM, so it’s VERY quick and you can remove the CD or USB device while the system is running. You can pop it out and free up that spot to read/play/burn something else. Combined with tools to generate your own customized live CD/USB remix, this makes for a very versatile little package. This is SliTaz, and so far it’s a lot of fun.

I’ll be using the testing branch for the info this article, which SliTaz calls cooking. The cooking and stable branches are both available for download from the SliTaz websites as ISOs.

Package Management

SliTaz uses its own homegrown package manager, Tazpkg, to handle software. It’s written in plain shell script but manages to cover just about everything you’d expect in a modern package tool, like online repositories and dependency handling. Some of the more useful Tazpkg commands are as follows:

Of the things that screenshot can tell you, there are two that I find surprising. One is that Tazpkg required a full “yes” or “no” on the question about replacing the symlink. I had previously just hit “y” and noticed afterward that it had gone to the default of “no”. The other surprising thing (to me at least) was that SliTaz didn’t already have bash. I guess when you’re squeezing things down to 30MB you’ve got to cut down even on the shell.

While there aren’t many packages in the SliTaz wok (package repository), it contains a few bonus scripts for adding in some of the more useful things like Flash, Skype, and Java that can sometimes be a pain on other systems. To see them all, enter the following at the command line:

…and you’ll see some packages such as get-flash-plugin and get-wifi-firmware.

Generating “Flavors”

As I mentioned in the opening paragraph, one of the more interesting features of SliTaz is that it’s set up to allow easy creation of remixes (or as SliTaz calls them, flavors). You’re provided with tools to create CD or USB images based on your desired config. You’ll find both the CD and USB tool in the System Tools folder off the main menu.

And remember, since SliTaz runs in RAM, you can remove the CD or USB device you booted from to create or test your new flavor.

Software Included

If you’re curious about exactly what makes up this 30MB wonder, here are some of the more notable packages:
version: cooking-20091104

  • Linux Kernel 2.6.30
  • X.org 7.4
  • OpenBox 3.4.7.2
  • Busybox 1.12
  • Shiretoko (stripped-down Firefox 3.5)
  • GParted 0.4.6
  • SQLite 3.6.16

Conclusion

With the fact that everything run in RAM and the low number of packages in the online wok, I doubt you’d want to install SliTaz as your main desktop OS, but I don’t think that’s what it’s for. I’ve used distros similar in design philosophy (such as Damn Small Linux) to do things like system recovery, partitioning and virus scanning, and that’s just the place SliTaz would shine as well. Grabbing some additional packages and rolling a new USB flavor could easily add some power to any tech toolkit.

Joshua Price

Josh Price is a senior MakeTechEasier writer and owner of Rain Dog Software

8 comments

  1. Thanks for the descripytion, sounds very exciting. I have usually stuck to Puppy for my mini-distro as it seems to have perstence sown up quite well, even from a live-CD or even better a CD-R. How does Slitaz handle persistence?

    1. Short answer: it doesn’t. With its small size I’d imagine you could leave space on a thumbdrive for a FAT or other partition to keep persistent data, but I haven’t seen anything that would suggest SliTaz accounts for persistence out-of-the-box.

      Lili USB Creator might be of help here.
      http://maketecheasier.com/how-to-create-your-own-usb-linux-distro-with-lili/2009/09/29

  2. SliTaz is an excellent distro. Our local Linux users group is an official mirror site. Thank you for the info!

    1. Heh yeah I remember looking at the windows directory for win 3.1 and thinking “Windows takes up a whopping 26MB?!?! Wow!”

  3. Anything to get more usable touch screen space in a phone sized package is good. You could do a LOT with a second screen – more screen space for a keyboard, customizable game controls, street view on one screen with map on the other for navigation. I wish this were out now!

  4. Great fun with this. The impact on speed means that Slitaz outperforms all other OS in the very important task of watching video on a rubbish broadband.
    I get flash OK on firefox but not on the supplied Midori browser but you have to install manually and then create your “flavour”! . Best of both worlds- keep a personalised Slitaz CD in the drive and a more fully featured OS on the hard disk. Funny, I spend more time tinkering around on Slitaz!!

  5. ¬†Various methods of making a SliTaz ‘Frugal Install’ : http://doc.slitaz.org/en:guides:frugal
    ….and:
    More installation methods than seems reasonable : http://doc.slitaz.org/en:guides:uncommoninst
    (title: “Unusual Install Methods”)¬† ;)

    Extremely versatile distro with an ever-improving capablility in the charmingly-named ‘Cooking’ release, and more than adequate stability in 3.0 for inexperienced users, once the installation is configured for them.

Comments are closed.