Difference between revisions of "Java/C2/Installing-Eclipse/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with ''''Author: '''TalentSprint '''Script Title''': Installing Eclipse on Linux '''Keywords: '''Eclipse, IDE, Installation, Ubuntu, Redhat, video tutorial {| style="border-spacin…')
 
 
Line 83: Line 83:
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| We shall now install '''Eclipse''' on '''Ubuntu'''
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| We shall now install '''Eclipse''' on '''Ubuntu'''
  
using the commands as shown and
+
using the commands shown and
  
  
Line 98: Line 98:
  
  
Press '''Control''', '''Alt''' and '''t''' simultaneously.  
+
Press '''Control''', '''Alt''' and '''t''' .  
  
  
Line 135: Line 135:
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| On terminal, type '''sudo SPACE HYPHEN s'''
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| On terminal, type '''sudo SPACE HYPHEN s'''
  
and hit enter.
+
Then prompt it and tpe the password.
  
  
Please note that all the commands are in
+
  
'''lowercase''', unless specified otherwise.
+
Note that as you type password, there is no feedback in the form of asterisk or other symbols hit enter
 
+
 
+
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.
+
  
 
|-
 
|-
Line 156: Line 150:
  
 
'''<nowiki># </nowiki>export http_proxy<nowiki>=</nowiki>http://tsuser:tspwd@10.24.0.2:8080'''
 
'''<nowiki># </nowiki>export http_proxy<nowiki>=</nowiki>http://tsuser:tspwd@10.24.0.2:8080'''
| style="border:0.035cm solid #000000;padding:0.176cm;"| On the terminal, type
+
| style="border:0.035cm solid #000000;padding:0.176cm;"| NOw type
  
  
Line 169: Line 163:
 
|-
 
|-
 
| style="border:0.035cm solid #000000;padding:0.176cm;"|  
 
| style="border:0.035cm solid #000000;padding:0.176cm;"|  
| style="border:0.035cm solid #000000;padding:0.176cm;"| Here, '''tsuser''' is the username for proxy authentication and '''tspwd''' is the password.
+
| style="border:0.035cm solid #000000;padding:0.176cm;"| In this command , '''tsuser''' is the username for proxy authentication and '''tspwd''' is the password.
  
  
Line 176: Line 170:
 
|-
 
|-
 
| style="border:0.035cm solid #000000;padding:0.176cm;"|  
 
| style="border:0.035cm solid #000000;padding:0.176cm;"|  
| style="border:0.035cm solid #000000;padding:0.176cm;"| The '''10.24.0.2''' is the host address of proxy and '''8000''' is the port number.  
+
| style="border:0.035cm solid #000000;padding:0.176cm;"|   '''10.24.0.2''' is the host address of proxy and '''8080''' is the port number.  
  
  
Change these details also, to suit you.
+
Change these details also, to suit your need press enter
  
 
After you have typed the command according to your details, hit enter
 
 
 
We have now set the http proxy
 
  
 
|-
 
|-
Line 199: Line 188:
  
  
Press up arrow to get the previous command and remove the authentication details.
+
Press up arrow to get the previous command and remove the username and password  and.
  
  
Line 206: Line 195:
 
|-
 
|-
 
| style="border:0.035cm solid #000000;padding:0.176cm;"|  
 
| style="border:0.035cm solid #000000;padding:0.176cm;"|  
| style="border:0.035cm solid #000000;padding:0.176cm;"| We have set the '''http proxy'''.  
+
| style="border:0.035cm solid #000000;padding:0.176cm;"| These commands  set the '''http proxy'''. We know how to set the '''https proxy'''
  
 
Now we have to set the '''https proxy'''.
 
  
 
|-
 
|-
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| Press up arrow to get the previous command and add an '''s''' to change '''http''' to '''https'''
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| Press up arrow to get the previous command and add an '''s''' to change '''http''' to '''https'''
| style="border:0.035cm solid #000000;padding:0.176cm;"| Press up arrow to get the previous command and add an '''s''' to change '''http''' to '''https.'''
+
| style="border:0.035cm solid #000000;padding:0.176cm;"| Press up arrow to get the previous command and remove user name and password and
 
+
  
 
Hit '''ENTER'''.
 
Hit '''ENTER'''.
  
  
This command sets the https proxy.
+
This command sets the https proxy. We know how to set the https proxy. Press ''' up arrow'' to get the previous command and type to change '''s''' '''http''' to '''https'' and hit enter. We have now successfully set the proxy
  
 
|-
 
|-
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| Press '''Ctrl + D'''
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| Press '''Ctrl + D'''
| style="border:0.035cm solid #000000;padding:0.176cm;"| Now press '''Ctrl + D''' to return to the normal '''DOLLAR''' prompt.
+
| style="border:0.035cm solid #000000;padding:0.176cm;"| press '''Ctrl + D''' to return to the normal   prompt.
 
+
  
We have successfully set the proxy.
 
  
 +
 
|-
 
|-
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| Type '''clear''' at the prompt
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| Type '''clear''' at the prompt
| style="border:0.035cm solid #000000;padding:0.176cm;"| Type '''clear''' to clear the screen
+
| style="border:0.035cm solid #000000;padding:0.176cm;"| Type '''clear''' and hit enter to clear the screen
  
  
Line 245: Line 231:
  
 
'''Hit Enter.'''
 
'''Hit Enter.'''
| style="border:0.035cm solid #000000;padding:0.176cm;"| Type '''sudo SPACE apt HYPHEN get SPACE update. '''
+
| style="border:0.035cm solid #000000;padding:0.176cm;"| Type '''sudo SPACE apt HYPHEN get SPACE install space eclipse. ''' and hit enter
  
  
This command fetches a list of all the available softwares.
+
This command fetches and install eclipse software on the system
  
 +
Notice line that reads  '''Need to get 10.8 MB...'''
 +
  
Now hit '''ENTER'''.
+
Depending on your system, this number will be different and depending on your internet speed, the time required to fetch the packages
 
+
At the prompt of '''y''' or '''n'' type y and hit enter.
 
+
All the required packages are downloaded and unpacked  in to the system
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.
+
  
 
|-
 
|-
Line 276: Line 258:
  
 
'''Hit Enter'''.
 
'''Hit Enter'''.
| style="border:0.035cm solid #000000;padding:0.176cm;"| After the list of softwares is fetched, type
+
| style="border:0.035cm solid #000000;padding:0.176cm;"|
 
+
'''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. '''
 
The installation is complete when the terminal returns to '''DOLLAR PROMPT. '''
Line 315: Line 275:
  
 
'''Eclipse''' opens
 
'''Eclipse''' opens
| style="border:0.035cm solid #000000;padding:0.176cm;"| Press and hold the '''Alt''' key and press '''F2''' key.
+
| style="border:0.035cm solid #000000;padding:0.176cm;"| Press '''Alt''' '''F2''' in the dialog box type eclipse and hit enter
  
  
This opens a dialog box for launching applications.
+
This launches the eclipse applications.
  
  
Type '''eclipse''' in the box and hit '''Enter'''.
+
 
+
 
+
This launches eclipse application.
+
  
  
Line 331: Line 288:
 
|-
 
|-
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| Click '''OK''' at the workspace window.
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| Click '''OK''' at the workspace window.
| style="border:0.035cm solid #000000;padding:0.176cm;"| We get a prompt called '''Workspace Launcher.''' Simply click '''OK''' to proceed.
+
| style="border:0.035cm solid #000000;padding:0.176cm;"| We get   '''Workspace Launcher prompt.'''   click '''OK''' to proceed.
  
 
|-
 
|-
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| Point to “Welcome Page” in Eclipse
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| Point to “Welcome Page” in Eclipse
| style="border:0.035cm solid #000000;padding:0.176cm;"| Here we have the “'''Welcome to Eclipse'''” page. We can see that eclipse has been installed successfully.
+
| style="border:0.035cm solid #000000;padding:0.176cm;"| And we get “'''Welcome to Eclipse'''” page. This means  eclipse has been successfully installed on your system .
  
 
|-
 
|-
Line 351: Line 308:
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| The process for installing '''Eclipse''' on '''Debian''', '''Kubuntu and Xubuntu '''is the same as that on '''Ubuntu.'''
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| The process for installing '''Eclipse''' on '''Debian''', '''Kubuntu and Xubuntu '''is the same as that on '''Ubuntu.'''
  
|-
+
|-  
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| Slide 7
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| Slide 7
  
Line 367: Line 324:
  
  
For fetching the software list, use '''sudo SPACE yum SPACE update.'''
+
For fetching the list of  software  , use '''sudo SPACE yum SPACE update.'''
  
  
Line 393: Line 350:
  
  
| style="border:0.035cm solid #000000;padding:0.176cm;"| We have seen how to install '''Eclipse''' on '''Ubuntu and similar OS''' and '''Redhat and similar OS.'''
+
| style="border:0.035cm solid #000000;padding:0.176cm;"| This brings us to the end of the  tutorial We have seen how to install '''Eclipse''' on '''Ubuntu and similar OS''' and on  '''Redhat and similar OS.'''
  
 
|-
 
|-
Line 399: Line 356:
  
 
'''Assignment'''
 
'''Assignment'''
| style="border:0.035cm solid #000000;padding:0.176cm;"| Find out more operating systems on which the installation procedure is same as that on '''Ubuntu'''.
+
| style="border:0.035cm solid #000000;padding:0.176cm;"|As an assignment for this tutorial  Find out more operating systems that have similar installation procedure for eclipse
 
+
 
|-
 
|-
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| Slide 11
 
| style="border:0.035cm solid #000000;padding:0.176cm;"| Slide 11

Latest revision as of 12:14, 7 May 2013

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 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 .


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
Then prompt it and tpe the password.



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

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

NOw type


export SPACE

http UNDERSCORE proxy

EQUAL TO

http://tsuser:tspwd@10.24.0.2:8080

In this command , tsuser is the username for proxy authentication and tspwd is the password.


Please change these values to suit your need.

10.24.0.2 is the host address of proxy and 8080 is the port number.


Change these details also, to suit your need press enter


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 username and password and.


Hit Enter

These commands set the http proxy. We know how 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 remove user name and password and


Hit ENTER.


This command sets the https proxy. We know how to set the https proxy. Press up arrow to get the previous command and type to change s http to https and hit enter. We have now successfully set the proxy

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


Type clear at the prompt Type clear and hit enter 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 install space eclipse. and hit enter


This command fetches and install eclipse software on the system

Notice 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 At the prompt of y' or n type y and hit enter. All the required packages are downloaded and unpacked in to the system


Type on the terminal


sudo apt-get install eclipse


Hit Enter.


Type y.


Hit Enter.


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 Alt F2 in the dialog box type eclipse and hit enter


This launches the eclipse applications.



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

Click OK at the workspace window. We get Workspace Launcher prompt. click OK to proceed.
Point to “Welcome Page” in Eclipse And we get “Welcome to Eclipse” page. This means eclipse has been successfully installed on your system .
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 list of software , 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


This brings us to the end of the tutorial We have seen how to install Eclipse on Ubuntu and similar OS and on Redhat and similar OS.
Slide 10

Assignment

As an assignment for this tutorial Find out more operating systems that have similar installation procedure for eclipse
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