Additional configuration for Linux Mint 17.1

fballem
  9 years ago
  1

Oracle Java

By default, Linux Mint 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 Ubuntu/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.

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.

Oracle Java 7

The following commands will install Oracle Java 7:

  • sudo apt-get install oracle-java7-installer
    sudo apt-get install oracle-java7-set-default

Oracle Java 8

The following commands will install Oracle Java 8:

  • sudo apt-get install oracle-java8-installer
  • sudo apt-get install oracle-java8-set-default

Google Chrome

Google Chrome is a web browser developed by Google. The code is proprietary. The major reason that I use Google Chrome is that it contains an updated version of the flashplayer software from Adobe. Adobe has abandoned further development of flashplayer for Linux (see the following article: Adobe Abandons Linux in ZDNet), but is developing for Google Chrome.

Care must be taken in following the instructions - the Repository will be added twice. It is critical that the duplicate entry is removed.

  • sudo wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
    sudo sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
    sudo apt-get update
    sudo apt-get install google-chrome-stable

Once these are completed, open the Software Sources. In the Other Software tab, check for two entries for http://dl.google.com/linux/chrome/deb/. One of these entries must be removed.

Updated Application Repositories

The standard Repository contains specific versions of Application packages, such as LibreOffice. Security updates are applied, but very rarely are the packages updated to later versions. This provides stability, but does not allow access to updated features.

In my case, I prefer to have access to updated features, but I do not want to be at the bleeding edge. Most of the applications have PPAs setup in ubuntu that contain stable backports. In other words, if LibreOffice releases a new version, then the team reponsible for LibreOffice in ubuntu will test it and may provide an update that can be used in the current Ubuntu release.

The following are the archives that I use to provide relatively stable updated versions of selected software:

ppa:libreoffice/ppa

LibreOffice is the standard office suite that is used in a number of Linux distributions, including ubuntu. Version 4.2 is installed by default in ubuntu 14.04. The ppa will allow for the installation of stable updgrades to later versions of LibreOffice.

ppa:videolan/stable-daily

VLC is an optional multi-media player that I prefer to use. The ppa will allow for the installation of stable upgrades to later versions of VLC.

ppa:otto-kesselgulasch/gimp

GIMP is a graphics editing program that can be used for editing photographs and other graphic objects. This PPA contains updated versions of this program.

ppa:inkscape.dev/stable

Inkscape is a graphics editing program that specifically supports editing Scalable Vector Graphics (SVG) files. This PPA contains updated versions of this program.

ppa:olivier-berten/misc

This ppa contains an updated version of MySQL Workbench for Ubuntu.

 

Adding a Repository

In Linux Mint, the easiest way to add a repository is to open Menu > Administration > Software Sources. Once open, select the PPAs tab. Each additional repository can be added.

Once the repositories are added, then you should run a System Update to obtain the latest version of any software that contains an updated version in the PPA repositories.

Comments
Lynden 8 years ago

The title may not be exact, but I appreciate the information. I also like having my Libre Office kept to the most stable release.


michelsaey 9 years ago

This has nothing to do with configuration but installing software and adding repository's (you should be carefull with that, it's not recommended) from software. You could change the title here.


fballem 9 years ago

I usually treat these as additional configuration because I am changing the Java from Open Java and using different repositories that contain updated versions of various applications. I did add an additional tag - which I hope helps.


Hammer459 9 years ago

This is certainly not a tutorial about configuration.
It is a half decent tutorial on how to install some programs from more or less reputable ppa's