Industry


Ads by TechWords

See your link here


Installing Linux software 101 for Windows users

Lately, I've seen several articles by Windows users grumbling about how hard it is to install software on Linux. It is? You could have fooled me.

Still, people are having trouble, so here's my 101 class on installing programs on Linux.

First, chances are good you won't need to install any software on a Linux desktop. Almost all Linux distributions already come with an office suite, usually OpenOffice; a Web browser, Firefox; a universal IM client, Pidgin; and so on. Don't like the main choices? Most Linux distributions also come with alternative picks. For example, there's Gnome Office; the Epiphany Web browser and the Kopete IM client. You get the idea.

If you're looking for a specific replacement for a Windows program you love, you have two choices. You can see if it's supported on Linux by Wine, or its commercial big-brother, CrossOver Linux. If it is, you can just install and run it on Linux. I do this all the time with Internet Explorer, for sites that are still crippled by IE-only requirements, and it works great.

There are also several sites that list Linux equivalents to Windows programs. These include the Linux Questions Wiki, for general replacements; the Linux Alternative Project; for specific Linux applications to replace specific Windows programs and the Ubuntu Software Equivalents for Ubuntu Linux.

Once you've found a program you want, you should use the software package management program that comes with your Linux distribution. Unless you're using beta or obscure software, you should never need to compile a program or pry its code out of a compressed tar.gz file. This is 2008, not 1998. The days when you had to build software from bits and pieces is history for mainstream Linux users.

A package manager is the software that modern Linux distributions use to install and update software. In Windows, you run an install program from a Web site or a CD/DVD. The problem with this is that you have to trust that the installation program is what it says that it is. Sometimes, it's not. With Linux and package managers, the program has already been tested and approved by the Linux distributor before you can get to it.

In the case of Ubuntu, the default package management program is Synaptic. By default, package management programs are set to use the official and most popular software repositories. A repository is an online library of a Linux distributions' approved software.

Most Windows users have already seen downloadable software sites like TuCows and Download that resemble Linux's package managers. The difference is that package managers are integrated into Linux, while download library Web sites are stand alone operations.

You can also add repositories to your package management programs to give you more choices. For Ubuntu, you do this from the menu with: System > Administration > Software Sources. With Ubuntu, most of the most trustworthy sites are already available to you as choices.

If you want to add a repository that's not available, you can do it by going to the third-party software tab and clicking on Add. Once there, you enter the "APT line" for your new repository. This typically looks like:

deb http://ftp.debian.org etch main

and you'll find this information on the repository's Web site. This breaks down as: the type of packages; its URL (uniform resource locater) address); and descriptive words. In the one above, it describes a repository with Debian-style software packages, at a Debian Web site for the main Debian Etch Linux distribution. Since Ubuntu is a direct descendant of Debian, it can use Debian repositories. Chances are you won't need to add sites. Almost all the software you'll need will be available in the default repositories.

Then, to install, or update, your software, simply enter its name using the search function. The program you'll want 99 outs of a 100 will be the main program rather than any add-on to it. Don't worry about whether you need some other program to make the one you're after work. Ubuntu will automatically download and install any other software you need to make your program work.

You will find, from time to time, that Ubuntu, or any Linux distribution, doesn't have the latest version of any particular program. Remember what I said earlier about the Linux distributor working to make sure that the program will work properly and safely with your desktop? That's why there is a delay. They want to make darn sure that, for example, that the new version won't break other programs.

When the updated program is available, the Linux distribution will let you know. Then, you just tell it to download and install it. Unlike Windows, which often requires you to restart your computer, Linux lets you keep working both during and after updates without a break.

Ubuntu does tend to be slower at updating software than other Linux distributors. In my experience, Fedora tends to be the fastest, followed by openSUSE, and then the Debian/Ubuntu software family.

That said, since Linux is safer by design than Windows will ever be, I don't see that as a major problem.

I also think that, once you get used to how Linux installs software, you'll find it ever bit as easy as installing programs in Windows, not to mention a great deal more secure. Advantage: Linux.

What People Are Saying

linux needs a dictatorship

The real problem is the absolute lack of standardization in linux: you have .deb .rpm and I don't know how many ways to install a program, this way the people on charge for a distribution have to tie the user to an specific repository where he or she can only find "approved" software. I question: how can it be FREE software, if it is subject to such censorship, if you cannot copy the installer to another computer by yourself, etc.? Standardization is the only solution, that's why I think Linus Torvalds should start a some kind of dictatorship to force linux developers to a single format for distribution, and linux distros to a single desktop as he does with the kernel. This is the only salvation.

You already can do that. You

You already can do that. You just have to know how. That's how computers works, you do whatever you want to do OR you pay to someone who know to make it easier. You can't have your cake AND eat it too. Unless you wanna learn to do things yourself.
I did.

Linux is not Windows

Yes, installing and using apps on GNU/Linux is easy. The biggest hurdle a user has to overcome is thinking that GNU/Linux is just another Windows. We don't expect Macs to be Windows and shouldn't expect Ubuntu / Fedora / Suse etc. to be Windows. Once an individual understands that, they can begin to enjoy learning a new way of performing a familiar task, such as using Synaptic (or Add/Remove Applications), RPM, or Yum in GNU/Linux instead of Add / Remove Programs in the Microsoft Control Panel.

Synaptic is NOT the default package manager for Ubuntu

In the case of Ubuntu, the default package management program is Synaptic.

No its not, the default one is the one you get when you click on "Applications->Add/Remove", that one gives you user friendly application names.
Synaptic shows you nitty-gritty cryptic package names and is meant as an advanced tool for system administrators, that is why it is "hidden" in the "Administration" menu and required a password just to start up.

To me, ease of install is secondary.

What happens after the install is more important. But if installation is your most important concern, repositories are great, and even better is "Click N Run" at http://www.cnr.com/. If you really want to push easy install, push CNR.

But here's the difference between user experience.

Windows user:
0 Buy computer. Windows thoughtfully already installed by the manufacturer. Nothing easier.
1 More software available than you can shake a stick at. Does almost anything. Can be purchased at many retail outlets.
2 Software easy to install. Especially viruses, trojans, and other malware. It installs itself. You usually don't need to do a thing.
3 Once software is installed, it slows your computer down, whether you are using said software or not, a "benefit" of the Windows registry.
4 After software is installed, user must fight to keep it working. And when it quits working, user can Un-install and Re-install it to try to fix it. Or, user can try using a Windows restore point. If that doesn't fix it, User can Re-install Windows from scratch and start over again. Or, if user was smart and bought disk imaging software, and made an image from when everything was working, simply restore that image. I recommend Acronis.
5 After Windows has been properly recovered, and user realizes he has lost lots of his data because he neglected to back up regularly, he can proceed to schedule regular backups.

Linux User:
0 Install Linux. These days, most distributions are easier to install than Windows. Yet, still harder than Windows, because Windows was already installed.
1 More software than you can shake a stick at. Mostly easily installed from repositories. Lacks mindshare, because it's not on retailers' shelves. So people don't know what's available. Even more software available that's not so easy to install, but strangely not so hard to find, since it shows up on a simple web search. Oh, sorry. Those viruses, trojans, and other malware you were so fond of, well they're not available for Linux. You'll have to do without.
2 User spends extra time figuring out the differences in installing software on Linux, possibly spending hours doing web searches for answers to get it all working exactly like he wants it.
3 Once software is installed, user can concentrate on doing real work, and forget about maintenance. The software does not break in the course of your normal every day use. Also, the more software the merrier. Simply installing software doesn't slow your machine down. Only software that is actually running uses resources.

Mac user:
0 Buy a Mac. OS X thoughtfully already installed by the manufacturer. Nothing easier.
1 Not quite so much software available, but easy to find, because it's on the shelf at the Mac store. Some is on the shelf at other retailers.
2 Drag and drop. Congratulations! Software installation is complete. Oh, sorry. Those viruses, trojans, and other malware you were so fond of, well they're not available for OS-X. You'll have to do without.
3 Mac user can concentrate on doing real work, and forget about maintenance. Same as 3 on Linux.

Oh, and I still recommend regular backups on Linux and OS-X. There is still the possibility of hardware failure, or accidentally deleting something you didn't mean to.

A trojan was found in the

A trojan was found in the pirated edition of iWork 09.

So maybe Mac OS-X users can have their viruses after all, if they try hard enough.

A very good post. You forgot

A very good post. You forgot only one thing:

Macs are available only with a glossy screen and those not used to work in front of a mirror may not like it. About 30% of people prefer matte by all means. Apple has nothing for these.

The reality of Wine

I've tried Wine. It doesn't work even with the software it claims to support 100%

I chose 10 application somewhat randomly from my library including Quicken, Print Shop, and Warcraft. Not one of the applications worked without glitches. Even the Quicken didn't work properly.

This is the real issue of Linux. The techies are willing to overlook issues that normal users will not. The Emulators simply don't work well enough to give serious consideration.

As for other Linux based software, I've never found one that either measured up to the commercial counterpart or ran without glitches.

The travesty is that the Linux community doesn't seem to have the desire or ability to fix these issues and make Linux a truely competetive force in the Desktop environment.

Wine & Apps

First, like the name says 'Wine is not an emulator.' :-)

Moving on, I can't talk about Print Shop, but I've had both Quicken and WoW running perfectly under Wine. Will Wine or CrossOver Linux run everything? Not even close.

Will it run most of the programs people usually use on Windows--Microsoft Office, Internet Explorer, Quicken, WoW (smile). Yep.

Now, if only Adobe brought Photoshop to Linux I'd be really happy.

Steven

Try ditching you windows

Try ditching you windows programs (except for WOW) and using Open Source programs to do the same thing.

Gnucash does fine for my light accounting needs.

Oh, and as you find an alternative for each, write the company that sells the program you are ditching and tell them why. Linux support will only start when they see $$$ leaving.