Software management in Ubuntu 14.10

Today's Specials

Kristian Kissling

Ubuntu's Software Center lets you install just about anything, including free software, purchased apps, and games.

Ubuntu includes the convenient Software Center, which provides centralized software management and allows you to search for new software and install it with a mouse click. With an Ubuntu One account, you can purchase software with a credit card.

The Debian packages (that end in .deb
) that Software Center offers are actually archive files containing libraries, configuration files, and executable programs. If you install the Firefox package, for example, the package manager distributes the necessary files to the correct places in the filesystem for you.

Often there are dependencies, which means that installing program A
requires that you have program B
also installed. The package manager identifies the dependent packages automatically during installation and loads them onto your computer. Usually, you will notice the dependencies when you try to install a single Debian package over the Internet.

The package you are looking for, such as a video codec, may be missing in the Software Center. In this case, you can find the package in external repositories created by the software's users or developers. The repositories contain not only the software, but also the packages on which they depend. (How to tap into these repositories is covered in the "What Are Repositories?" section.)

Package Manager in Action

Getting to repositories and installing software is often faster from the command line. The "Quick Sources" section goes into greater detail. First, we'll look at managing packages using Ubuntu's Software Center. To access the Software Center, press the Super key [1] and enter softw
. The start page (Figure 1) features a few What's New
and Top Rated
applications. Clicking More
on the far right gives you additional choices.

Figure 1: Software Center encourages you to browse.

If you click Turn On Recommendations
at the bottom, Ubuntu suggests opening a user account at Ubuntu One. Then your computer regularly sends lists of software you've installed to Canonical, and the company returns a list of recommended software that might interest you. These recommendations appear on the start page and can be deactivated with View | Turn Off Recommendations
in the global menu. In the meantime, you can purchase programs using your Ubuntu One account.

Use the arrow icons in the upper left to return to the start window. As of Ubuntu 12.10, Ubuntu developers have placed ads for free and commercial software from the Software Center across the broad surface of the screen under the heading Our Favorites
.

The left side of the Software Center screen organizes the applications by category. Clicking a category opens subcategories (Figure 2). All other controls are at the top of the package management window. The All Software
menu lists all the software in all the available repositories. If you click the little white triangle next to the menu item (Figure 3), you'll find the entries Provided by Ubuntu
(mostly free software), Canonical Partners
(free and commercial software without source code, such as Skype and Flash), and For Purchase
(commercial software, including many games).

Figure 2: Clicking a category on the left opens up other subcategories.

Clicking Installed
on the menu bar at the top displays only the installed applications, sorted by category. Click the little triangle to the right to view the packages from a single source. At the far right is the History
menu item that tells you which software you downloaded. Check here if an upgrade suddenly isn't working. Downgrading, unfortunately, doesn't work in Software Center. To do that, you must install the Synaptic Package Manager and specify an earlier Version
in the Properties
.

If you already know the name of the software, search for it in the search field at the upper right. Results come from the repository that you use for All Applications
. Next to the software names are the ratings in the form of stars. Once you select a package, the More Info
and Install
buttons appear.

The first button leads to a detailed description of the program, often showing a screenshot (Figure 4). Look under the Add-ons
section to see software that could enhance the program. Here People also installed
displays other programs to consider. You can also filter reviews by language. Finally, click the Install
button to install the program. Once installed, you can click the Write your own review
link to evaluate the software. This requires a Launchpad account [2].

The search won't find all programs. Software Center hides libraries, developer files, and even programs without graphical interfaces, such as the mplayer
command interface. To install these programs, choose Show technical items
at the bottom of the window or enter the full name of the software in the search field (Figure 5).

The Software Center global menu includes other interesting options. In the File
menu, you can choose Reinstall Previous Purchases
or Sync Between Computers
to move your package selections to other computers over the Ubuntu One cloud service. Also, you can use Edit | Software Sources
to add other repositories. If you don't want to display new applications automatically in the Launcher, unmark the New Applications in Launcher
check box in the View
menu.

What Are Repositories?

Software Center gives you access to thousands of packages, but the one you want might be missing or exist only in an older version. This is where external repositories and the PPAs help.

The Opera repository [3] is one of the external repositories and provides the Opera web browser that is missing from Ubuntu's standard repositories. The VirtualBox project [4] also provides the proprietary version of its own software, which supports the virtual USB 2.0 ports and Remote Desktop Protocol (RDP) from its own repository.

Personal Package Archives (PPAs) are special versions of external repositories that you can only find on Ubuntu's Launchpad. When experienced Ubuntu users or developers create Debian packages out of their favorite software, they frequently offer them in their PPA on Launchpad. Using a search function [5], you can peruse the platform for new versions of current software with great success.