Software 14.04

Revision 8 as of 2014-05-27 13:37:44

Clear message

This page describes methods for installing specific Software in the current 64-bit Long-Term Support edition of ubuntu, including adding specific repositories and commands. The current version is 14.04

Some of the choices here are based on my specific hardware and preferences. They are documented in order to allow other users to install some, or all, of the software. The instructions assume that the current version has been downloaded and an initial clean install has been completed.

The process is:

  1. Source Setup

  2. Additional Repositories

  3. Add additional software from the Repositories

  4. Add additional software from Personal Package Archives (PPA) Sources

  5. Add external software from non-Repository sources

Source Setup

This section identifies the setup for Software Sources.

Accessing Software Sources

Software Sources are not enabled on the Dashboard by default on ubuntu 12.04. On a standard installation, they can be accessed by starting Update Manager and selecting settings. This will open the Software Sources.

If you wish to enable Software Sources separately then do the following:

  • copy the following command into a Terminal: gksudo gedit /usr/share/applications/software-properties-gtk.desktop

  • this will open up the Software Properties configuration file in an editor
  • locate the line that reads: NoDisplay=true

  • change the line to read: NoDisplay=false

  • save the file, then close the editor.
  • Software Sources should now be searchable from the Dashboard

Specific Settings

The Software Sources page has five tabs. My recommended settings for the tabs are shown below. In order to change your settings, select the item that you wish to change. For the first time you change an item, you will be asked for your password.

Ubuntu Software

The Ubuntu Software tab should be set as shown below:


Other Software

On the Other Software tab, ensure that the Canonical Partners sources are enabled. Any other changes to the entries in this tab are managed by adding or changing Repositories, which will be described as needed in the remainder of this documentation.


Updates

I set the updates tab so that it will not notify of a new version of ubuntu. I have generally found it better to do a clean installation of the next version of ubuntu. I have found Backports to be useful. Backports are when there are new applications or changes to existing applications that were originally developed for a later version of ubuntu, but were then made available to selected earlier versions. Ubuntu 12.04 is a Long-Term Support version of ubuntu, so there will be changes from time to time.

The Updates tab should be set as shown below:

Authenticiation

Authentication contains the keys that are used to verify that software being downloaded does come from a recognized repository. These keys are managed when additional repositories are added.

A sample Authentication tab is shown below:

Statistics

The Statistics tab controls whether usage statistics are sent to Canonical or not. Personally, I chose to not send these Statistics, as shown below:

Additional Repositories

There is some software that I typically install that is only available through additional Repositories. Most of the repositories may be either edited in Software Sources or added through a terminal.

Oracle Java

By default, Ubuntu uses Open Java. Some applications, such as eclipse, require Oracle Java.

There are two components to Oracle Java - the JRE (Java Runtime Environment) which is used to execute Java programs and the JDK (Java Development Kit) which is used in the development of Java programs. Java was first created by Sun Microsystems. The original software license allowed for Linux distros, including Ubuntu, to maintain the packages in their archives, simplifying the installation. Oracle Corporation purchased Sun Microsystems in 2011. The license terms for Java have been changed in such a way that Linux distros can no longer directly maintain the package within their archives.

A group of users, collectively referred to as webupd8, maintain a number of PPA archives in !Launchpad. One of the PPAs includes a program to install Oracle Java from the Oracle website. This is a simple method to install Oracle Java. In this case, this installs the JDK, which also includes the JRE. The current version is Oracle Java 7.

To add this PPA, copy the following text into a Terminal and execute:

  • sudo add-apt-repository ppa:webupd8team/java && sudo apt-get --quiet update

There are two current versions of Oracle Java - Java 7 and Java 8. Only one should be installed.

Since most installations are either Java 6 or Java 7, I install the Oracle Java 7 installer. Copy the following command into a Terminal and execute:

  • sudo apt-get install oracle-java7-installer

If you prefer Oracle Java 8, then copy the following command into a Terminal and execute:

  • sudo apt-get install oracle-java8-installer

This will setup the Oracle Java installer. During the installation process for this program, you will be shown a license agreement. You must agree to the terms in this agreement in order to install the software.

Custom Themes

There is a theme that I like, which require the installation of Personal Package Archives (PPA) and an Advanced Settings tool:

Gnome-Cupertino-GTK-Theme

The Gnome-Cupertino themes and icons developed are maintained by the Webupd8 Team. To add this PPA, copy the following text into a Terminal and execute:

  • sudo add-apt-repository ppa:webupd8team/themes && sudo apt-get --quiet update

To install the themes, copy the following commands into a Terminal and execute:

  • sudo apt-get install gnome-cupertino-gtk-theme

    This will install the theme and icons. (Webupd8 Team)

Banshee PPA

Banshee is a music player that I have found useful. There is a version in the standard archives, but the Banshee team also maintains a Personal Package Archive (PPA) that contains their latest stable version.

To add this PPA, copy the following text into a Terminal and execute:

  • sudo add-apt-repository ppa:banshee-team/ppa

Banshee will be installed as part of the installation of the Repository Software.

Repository Software

This is software that is installed from the repositories and the PPAs.

Software List

This is the additional software that I typically install from the Repositories. Each item may also include other items to be installed. For example, the mozilla-plugin-vlc will also include the Video LAN Client (VLC) software.

ntp

Network Time Protocol. This software is used to connect to set the computer clock based on time servers on the internet

evolution

This application is like Microsoft Outlook and includes e-mail, calendar, and tasks. I prefer this application to the default e-mail client (Thunderbird).

banshee

This software is used to play music. I prefer this to the default Rhythmbox, since Banshee handles multi-disc CDs and iPods.

dvdrip

An application to extract files from a DVD.

inkscape

An application to edit SVG files. SVG files are image files.

gimp

An application to edit graphics files, including JPEG.

vlc

VLC is an excellent video player.

sound-juicer

An application program to extract files from a CD. The extracted files may be set to many formats. I generally choose FLAC lossless when extracting a CD.

soundconverter

An application that converts audio files from one format to another.

easytag

An application to edit ID tags on audio files.

gparted

An application to manage partition setup on storage devices.

gnucash

An application to manage company books.

libreoffice

Installs the remaining components of the LibreOffice programs.

gnome-system-tools

A collection of tools to help in the administration of the system. This includes the Users and Groups application to simplify maintaining groups and users. This program used to be installed by default in prior versions of ubuntu.

gnome-tweak-tool

A collection of tools to help in the configuration of parts of the system. This includes options for the keyboard, such as setting the shift numeric keypad to work like MS Windows.

unity-tweak-tool

A collection of tools to help in setting themes and icons, as well as other appearance changes, in ubuntu.

cups-pdf

This will install a PDF printer driver.

guvcview

This will install a configuration utility for a webcam.

gksu

This will install a utility program for graphical sudo tools, such as gedit. The syntax would be gksudo gedit filename (for example). This used to be installed by default, but that is no longer the case.

skype

An application to video conference using a computer. (medibuntu)

ttf-mscorefonts-installer

These are basic Microsoft fonts. An extraction program, cabextract is also installed. This program is used to help install additional fonts as described in Office 2007 Fonts. During the installation process for this program, you will be shown a license agreement. You must agree to the terms in this agreement in order to install the software.

flashplugin-installer

This will enable the installation of Adobe Flash Player for Linux. (medibuntu)

Quick Installation using Terminal

If the Source Settings and Repositories are set as shown above, then the following command will install all of the suggested software. This can be copied from here and pasted into a Terminal. During the installation, there will be one license agreement confirmation for Microsoft (the additional fonts).

sudo apt-get install ntp banshee evolution evolution-indicator dvdrip inkscape gimp vlc sound-juicer soundconverter easytag gparted cheese libreoffice gnome-system-tools gnome-tweak-tool unity-tweak-tool gksu cups-pdf guvcview ttf-mscorefonts-installer skype flashplugin-installer

Finishing Touches

  1. The library program for VLC needs an additional script to enable DVD playback. To that, copy the following command into a Terminal: sudo /usr/share/doc/libdvdread4/install-css.sh

  2. A screen toolkit needs to be identified. To do this:
    • copy the following command into a Terminal: gksudo gedit /etc/profile

    • this will open up the profile in an editor
    • add a new line at the end of the profile and insert the following text: AWT_Toolkit=MToolkit

    • save the file, then close the editor.
  3. Thunderbird should be removed if you are using evolution. To do that:
    • copy the following command into a Terminal: sudo apt-get remove thunderbird

External Software

This is software that is not installed from the repositories.

Fluendo

Fluendo Group is a company that specializes in the creation and distribution of gstreamer codecs for various audio and video formats. The benefit of using these is that they include a license for the codec. They include codecs for Windows Media Lossless format and several other proprietary formats. The fees are very reasonable (IMHO) and I have been using them since 2008. They recently have been included in the Ubuntu store. Their website is http://www.fluendo.com. The licenses are purchased for a specific term. During the term you may download and install any updates to the number of computers covered by the license. I don't run virtual machines, so I don't know how the licensing works in that environment.

Once paid for, you may go to their download page and download the appropriate file for your system (either 32-bit or 64-bit for your distribution). Once the download is complete, you then double-click on the file to install it. It will be installed using the Ubuntu Software Center.

Eclipse

Prior to installing Eclipse, ensure that the Oracle Java software has been installed and is the current version.

This is a general purpose IDE used for development. This is installed directly from the website (http://www.eclipse.org), since the version of eclipse in the repositories is not current.

These instructions have been updated to Eclipse 4.3 (Kepler).

Overview

When this installation is complete:

  • The eclipse program files will be installed in the /opt/eclipse folder.
  • A user group called 'eclipse' will exist and authorized users will be associated with that group.
  • All entries in the /opt/eclipse folder will: be owned by root, be associated with the eclipse group.
  • The eclipse group will have full access to the entries in the folder. Other users will have read-only access.
  • There will be a launch item in Applications > Programming that will start eclipse.

  • Specific update sites will be added to the Available Software sites in the eclipse installation.

Installation Instructions

  1. Verify that any previous installation has been completely removed. In particular, the following needs to be verified:
    1. There is no eclipse folder under /opt. If there is, it must be deleted. Sudo access will be required to delete the folder.
    2. There is no eclipse folder under /usr/local/share. If there is, it must be deleted. Sudo access will be required to delete the folder.
    3. There is no entry for eclipse in either /usr/bin or /usr/local/bin. If there is, then the entry must be deleted.
    4. There is no entry for eclipse.desktop in /usr/share/applications. If there is, then the entry must be deleted.
    5. There is no configuration files for eclipse in the users' home folders. These are hidden directories. If there are any, these must be deleted.
  2. Verify that there is a group called 'developer' and that users are authorized in that group:
    1. Select System > Administration > Users and Groups.

    2. Select Unlock and provide your password.
    3. Select Manage Groups
    4. Scroll the list to determine if there is a group called 'developer'. If there is not, then add the group.
    5. Ensure that all users, including root, are members of the developer group.
  3. Obtain the appropriate file from http://www.eclipse.org/downloads/packages/. Only one of the packages is required. The file should be opened using archive manager. When the download is complete, extract the files to the Downloads folder. If done correctly, there will be an eclipse subfolder in the Downloads folder.

  4. When the download has been completed, open a Terminal and execute the following commands:
    • cd ~/Downloads

      Change to where the file was downloaded

      sudo mv eclipse /opt/eclipse

      Move the files to a folder under the /opt folder. /opt is the normal folder where external applications are installed.

      sudo chown -R root:developer /opt/eclipse

      Change the owner to root and the group to developer.

      sudo chmod -R 775 /opt/eclipse

      Owner and members of the group can read/write/delete, other users have read access.

      sudo chmod +x /opt/eclipse/eclipse

      The Eclipse program file must be executable.

  5. If running Unity (ubuntu 11.04 or later), the application may be added to the launcher. To add to the launcher:
    1. Open a Terminal and copy the following command: gksudo gedit /usr/share/applications/eclipse.desktop

    2. Copy and paste the following lines into the file:

[Desktop Entry]
Version=4.3.0
Type=Application
Terminal=false
Exec=/opt/eclipse/eclipse
Name=Eclipse (Kepler)
Icon=/opt/eclipse/icon.xpm
X-Ayatana-Desktop-Shortcuts=Eclipse

[Programming Shortcut Group]
Name=Eclipse (Kepler)
Exec=/opt/eclipse/eclipse
TargetEnvironment=Unity
  1. Save the file and close gedit and the terminal.
  2. Start eclipse from the Dash.
  3. When Eclipse is open, there will be an icon in the launcher. Right click on the icon and select the keep in launcher option.
  4. When Eclipse is closed, the icon will remain in the launcher.

LightScribe

If you have a LightScribe enabled disc drive, then there is software available that will allow you to prepare disc labels in Ubuntu. This is installed from the LightScribe website.

  1. Obtain the software from: LightScribe website. You will need both the System software and the simple labeler software.

  2. The following instructions will install the software once it has been obtained:
    1. Open a Terminal.
    2. Execute the following commands in sequence:
      • cd ~/Downloads

        This will move you to the directory where the downloaded files are saved.

        sudo dpkg -i lightscribe-1.18.27.10-linux-2.6-intel.deb

        This installs the system software. Note that the version number may be different, depending on what was downloaded from the LightScribe website.

        sudo dpkg -i lightscribeApplications-1.18.15.1-linux-2.6-intel.deb

        This installs the Simple Labeler application. Note that the version number may be different, depending on what was downloaded from the LightScribe website.

        sudo ldconfig

        This resolves some configuration issues.

        sudo /usr/lib/lightscribe/elcu.sh

        This utility is used to set whether the labels will be printed darker or lighter.

  3. Open a Terminal and copy the following command: gksudo gedit /usr/share/applications/lightscribe.desktop

[Desktop Entry]
Version=1.18.15.1
Type=Application
Terminal=false
Exec=/opt/lightscribeApplications/SimpleLabeler/SimpleLabeler
Name=LightScribe Disc Labeler
Icon=/opt/lightscribeApplications/SimpleLabeler/content/images/LabelWizardIcon.png
X-Ayatana-Desktop-Shortcuts=SimpleLabeler

[Accessories Shortcut Group]
Name=LightScribe Disc Labeler
Exec=/opt/lightscribeApplications/SimpleLabeler/SimpleLabeler
TargetEnvironment=Unity
  1. Save the file and close gedit and the terminal.
  2. Start lightscribe from the Dash.
  3. When Lightscribe is open, there will be an icon in the launcher. Right click on the icon and select the keep in launcher option.
  4. When Lightscribe is closed, the icon will remain in the launcher.

Additional Microsoft Fonts

This process is used to install additional Microsoft fonts. Note that there are severe licensing restrictions. These fonts should only be installed if it is legal for you to do so.

The following process can be used to install Microsoft Office 2007 Fonts in ubuntu. A Terminal will be required.

  • Download the PowerPoint Viewer

    This will place the PowerPoint reader from Microsoft in the Downloads folder.

    sudo apt-get install cabextract

    cabextract is installed already if ttf-mscorefonts-installer is already installed. If not, then this command may be used to install cabextract

    cabextract -F ppviewer.cab PowerPointViewer.exe

    This will extract the files from the PowerPoint viewer

    sudo mkdir /usr/share/fonts/vista

    This will setup a fonts directory for the fonts.

    sudo cabextract -F '*.TT?' -d /usr/share/fonts/vista ppviewer.cab

    This will extract the fonts to the new directory

    fc-cache -fv

    This will update the fonts cache.


CategorySoftwareInstallation