What is Ubuntu? - Linux Nitty Gritty: Working at the Ubuntu Command-Line Prompt (2011)

Linux Nitty Gritty: Working at the Ubuntu Command-Line Prompt (2011)

What is Ubuntu?

Ubuntu is a version of the Linux operating system. An operating system is the software that “runs your computer”. Microsoft Windows is the world’s most popular operating system, at least for desktop computers, but Linux is a completely separate endeavor.

GNU

The ball started rolling back in the 1980s, when a hugely talented computer scientist called Richard Stallman decided to create a clone of a venerable operating system called Unix. At the time, Unix ran many of the world’s industrial and academic computer systems.

Stallman did this because Unix was becoming increasingly proprietary—it was no longer permitted to share its source code (the listings created by programmers), as had happened since the inception of Unix in 1969.

This was anathema to Stallman, who believed sharing software was natural and healthy. He decided his version of Unix would always be freely available, and invented the legal and ethical concept of Free Software to ensure this happened. Put simply, Free Software says users should always have the freedom to share software, without restrictions. On a technical level, Free Software guarantees the right to view and also modify source code, or even use it as a basis to make a new program. However, any additions or changes must be released as Free Software too, so others can continue to benefit.

NOTE The Free Software ideal is enshrined in a software license applied to all Free Software projects. It’s called the GNU Public License, or GPL. This is like Microsoft’s End User License Agreement that comes with Windows (and you see whenever you install Windows from scratch), except whereas the Microsoft EULA prohibits sharing Windows under any circumstances, the GPL says exactly the opposite—that you can always share the software!

Stallman called his version of Unix “GNU” (pronounced G-noo). This is a recursive acronym, standing for GNU’s Not Unix. In other words, the acronym refers to itself—a joke of a type favored by programmers.

The Linux kernel

GNU grew into a major project with many contributors. However, good as it was, it lacked a kernel. A kernel is the program at the heart of any operating system that takes care of fundamental stuff, like letting hardware communicate with software.

Almost by accident, a chap called Linus Torvalds provided a solution. In 1991 he started a personal project to create a kernel. Due to a naming error when his kernel was uploaded to the Internet, it got named after him and became known as Linux—a hybrid of “Linus” and “Unix”.

Crucially, Torvalds chose to release his kernel as Free Software, and invited any interested party to give him a hand. They did. Thousands of people around the world got involved. As the years went by, the project became more and more important, and grander in its design and outlook. Today, the Linux kernel receives sponsorship from many major corporations, including IBM.

NOTE Torvalds continues to oversee and contribute to the Linux kernel project to this day. He humorously describes his role as a “benign dictator”.

Because the kernel is such an important aspect of an operating system, people began to refer to the combination of GNU and Linux simply as Linux. This upset Stallman, who asked that the name GNU/Linux be used instead. But it was too late. The name stuck.

NOTE Whether to refer to the operating system as GNU/Linux or simply Linux is a debate that continues to this day.

Software from other sources is typically included in the Linux operating system too, alongside GNU and the Linux kernel. Virtually all the software in Linux is Free Software, even though much of it has no direct ties with GNU or Richard Stallman. Arguably, Stallman’s greatest gift to the world was not the GNU software, but the concept of Free Software. Much of Stallman’s activity nowadays involves evangelizing around the world about Free Software.

NOTE Often the term open source is used instead of Free Software. It has a similar meaning—see www.opensource.org.

Linux distros

There isn’t just one version of Linux. There are hundreds. Versions are known as distributions of Linux, or distros for short. Examples of other distros include Red Hat (www.redhat.com) and SUSE (www.suse.com), but there are many others, and new ones appear all the time.

This variety is possible because of the freedom allowed by Free Software—anybody can take the source code and make their own version.

Some distros are commercially sponsored, while others arose from the massive community of Linux users around the world. Ubuntu is a little of both: it is sponsored by Canonical, a company founded by the entrepreneur Mark Shuttleworth in 2004, but it also benefits from massive community support, and is based on Debian (www.debian.org), a community-generated distro.

What makes Ubuntu special

Three things make Ubuntu stand out from the crowd:

1. Its focus on desktop users;

2. The Ubuntu philosophy and community;

3. Ease of use.

Let’s take a closer look at each.

Focus on desktop users

Although it comes in versions for all kinds of computers, at its core Ubuntu is a distribution of Linux aimed primarily at desktop users.

Most Linux distros are equally at home on desktop or server computers (the powerful computers that run the Internet), but lack polish when it comes to the desktop experience. Indeed, in many cases the needs of desktop users are something of an afterthought.

In contrast, the desktop experience is something to which the Ubuntu developers pay very close attention.

When Ubuntu was created back in 2004, Mark Shuttleworth recorded the very first bug in the online database. However, it wasn’t about software. Instead, it was a revolutionary call to arms. It read as follows: “Microsoft has a majority market share in the new desktop PC marketplace. This is a bug, which Ubuntu is designed to fix”.

Philosophy and community

As you might have realized, Linux is as much a philosophy as it is an operating system. Ubuntu is no different.

African values

Ubuntu gets its title from the African concept of the same name that translates roughly as “humanity to others”. The term gained popularity in post-apartheid South Africa, where it stressed the importance of individuals recognizing their role within communities, and being generous of spirit because of this.

When Mark Shuttleworth founded the Ubuntu Linux project in 2004, he drew-up a philosophical statement, based on this concept, and on the principles of Free Software.

In a nutshell, the Ubuntu project is driven by the idea that software should be inclusive. It should be possible for anybody, anywhere to use, share, or modify Ubuntu. This means the software should be available in a particular user’s language too. If they have a disability, the software should be accessible to them.

Ubuntu is free of charge, like nearly all versions of Linux. Updates are also free-of-charge for a set period after release (usually 18 months).

NOTE You can read more about the Ubuntu philosophy at www.ubuntu.com/community/ubuntustory/philosophy, and read more about the Free Software Foundation’s principles at www.gnu.org/philosophy/free-sw.html.

What Ubuntu represents is freedom—freedom to use and share the software, to do what you want with it, and to learn.

The community

The Ubuntu community arose directly out of the Ubuntu philosophy. Put simply, people respect the principled stand Ubuntu takes. They also like the fact that Ubuntu focuses on the desktop experience.

There have been many versions of Linux that, like Ubuntu, were aimed specifically at desktop users. Virtually all failed. This was because they compromised on some component of Free Software principles. Maybe their version of Linux included a proprietary installation program that couldn’t be freely shared or modified. Sometimes they attempted to limit redistribution of their version of Linux.

Ubuntu doesn’t do any of this. Its reward is a truly massive community of users around the world—arguably the biggest user-base of any version of Linux. It’s certainly one of the friendliest Linux communities.

Shuttleworth takes a back seat and, apart from occasionally issuing edicts, the community runs the show. Decisions about new features are made democratically, and many of its users help develop Ubuntu (provided they have the skills, of course).

For a humble end-user of Ubuntu, the benefit of the Ubuntu community is found in the magnificent technical support offered at www.ubuntuforums.org, the community forums site where Ubuntu users hang-out and help each other.

NOTE It isn’t 100% accurate that Ubuntu doesn’t include proprietary software. A small amount of proprietary hardware firmware is provided to support wireless and graphics devices presently not fully supported by Free Software. This is seen a stopgap measure, however, until more acceptable alternatives become available.

Ease of use

Alongside strong principles and financial sponsorship, Shuttleworth brought something else to the Linux party: He wanted to make a “Linux for human beings”. Indeed, this is Ubuntu’s tag line.

How it used to be

To understand why this is important, let me recount an experience I had with Linux in 2002, before Ubuntu hit the scene. I wanted the wireless card in my notebook to connect to my network, but I couldn’t get it working under Linux. So, I asked for help on a popular forum. I received something similar to the following in reply:

Getting the card to work is simple! Just grab the source code for the module and compile it against the kernel. insmod it and then use iwconfig to configure a WEP password—”

Are you still reading? As you can tell, that’s a complex answer. It involves working at the command-line, and requires knowledge of how Linux works on a very technical level. I knew what the poster was talking about, although inwardly I sighed at the amount of work involved. However, a newcomer would be baffled.

That’s how it was back then. Linux was “for techies only“. It was considered an industrial-strength operating system, and brought with it a steep learning curve that drove many away.

How it is now

Ubuntu changed everything. It focuses on the desktop user experience and, to this end, features graphical configuration software. It includes a wide variety of hardware drivers so that nearly all standard hardware “just works”. Ubuntu comes with an installer program that doesn’t feature mind-boggling terminology, and updating the system takes just a few clicks of the mouse.

NOTE To be fair, it can be argued Ubuntu was part of a broader revolution in desktop Linux, and several other versions of Linux were heading in the same direction. Ubuntu was the first to get there, and continues to lead the charge with each new release.

While the command-line is still around, there’s no longer an obligatory requirement to use it. It’s often quicker and more efficient to use it, as you’ll find out later in this book, but you don’t have to. Ubuntu makes Linux truly accessible to all.

Don’t think Ubuntu is somehow “less Linux” than other versions. Scratch under the surface and you’ll find Ubuntu is based on Debian, a widely-respected community-generated version of Linux that many consider definitive. See www.debian.org.