How to install SVN & Eclipse on RedHat 6.3 RHEL 6

Hi,

to install Eclipse do the following steps (based on this tutorial: http://www.if-not-true-then-false.com/2010/linux-install-eclipse-on-fedora-centos-red-hat-rhel/ ):

Download eclipse and extract it to /opt/:

tar -xvzf eclipse-SDK-4.2-linux-gtk-x86_64.tar.gz -C /opt

Make all files readable:

chmod -R +r /opt/eclipse

Create executable in /usr/bin/

touch /usr/bin/eclipse
chmod 755 /usr/bin/eclipse

Notice / Update: I had some issues with Plugins when I not changed the owner of the eclipse folder. You should change the owner to avoid that: (see this link: https://philipp-boss.de/it/linux/eclipse-updates-or-plugins-are-not-working-linx )

sudo chown -R <user> eclipe

Open that file with your favourite editor and insert that content

#!/bin/sh
export ECLIPSE_HOME="/opt/eclipse"

$ECLIPSE_HOME/eclipse $*

Create a Desktop Launcher:

(right click on Desktop ->Create Launcher)

Now you can start eclipse.

How to Install SVN and SubClipse Plugin:

Install Subversion via Package manager or via yum (needs root):

(use the same command, in this case this package was already installed)

[root@oc3458605084 philboss]# <strong>yum install subversion</strong>
Loaded plugins: repository,
              : refresh-packagekit, security
Setting up Install Process
Package subversion-1.6.11-7.el6.x86_64 already installed and latest version
Nothing to do
[root@oc3458605084 philboss]#

 

Subclipse

Start Eclipse, click on Help -> Install New Software

and enter this Update Site URL: http://subclipse.tigris.org/update_1.8.x

Select the features you would like to have and install them.

 

If you get that error when using Subclipse the first time:

 

 

After that I installed the SVNKit also and set the preference to SVNKit:

(Window -> Preferences:)

 

 

After restart it worked fine 🙂

Eclipse shortcuts

Eclipse is a powerful ide, and there are a lot of keyboard-shortcuts which allows you to work fast and effectively wih it.

Learning these shortcuts isn’t easy, but there are some tips for learning and remembering them:

Eclipse-Plugin: Mousefeed, displays the shortcut for an action which you have done with the mouse

http://www.mousefeed.com/

Eclipse-Shortcuts-list: Press STRG+SHIFT+L

have fun 😉