Source Mage

Last updated

Source Mage
Smgl logo.png
Developer Source Mage community
OS family Linux (Unix-like)
Working stateActive
Source model Open source
Latest release 0.62-11 [1] / 22 September 2017;6 years ago (22 September 2017)
Kernel type Monolithic Linux kernel
License Source Mage Social Contract qualified software
Official website www.sourcemage.org

Source Mage is a source-based Linux distribution descended from Sorcerer. Components of this operating system are downloaded as source code and compiled locally on the user's computer.

Contents

Notable features

Source Mage is, as its name suggests, a source-based Linux distribution. Instead of delivering binaries to users, the source code is compiled. [2] This method allows greater control over the software than precompiled distributions, such as Ubuntu. Individual dependencies can be selected or deselected, saving valuable hard drive space and freeing RAM and CPU cycles. For instance, OpenSSH can be compiled without support for X11 sharing. One can choose to set cflags, cxxflags, and ldflags specific to their situation. Using a source-based distribution is one way to unlock the full performance of a computer, as many binary distros compile their software for a wide audience, not a particular group, such as users of a specific processor. When a Source Mage spell is "cast", the latest stable release is downloaded from the developer's site rather than Source Mage's. This allows for the most up-to-date system, unlike Gentoo, another popular source-based distribution, which maintains its own customized cache of packages. [3] SMGL changes as little as possible in packages (only to fit to bare standards such as the Filesystem Hierarchy Standard), so it is more immune from the kind of errors resulting from distribution developers tampering, while in turn lacking the potentially necessary patches that projects like Gentoo and Debian apply.

History

In 2001, Kyle Sallee released a Linux distribution named Sorcerer GNU/Linux. Due to several issues, in 2002, Chuck S. Mead forked Sorcerer into Lunar Linux. Soon afterwards, Kyle Sallee took Sorcerer GNU/Linux offline. The remaining Sorcerer GNU/Linux development team brought it back online and continued development. A month later, Kyle Sallee brought his version of Sorcerer back online with a new license that prevented forking, dropping GNU/Linux from the name. Consequently, at the request of Sallee, the Sorcerer GNU/Linux team renamed their project Source Mage. [4] [5]

Compiling

Source Mage's tagline is "Linux so advanced, it may as well be magic" (a reference to Clarke's third law), [6] and its commands have a "sorcerous theme". Each package is called a "spell", and its package management program is called "sorcery". [6] To install a package the user must "cast" that spell. Casting a spell consists of downloading the source code (if it is not already downloaded), checking for dependencies, casting them if necessary, compiling the program, and installing it. A set of available spells is called a "grimoire". To uninstall a package the user must "dispel" the spell.

Social contract

Source Mage has established a distribution commitment. Source Mage Social Contract establishes its basic rules, which are similar though not identical to Debian's. The first part of the contract ensures the freedom of Source Mage:

We promise to keep the Source Mage GNU/Linux Distribution entirely free (as in freedom). This means that all software we release will be licensed under the GNU General Public License as defined by the Free Software Foundation (fsf.org). All of our documentation will be released under the GNU Free Documentation License. [7]

Source Mage does not restrict the user's choice of software to only free software:

We acknowledge that some of our users require the use of programs that don't conform to the strict SMGL Licensing Guidelines. While SMGL will never rely on non-free software, we do not limit a user's choice of software. We will provide the tools for a user to make their own informed decisions, via each spell's "LICENSE" field, and the sorcery spell filter. Thus, although non-free software isn't a part of Source Mage, we support its use, and we provide infrastructure (such as our bug-tracking system and mailing lists, as well as spells) for non-free software packages. [7]

Installation

Installing Source Mage involves first creating a minimal installation with a kernel (so it can run), the GCC C compiler, a network connection, and a few other basic tools to support downloading and compiling source code. [8] This enables the system to download, compile, and install all the other components, and the compilation results can be tailored for that specific system.

Portability

All Source Mage-maintained code is designed to presume a minimal system, and the base system doesn't explicitly require a C++ compiler (Only GCC 4.x+ does, but can be replaced).

Besides POSIX-compliant tools, core components require only bash, [6] sed and either gawk or mawk, instead of more heavyweight languages like Perl or Python. This makes Source Mage suitable for a small installation.

Related Research Articles

<span class="mw-page-title-main">Debian</span> Linux distribution based on free and open-source software

Debian, also known as Debian GNU/Linux, is a Linux distribution composed of free and open-source software and optionally non-free firmware or software developed by the community-supported Debian Project, which was established by Ian Murdock on August 16, 1993. The first version of Debian (0.01) was released on September 15, 1993, and its first stable version (1.1) was released on June 17, 1996. The Debian Stable branch is the most popular edition for personal computers and servers. Debian is also the basis for many other distributions that have different purposes, like Proxmox for servers, Ubuntu or Linux Mint for desktops, Kali for penetration testing, and Pardus and Astra for government use.

<span class="mw-page-title-main">GNU</span> Free software collection

GNU is an extensive collection of free software, which can be used as an operating system or can be used in parts with other operating systems. The use of the completed GNU tools led to the family of operating systems popularly known as Linux. Most of GNU is licensed under the GNU Project's own General Public License (GPL).

<span class="mw-page-title-main">Linux distribution</span> Operating system based on the Linux kernel

A Linux distribution is an operating system made from a software collection that includes the Linux kernel and often a package management system. Linux users usually obtain their operating system by downloading one of the Linux distributions, which are available for a wide variety of systems ranging from embedded devices and personal computers to powerful supercomputers.

Sorcerer was a source-based Linux distribution. The distribution downloads and compiles source code to install and update installed software.

Linux From Scratch (LFS) is a type of a Linux installation and the name of a book written by Gerard Beekmans, and as of May 2021, mainly maintained by Bruce Dubbs. The book gives readers instructions on how to build a Linux system from source. The book is available freely from the Linux From Scratch site.

<span class="mw-page-title-main">GoboLinux</span> Linux distribution

GoboLinux is a Linux distribution whose most prominent feature is a reorganization of the traditional Linux file system. Rather than following the Filesystem Hierarchy Standard like most Unix-like systems, each program in a GoboLinux system has its own subdirectory tree, where all of its files may be found. Thus, a program "Foo" has all of its specific files and libraries in /Programs/Foo, under the corresponding version of this program at hand. For example, the commonly known GCC compiler suite version 8.1.0, would reside under the directory /Programs/GCC/8.1.0.

<span class="mw-page-title-main">GNU Project</span> Free software project

The GNU Project is a free software, mass collaboration project announced by Richard Stallman on September 27, 1983. Its goal is to give computer users freedom and control in their use of their computers and computing devices by collaboratively developing and publishing software that gives everyone the rights to freely run the software, copy and distribute it, study it, and modify it. GNU software grants these rights in its license.

<span class="mw-page-title-main">Portage (software)</span> Gentoo package management system

Portage is a package management system originally created for and used by Gentoo Linux and also by ChromeOS, Calculate, Sabayon, and Funtoo Linux among others. Portage is based on the concept of ports collections. Gentoo is sometimes referred to as a meta-distribution due to the extreme flexibility of Portage, which makes it operating-system-independent. The Gentoo/Alt project was concerned with using Portage to manage other operating systems, such as BSDs, macOS and Solaris. The most notable of these implementations is the Gentoo/FreeBSD project.

Technical variations of Linux distributions include support for different hardware devices and systems or software package configurations. Organizational differences may be motivated by historical reasons. Other criteria include security, including how quickly security upgrades are available; ease of package management; and number of packages available.

BioLinux is a term used in a variety of projects involved in making access to bioinformatics software on a Linux platform easier using one or more of the following methods:

<span class="mw-page-title-main">Linux</span> Family of Unix-like operating systems

Linux is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution (distro), which includes the kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses and recommends the name "GNU/Linux" to emphasize the use and importance of GNU software in many distributions, causing some controversy.

gNewSense Linux distribution

gNewSense was a Linux distribution, active from 2006 to 2016. It was based on Debian, and developed with sponsorship from the Free Software Foundation. Its goal was user-friendliness, but with all proprietary and non-free software removed. The Free Software Foundation considered gNewSense to be composed entirely of free software.

GNU variants are operating systems based upon the GNU operating system. According to the GNU project and others, these also include most operating systems using the Linux kernel and a few others using BSD-based kernels.

<span class="mw-page-title-main">WeeChat</span> IRC client

WeeChat is a free and open-source Internet Relay Chat client that is designed to be light and fast. It is released under the terms of the GNU GPL-3.0-or-later and has been developed since 2003.

<span class="mw-page-title-main">Linux-libre</span> Version of the Linux kernel without proprietary code

According to the Free Software Foundation Latin America, Linux-libre is a modified version of the Linux kernel that contains no binary blobs, obfuscated code, or code released under proprietary licenses. In the Linux kernel, they are mostly used for proprietary firmware images. While generally redistributable, binary blobs do not give the user the freedom to audit, modify, or, consequently, redistribute their modified versions. The GNU Project keeps Linux-libre in synchronization with the mainline Linux kernel.

<span class="mw-page-title-main">Linspire</span> Linux distribution

Linspire is a commercial operating system based on Debian and Ubuntu and currently owned by PC/OpenSystems LLC. It had been owned by Linspire. Inc. from 2001 to 2008, and then by Xandros from 2008 to 2017.

<span class="mw-page-title-main">Devuan</span> Linux distribution based on Debian

Devuan is a fork of the Debian Linux distribution that uses sysvinit, runit or OpenRC instead of systemd. Devuan aims to avoid "lock-in" by projects like systemd and aims to maintain compatibility with other init systems to avoid detaching Linux from other Unix systems.

References

  1. "Stable-0.62-11 released".
  2. New to Source Mage - official website
  3. Comparison with Gentoo - official website
  4. History - official website
  5. lwn.net/Articles/145233/
  6. 1 2 3 official website
  7. 1 2 Social Contract - official website
  8. Install Source Mage - official website