css linux and eclipse 1. css account log into your css account with the nomachine client (nx client)...

11
CSS Linux and Eclipse 1

Upload: samson-nash

Post on 03-Jan-2016

217 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: CSS Linux and Eclipse 1. CSS Account Log into your CSS account with the NoMachine client (NX client) 2

CSS Linux and Eclipse

1

Page 2: CSS Linux and Eclipse 1. CSS Account Log into your CSS account with the NoMachine client (NX client) 2

CSS Account

• Log into your CSS account with the NoMachine client (NX client)

2

Page 3: CSS Linux and Eclipse 1. CSS Account Log into your CSS account with the NoMachine client (NX client) 2

Perl Development Environment

• Editor and Perl interpreter is all you really need

• Additional bells and whistles– Administrative access to add/compile

modules– IDE (Integrated Development Environment)– Debugger

3

Page 4: CSS Linux and Eclipse 1. CSS Account Log into your CSS account with the NoMachine client (NX client) 2

Download/Install Eclipse• http://www.eclipse.org/downloads/• Select "Eclipse Classic" for "Linux 64"• This will probably put the file in your

"Desktop". Something like: /user/eng/tbraun/Desktop

$ cd Desktop

$ mv eclipse-SDK-*.*-linux-gtk-x86_64.tar.gz ~

Where *.* is some revision number like 3.4

This "mv" command moves the file to your "home" directory -- the "tilde" (~) at the end of the line means "home directory"

4

Page 5: CSS Linux and Eclipse 1. CSS Account Log into your CSS account with the NoMachine client (NX client) 2

More commands

$ cd #this will change your directory to your "home" directory

$ gunzip eclipse-SDK-3.4-linux-gtk-x86_64.tar.gz #unzip the file

$ tar -xvf eclipse-SDK-3.4-linux-gtk-x86_64.tar #extract the archive

To start the eclipse program, type:

$ ./eclipse/eclipse &

Click "Ok" for the workspace

Click on the arrow on the right hand side to take you to the workbench.

5

Page 6: CSS Linux and Eclipse 1. CSS Account Log into your CSS account with the NoMachine client (NX client) 2

Perl Plugin for Eclipse

• Once you have eclipse running, go to:• Help-> Software Updates• Click on "Available Software" tab• Select "Add Site"

6

Page 7: CSS Linux and Eclipse 1. CSS Account Log into your CSS account with the NoMachine client (NX client) 2

Perl PluginFor Location -- type in: http://e-p-i-c.sf.net/updatesClick "OK"Now check the "e-p-i-c" siteThis should bring up "Main Components"Expand "Main Components"Select "EPIC” (0.5.46) -- 0.6.7 is “unstable”Click "Install"

7

Page 8: CSS Linux and Eclipse 1. CSS Account Log into your CSS account with the NoMachine client (NX client) 2

Perl plugin

• Click "Next"• Read License• Select "I agree to terms of license…"• Click "Finish"• This may take a few minutes -- just let it run.• Select "Restart" -- this restarts Eclipse

• In eclipse, now select:• Window->Open Perspective->Other• Select "Perl"• Click OK.

8

Page 9: CSS Linux and Eclipse 1. CSS Account Log into your CSS account with the NoMachine client (NX client) 2

First Perl Program• File->new->Perl Project• Type in Project Name: Hello• Click "Finish"• Right Click on the "Hello" project and select New->Perl

File• For "File name" enter: Hello.pl• Click "Finish"• Now you can enter a Perl program in the middle

window. Try this:• print "hello world\n";• Then select: Run->Run. Click on "Yes"

9

Page 10: CSS Linux and Eclipse 1. CSS Account Log into your CSS account with the NoMachine client (NX client) 2

Eclipse cleanup

• If for some reason you want to remove eclipse:

cd

rm -rf ./eclipse

rm -rf .eclipse

rm -rf workspace

10

Page 11: CSS Linux and Eclipse 1. CSS Account Log into your CSS account with the NoMachine client (NX client) 2

Debugger

• To use the debugger and observe variables, you will need administrative access to your Perl – and install a module called “PadWalker”

11