Aggregate Installation Tips

Aggregate Installation Tips

One of the reasons I am writing this blog, is to keep “log” for myself on how I resolved issues.

In this post I will describe how I installed several basic development tools on a Fedora OS. I want this laptop to be my workstation for out-of-work projects.

Almost everything in this post can be found elsewhere in the web. Actually, most of what I am writing here is from other links. However, this post is intended to aggregate several installations together.

If you’re new to Linux (or not an expert, as I am not), you can learn some basic stuff here.
How to install (yum), how to create from source code, how to setup environment variables and maybe other stuff.

First, we’ll start with how I installed Fedora.

Installing Fedora

I downloaded Fedora ISO from It is Gnome distribution. I then used to create a self bootable USB. It’s very easy to use. I switched to KDE by running: sudo yum install @kde-desktop

Installing Java

Download the rpm package Oracle site.

# root
su -

# Install JDK in system
rpm -Uvh /path/.../jdk-8u40-linux-i586.rpm

# Use correct Java
alternatives --install /usr/bin/java java /usr/java/latest/jre/bin/java 2000000
alternatives --install /usr/bin/javac javac /usr/java/latest/bin/javac 2000000
alternatives --install /usr/bin/javaws javaws /usr/java/latest/jre/bin/javaws 2000000
alternatives --install /usr/bin/jar jar /usr/java/latest/bin/jar 2000000

# Example how to swap javac
# alternatives --config javac

Under /etc/profile.d/ , create a file ( with the following content:

# Put this file under /etc/profile.d

export JAVA_HOME=/usr/java/latest

I used the following link, here’d how to install JDK

Installing Intellij


# root
su -

# Create IntelliJ location
mkdir -p /opt/idea

# Untar installation
tar -xvzf /path/.../ideaIC-14.1.tar.gz -C /opt/idea

# Create link for latest IntelliJ
ln -s /opt/idea/idea-IC-141.177.4/ /opt/idea/latest

chmod -R +r /opt/idea


After installation, you can go to /opt/idea/latest/bin and run Once you run it, you will be prompt to create a desktop entry. You can create a command line launcher later on as well.

Installing eclipse


su -

# create eclipse location
mkdir /opt/eclipse

# Unzip it
tar -xvzf /path/.../eclipse-java-luna-SR2-linux-gtk.tar.gz -C /opt/eclipse

# create link
ln -s /opt/eclipse/eclipse/ /opt/eclipse/latest

# Permissions
hmod -R +r /opt/eclipse/

Create executable /usr/bin/eclipse

# name it eclipse
# put it in /usr/bin
# chmod 755 /usr/bin/eclipse

export ECLIPSE_HOME="/opt/eclipse/latest"
$ECLIPSE_HOME/eclipse $*

Create Desktop Launcher

# create /usr/local/share/applications/eclipse.desktop
# Paste the following

[Desktop Entry]
Comment=Eclipse Luna 4.4.2

See also

Installing Maven


# root
su -

# installation location
mkdir /opt/maven

# unzip
tar -zxvf /path/.../apache-maven-3.3.1-bin.tar.gz -C /opt/maven

# link
ln -s /opt/maven/apache-maven-3.3.1/ /opt/maven/latest

Setting maven environment

# put it in /etc/profile.d
export M2_HOME=/opt/maven/latest
export M2=$M2_HOME/bin
export PATH=$M2:$PATH 

Installing git

I wanted to have the latest git client. Using yum install did not make it, so I decided to install from source code. I found a great blog explaining how to do it.

Note: in the compile part, he uses export to /etc/bashrc . Don’t do it. Instead create a file under /etc/profile.d

Installation commands

su -

yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
yum install  gcc perl-ExtUtils-MakeMaker

yum remove git

# Download source
# check latest version in
cd /usr/src
tar xzf git-<latest-version>.tar.gz

# create git from source code
cd git-<latest-version>
make prefix=/opt/git all
make prefix=/opt/git install

git Environment

# save under /etc/profile.d/
export PATH=$PATH:/opt/git/bin 

Create an ‘sh’ file under /etc/profile.d

Eyal Golan

Eyal is a professional software engineer and an architect. He is a developer and leader of highly sophisticated systems in different areas, such as networking, security, commerce and more.
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments
Back to top button