How To Write Object-Oriented Shell scripts For Multiple Platforms

Posted on in Categories Howto, Linux, programming, Shell scripting, Sys admin, UNIX last updated March 20, 2009

This may come handy while writing cross-platform scripts.

If you don’t want to commit to the idiosyncrasies of a specific shell running on a particular platform, try the Squirrel Shell. The Squirrel Shell provides an advanced, object-oriented scripting language that works equally well on UNIX, Linux, Mac OS X, and Windows systems. Write a script once, and run it anywhere.

Squirrel is a high level imperative/OO programming language, designed to be a light-weight scripting language that fits in the size, memory bandwidth, and real-time requirements of applications like video games.

=> Speaking UNIX: The Squirrel portable shell and scripting language

Create Encrypted System Partition Under Linux / Windows / Mac OS X

Posted on in Categories Download of the day, File system, Howto, Linux, Linux desktop, OS X, Windows last updated March 14, 2008

TrueCrypt is a software application used for on-the-fly encryption (OTFE). It is free and open source software. TrueCrypt is available for Microsoft Windows, Mac OS X, and Linux. This software can protect date. It encrypts data stored on a computer’s disk and transparently decrypts the information when a user requests it. No special action by the user is required. From the article:

Last month the TrueCrypt Foundation released TrueCrypt 5.0, which finally introduces a Linux GUI for the cross-platform encryption application. TrueCrypt 5.0’s numerous other enhancements include a Mac OS X port, XTS operation mode, the ability to encrypt a system partition or drive under Windows, and the addition of the SHA-512 hash algorithm

=> Encrypt volumes through a cross-platform GUI with TrueCrypt 5.0

Download of the day: KDE 4 Desktop

Posted on in Categories Download of the day, Kde, Linux, Linux desktop, UNIX last updated January 11, 2008

KDE4 has been released and available for download. KDE is a powerful graphical desktop environment for Unix and Linux workstations. It is based on the version 4 series of Qt (a cross-platform GUI application development framework).

From the announcement page:

The KDE Community is thrilled to announce the immediate availability of KDE 4.0. This significant release marks both the end of the long and intensive development cycle leading up to KDE 4.0 and the beginning of the KDE 4 era. It will contain a new multimedia API, called Phonon, a device integration framework called Solid and a new style guide and default icon set called Oxygen. It will also include the new desktop and panel user interface tool, called Plasma, which will have support for desktop widgets, similar to SuperKaramba or Apple’s Dashboard widgets.

KDE 4 Desktop
(Fig. 01: The KDE v.4.0 Desktop)

The KDE 4.0 Visual Guide provides a quick overview of various new and improved KDE 4.0 technologies. Illustrated with many screenshots, it walks you through the different parts of KDE 4.0 and shows some of the exciting new technologies and improvements for the user.

Download KDE 4

=> Visit offical mirror to grab cutting edge KDE v4.0

Download of the day: RPM Software Package Manager Version 5.0

Posted on in Categories Download of the day, Linux, UNIX last updated January 7, 2008

RPM 5.0.0 has been released.

RPM Package Manager is a software package manager for UNIX and Linux distribution. It is a powerful and command-line package management system capable of installing, uninstalling, verifying, querying, and updating Unix binary / source software packages. RPM was originally written in 1997 by Erik Troan and Marc Ewing for use in the Red Hat Linux distribution. These you can use RPM under many Linux distribution and various UNIX variant such as AIX / OpenSolaris etc. From the press release:

After seven months of comprehensive development, the popular Unix software packaging tool RPM Package Manager (RPM) was released as stable version 5.0.0. The relaunch of the RPM project in spring 2007 and today’s following availability of RPM 5 marks a major milestone for the previously rather Linux-centric RPM. RPM now finally evolved into a fully cross-platform and reusable software packaging tool.

What is new in RPM 5.0.0?

The Automake/Autoconf/Libtool-based build environment of RPM was completely revamped from scratch and as one major result mostly all third-party libraries now can be linked externally and in a very flexible way.

Support for the ancient and obsolete “rpmrc” files was completely removed, as everything is now configured through RPM “macros” under run-time only.

The RPM code base was ported to all major platforms, including the BSD, Linux, Solaris and Mac OS X Unix flavors and Windows/Cygwin.

The RPM packages, in addition to the default Gzip and optional Bzip2 compression, now support also LZMA compression.

Finally, support for the old RPMv3 (LSB) package format was removed to cleanup and simplify the code base. RPM 5, with respect to RPM format packages, now supports RPMv4 format only.

Additional features for use in package specifications (.spec files) were added, including new standard and even custom tags, new standard sections, etc. Most notably, RPM is now able to automatically track vendor distribution files with its new vcheck(1) based “%track” section and now can automatically download the vendor distribution files, too.

Download RPM v5.0

RPM 5.0 Project home page

So Who maintains RPM?

LWN has an interesting write up about RPM:

Once upon a time, RPM was the “Red Hat Package Manager.” In a bid to establish RPM as a wider standard – and, perhaps, to get some development help – Red Hat tried to turn RPM into a community project – rebranding it as the “RPM Package Manager” in the process. But core RPM development remained at Red Hat, under the care of an employee named Jeff Johnson. That, it would seem, is where the trouble starts.