Living free with Linux: Round 2
Linux installation issues bedeviled Preston's first foray into the OS. After getting lots of advice on how to solve his problems, he reports on the results.
Computerworld - Last month, in "Living free with Linux: 2 weeks without Windows," I wrote about what life was like for a longtime Windows user trying to live with Linux. One of the main drawbacks: The difficulties I encountered when installing or updating software.
Loads of people responded with advice for newbies and Windows refugees on installing and updating software in Linux. I've learned a lot from them, as well as from my colleague Steven Vaughn-Nichols' blog, "Installing Linux software 101 for Windows users."
So here's what newbies need to know before installing and updating software in Linux.
One note before I begin: This article describes how to install and update software in Ubuntu 8.04. Although the advice generally applies to Linux, there may be variations for other Linux versions.
Understanding the Linux world
Because Windows has a near monopoly on desktop operating systems, Windows users tend to think that the world revolves around them and that all operating systems operate alike. In fact, that's not the case. When it comes to installing and updating software, Linux uses a very different set of paradigms than Windows does, and if you're a longtime Windows user, as I am, you'll need to understand them before you can properly update and install software.
First, there is no single version of Linux, controlled by a single company, in the same way that there is a single version of Windows, controlled by Microsoft. Instead, there are multiple versions of Linux, called distributions, or distros for short. Ubuntu, Red Hat, Gentoo and Fedora are all examples of Linux distros.
Why is this important? Because when you install software, you need to install a version specifically written to work with your Linux distribution.
However, that may be easier than it sounds. In Linux, the way you install and update software is intimately tied to the operating system itself. As a result, in most cases, you'll be able to install software without even knowing your distribution (although it certainly helps if you run into problems). For example, it helped me to know that the file extension for Ubuntu software is .deb.
Next, you need to understand how software is distributed and installed in Linux, which is different from the way it is distributed in Windows.
In Windows, you typically install software by downloading and running a self-contained installer file. In Linux, software necessary for installation or update is stored in an online repository, which your version of Linux then contacts to perform the installation or update.
In the past, users had to muck around with command lines to install Linux software, and it's perfectly possible to do that -- if you're a glutton for punishment. And in some instances, the command line may be the only way to install the software. But in the vast majority of cases, software built directly into Linux handles all the packaging and installation details.
Now, all the files and information required to install the software are contained in a "package." A package manager, which comes with the operating system, maintains a relationship with the online file repositories and does all the work of finding and/or updating software so that you don't have to go out and find software or updates yourself.
With that as a brief background, we're ready to take a look at how to find and install new software.
- QA Automation: Reducing Test Execution While Improving Coverage A leading capital investment firm in the US was in need of a comprehensive, cost effective and flexible solution to reduce their existing...
- Tablet, Laptop, or Desktop - Form (Factor) Follows Function Desktops, laptops, Ultrabooks, tablets, convertibles, and all-in-ones; suddenly hardware decisions seem a lot more complicated. To take advantage of these benefits, the savviest...
- The IT handbook for Windows 7 and Windows 8 migrations A comprehensive guide for IT departments making the switch from legacy versions of Microsoft Windows to Windows 7 and Windows 8. To date,...
- 7 Reasons Why Windows 8 is the Future Touch, cloud, BYOD and IT consumerization dominate the mindshare of IT managers. Windows 8 enters the scene with a host of features that...
- Cloud BI in Action: Recorded Webinar of Customer, Kony, Inc. See how Kony, Inc., a leading enterprise mobility company, is using TIBCO Jaspersoft for Amazon Web Services and Redshift to achieve embedded analytics...
- Cloud BI Overview: Jaspersoft for AWS Check out this overview of Jaspersoft for AWS, to easily and affordably build business intelligence solutions as well as embed visualizations and analytics... All Operating Systems White Papers | Webcasts