Java/C2/Installing-Eclipse/English

From Script | Spoken-Tutorial
Revision as of 15:35, 27 November 2012 by Chandrika (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Author: TalentSprint

Script Title: Installing Eclipse on Linux

Keywords: Eclipse, IDE, Installation, Ubuntu, Redhat, video tutorial


Visual Cue Narration
Slide 1

Welcome Slide

Welcome to the spoken tutorial on Installing Eclipse on Linux
Slide 2

Learning Outcomes

By the end of this tutorial, you should be able to

  • Install Eclipse on Ubuntu
  • Install Eclipse on Redhat


In this tutorial, you will be learn how to Install Eclipse on Ubuntu and on

Redhat operating systems.

Slide 3

Tools Used

For this tutorial, we are using Ubuntu 11.10
Slide 4

Pre-requisites

  • Internet connection
  • Knowledge of Terminal
  • The root access or the sudo permission
  • Proxy access
  • For relevant tutorials visit our website http://spoken-tutorial.org.


To follow this tutorial, you must be

connected to the internet and must have knowledge of using terminal in Linux.


You must also have the root access or the sudo permission.


If you do not know what is a root or sudo, do not bother.


You can proceed through the tutorial.


If you are on a network that uses a proxy, then you must have access to the proxy.


If not, for relevant tutorials visit our website as shown.



Slide 5

Ubuntu

  • sudo apt-get update
  • sudo apt-get install eclipse


We shall now install Eclipse on Ubuntu

using the commands as shown and


also learn about the minor changes required to do the same on Redhat.

Minimize the Slide Window and Show on Desktop


Open Terminal

Press Ctrl + Alt + t

Now let us open the terminal.


Press Control, Alt and t simultaneously.


It launches the terminal in Ubuntu.

If you are on a network that uses proxy, you will have to set it on the terminal.


If you do not know what a proxy is, you may not be on a network that uses one.


So you can skip this step.



For those who are using proxy, you will have to set it.


There are two types of proxies.


One requires a username and password while the other doesn’t.


Find out the type of proxy you are using, from the concerned person.

Type on terminal

$ sudo -s

On terminal, type sudo SPACE HYPHEN s

and hit enter.


Please note that all the commands are in

lowercase, unless specified otherwise.


Type the password when prompted and hit enter.


Note that as you type password, there is no feedback in the form of asterisk or other symbols.

Point to the changed prompt symbol Notice that the prompt symbol has changed from DOLLAR to HASH.
At the prompt, type

# export http_proxy=http://tsuser:tspwd@10.24.0.2:8080

On the terminal, type


export SPACE

http UNDERSCORE proxy

EQUAL TO

http://tsuser:tspwd@10.24.0.2:8080

Here, tsuser is the username for proxy authentication and tspwd is the password.


Please change these values to suit your need.

The 10.24.0.2 is the host address of proxy and 8000 is the port number.


Change these details also, to suit you.


After you have typed the command according to your details, hit enter


We have now set the http proxy

In some cases the network does not require authentication.


In such case the username and password part can be left blank.

Remove tsuser:tspwd@ Since my proxy does not require authentication, I am going to remove those details.


Press up arrow to get the previous command and remove the authentication details.


Hit Enter

We have set the http proxy.


Now we have to set the https proxy.

Press up arrow to get the previous command and add an s to change http to https Press up arrow to get the previous command and add an s to change http to https.


Hit ENTER.


This command sets the https proxy.

Press Ctrl + D Now press Ctrl + D to return to the normal DOLLAR prompt.


We have successfully set the proxy.

Type clear at the prompt Type clear to clear the screen


Now we shall install eclipse.

Point to the DOLLAR PROMPT


Type on terminal

sudo apt-get update


Hit Enter.

Type sudo SPACE apt HYPHEN get SPACE update.


This command fetches a list of all the available softwares.


Now hit ENTER.


Depending on your internet speed, it takes a while to fetch the list of softwares.


The operation is complete when the terminal returns to DOLLAR PROMPT.


Type clear and hit enter to clear the screen.

Type on the terminal


sudo apt-get install eclipse


Hit Enter.


Type y.


Hit Enter.

After the list of softwares is fetched, type

sudo SPACE apt HYPHEN get SPACE install SPACE eclipse on the terminal.


Hit ENTER.


This command fetches and installs the eclipse software on the system.


Notice the line that reads


Need to get 10.8 MB...


Depending on your system, this number will be different and depending on your internet speed, the time required to fetch the packages will vary.


When prompted for a YES or NO, type y and hit ENTER.


All the required packages are downloaded and unpacked into the system.


The installation is complete when the terminal returns to DOLLAR PROMPT.


Now let us verify if ECLIPSE is installed and is available on the system.

Minimize the terminal and show desktop


Press alt + f2 and type eclipse


Eclipse opens

Press and hold the Alt key and press F2 key.


This opens a dialog box for launching applications.


Type eclipse in the box and hit Enter.


This launches eclipse application.


If Eclipse has not been installed, it will not open the application.

Click OK at the workspace window. We get a prompt called Workspace Launcher. Simply click OK to proceed.
Point to “Welcome Page” in Eclipse Here we have the “Welcome to Eclipse” page. We can see that eclipse has been installed successfully.
Close Eclipse and Maximize the slide window


Slide 6

Ubuntu - Similar OS

  • debian
  • kubuntu & xubuntu


The process for installing Eclipse on Debian, Kubuntu and Xubuntu is the same as that on Ubuntu.
Slide 7

Redhat


Type on the terminal sudo yum update


sudo yum install eclipse

The process of installing Eclipse on Redhat is similar to that on Ubuntu.


The only difference is the commands used for fetching and installing.


For fetching the software list, use sudo SPACE yum SPACE update.


For installing eclipse, use sudo SPACE yum SPACE install SPACE eclipse.

Slide 8

Redhat - Similar OS

  • fedora
  • centos
  • suse linux


The process for installing Eclipse on Fedora, centos and suse linux is the same as that on Redhat.
Slide 9

Summary

  • Ubuntu and similar OS
  • Redhat and similar OS


We have seen how to install Eclipse on Ubuntu and similar OS and Redhat and similar OS.
Slide 10

Assignment

Find out more operating systems on which the installation procedure is same as that on Ubuntu.
Slide 11

About the Spoken Tutorial Project

  • It summarises the Spoken Tutorial project
  • If you do not have good bandwidth, you can download and watch it


To know more about the Spoken Tutorial project, watch the video available at the following link.


It summarises the Spoken Tutorial project.


If you do not have good bandwidth, you can download and watch it

Slide 12

Spoken Tutorial Workshops


The Spoken Tutorial Project Team

  • Conducts workshops using spoken tutorials
  • Gives certificates for those who pass an online test
  • For more details, please write to contact@spoken-tutorial.org


The Spoken Tutorial Project Team.


  • Conducts workshops using spoken tutorials
  • gives certificates for those who pass an online test.

For more details, please write to contact AT spoken HYPHEN tutorial DOT org.



Slide 13

Acknowledgement

  • Spoken Tutorial Project is a part of the Talk to a Teacher project
  • It is supported by the National Mission on Education through ICT, MHRD, Government of India
  • More information on this Mission is available at


Spoken Tutorial Project is a part of the Talk to a Teacher project.


It is supported by the National Mission on Education through ICT, MHRD, Government of India.


More information on this Mission is available at spoken HYPHEN tutorial DOT org SLASH NMEICT HYPHEN Intro



Slide 14

About the contributor

  • This tutorial has been contributed by TalentSprint
  • www.talentsprint.com
  • Thanks for joining


This tutorial has been contributed by TalentSprint. Thanks for joining.

Contributors and Content Editors

Chandrika, Sneha