eWEEK Labs Shows You How to Install Apps on Ubuntu Linux - Linux and Open Source - News & Reviews - eWeek.com | eWeek

eWEEK Labs Shows You How to Install Apps on Ubuntu Linux

eWEEK Labs Shows You How to Install Apps on Ubuntu Linux
Écrit par
Jason Brooks
Jason Brooks
Mar 20, 2009
5 minute read
eWeek Le contenu et les recommandations de produits sont indépendants de la rédaction. Nous pouvons gagner de l'argent lorsque vous cliquez sur des liens vers nos partenaires. En savoir plus


eWEEK Labs Shows You How to Install Apps on Ubuntu Linux

eWEEK Labs Shows You How to Install Apps on Ubuntu Linux

by Jason Brooks


Software Repositories Are Your Friends

2

One of the handiest characteristics of today’s typical Linux-based operating system is easy access to software applications through networked repositories. In Ubuntu, our software sources tour begins here.


Canonical-Supported Applications

3

Ubuntu’s Software Sources tool breaks out applications into a handful of classes, beginning with those applications that Ubuntu’s sponsor company, Canonical, explicitly supports. The operating system’s Terminal Server client is one such application.


Community-Maintained Applications

4

One of the real strengths of Ubuntu is that it carves out an official space for community-supported applications in addition to those backed by paid support. Ubuntu’s stable of ready-to-install, community-maintained applications includes Wine, an open-source compatibility layer for running some Windows applications.


Advertisement

Proprietary Drivers

5

The quest for hardware drivers with licensing that’s open enough to allow for bundling with Linux distributions has come a long way, but drivers that can’t be bundled with Ubuntu are made available through a proprietary drivers repository.


Restricted Software

6

Another class of software available through Ubuntu’s repositories consists of applications that, like the proprietary drivers, have license encumbrances that prevent bundling. Microsoft’s freely downloadable (but not redistributable) Core Fonts fall into this category.


Choose Update Server

7

The Ubuntu project benefits from a large number of mirror sites for its software repositories. The operating system’s Software Sources tool includes a facility for locating a nearby mirror and a utility for suggesting a viable mirror based on a performance test.


Third-Party Repositories

8

In addition to the default Ubuntu repositories, you can configure additional software sources. On a fresh Ubuntu installation, the only preconfigured third-party repository is a sparsely populated Canonical “partner” repository that contains Adobe’s Flash Reader for Linux.


Update Options

9

The Software Sources tool also breaks out updates into a handful of classes, high-priority security updates, suggested updates such as bug fixes, early-access prerelease updates and application version updates that have been “backported” to stable Ubuntu versions.


Authentication

10

Ubuntu packages are digitally signed, which provides the assurance that the packages you install come from where you think they come from. Importantly, signed packages aren’t inherently more safe-you must decide whom to trust.


Advertisement

Software Statistics

11

If you choose, you can submit to the project anonymous information about which packages you’ve installed, through which the Ubuntu team can get an idea of the relative popularity of the applications. I sometimes sort applications by popularity in the system’s Add/Remove Applications tool to find software suggestions.


Synaptic: Changelog

12

While the Add/Remove Applications tool works fairly well, I turn to Ubuntu’s Synaptic for many of my software management needs. Here I’m using Synaptic to fetch the changelog for a package I’ve installed.


Synaptic: Force Version

13

You can use Synaptic to register a preference for installing packages based on highest-available version number or membership in a particular repository group. If you need to override these defaults for a particular package, Synaptic also allows you to force a particular version.


Synaptic: Configure with Debconf

14

One of niceties of Debian-based Linux distributions, such as Ubuntu, is the presence of configuration applets bundled with certain packages. Synaptic will give you a list of the packages that are configurable in this way, as well as launch the Debconf tool on command.


Synaptic: History

15

Another Synaptic feature that comes in handy is its installation history browser. What I’d prefer to see here, though, is support for installation rollback, a la rPath’s Conary or Sun Microsystems’ OpenSolaris IPS (Image Packaging System).


Dont Fear the CLI

16

Despite what you may have heard, gazing upon a Linux command line, even on a desktop, will not turn you to stone. In fact, the command line can sometimes make life easy. For instance, type in the name of an application that’s not installed and Ubuntu will tell you the one-line command needed to install that application.


Advertisement

Ubuntu Personal Package Archives

17

For open-source software packages that aren’t part of Ubuntu’s official community-maintained repository, the project provides a personal package building and hosting service that anyone can use to create and host Ubuntu software packages. I’ve used PPAs to install the latest OpenOffice.org and Mozilla Prism releases in advance of their inclusion in an official Ubuntu release.


Other Third-Party Repositories

18

Certain application developers offer up their own Ubuntu repositories for distributing their wares. Sun’s xVM VirtualBox division maintains such a repository, complete with package signing, which makes it easy for me to keep my VirtualBox installations up-to-date.


Keep Your Eyes Peeled for .debs

19

When a software provider you’re interested in doesn’t offer a repository, chances are good that the provider will still offer packages in Ubuntu format that carry a *.deb file extension. The OpenOffice.org project has made its productivity suite available in .deb form for a while now, but to find the correct flavor of OpenOffice.org, you must dig for the archive with .deb in its name.


GDebi Package Installer

20

Once you’ve tracked down an Ubuntu package to install, you can do so by clicking on the package and opening it with the system’s GDebi Package Installer. The installer will sort out any dependency issues for you and pull any needed packages down from your configured repositories.


Advertisement

The Quick and the Dirty

21

When there’s no Ubuntu package available for the application you want to install, but the source is available, you can build a quick and dirty package with Checkinstall. By swapping in Checkinstall for the third step in the typical “configure; make; make install” process, you can create a package to track through your regular software management tools. The tool called Alien works a similar trick with RPM (RedHat Package Manager) packages.


Learn to Package

22

If you’re interested in learning how to create your own Ubuntu packages, the project offers an assortment of handy how-to materials, including a series of tutorial videos on YouTube.


Windows Apps with Wine

23

Wine, the open-source project intended to allow Windows applications to run on Linux and other non-Windows systems, has come a long way over the years, and works well with certain applications, such as those listed in the project’s compatibility database. In many other cases, expect the unexpected-Apple’s Safari browser won’t run under Wine, for instance, but Apple’s software update tool will.


Windows Applications with Virtualization

24

If you’re out to run Windows applications on Ubuntu (or most other non-Windows platforms), your surest bet is virtualization software. Most desktop-based virtualization applications, such as Sun’s VirtualBox, allow Windows applications to appear to run natively.


Advertisement

Update Manager

25

One of the best things about sticking to software packages backed by a networked repository is the unified application patching goodness that flows from this discipline. When security, bug-fix or version updates become available, Ubuntu will offer to install them.

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Propriété de TechnologyAdvice. © 2026 TechnologyAdvice. Tous droits réservés

Divulgation publicitaire : Certains des produits qui apparaissent sur ce site proviennent d'entreprises dont TechnologyAdvice reçoit une compensation. Cette compensation peut influencer la façon dont les produits apparaissent sur ce site, notamment l'ordre dans lequel ils apparaissent. TechnologyAdvice n'inclut pas toutes les entreprises ou tous les types de produits disponibles sur le marché.