PERL/C2/Overview-and-Installation-of-PERL/English-timed

From Script | Spoken-Tutorial
Revision as of 15:02, 10 March 2017 by PoojaMoolya (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Time Narration
00:01 Welcome to the spoken tutorial on PERL Overview and Installation of Perl.
00:08 In this tutorial, I'll take you through
00:10 PERL overview along with installation steps for PERL on Ubuntu-Linux and Windows operating system.
00:20 For this tutorial: You must be connected to the Internet.
00:25 You must have Ubuntu Linux and Windows Operating System.
00:30 For demonstration purpose, I will be using Ubuntu Linux 12.04 and Windows 7 operating system.
00:39 For Ubuntu Linux installation, you must have Synaptic Package Manager installed on your system.
00:47 You must have administrative rights.
00:50 And you must also have knowledge of using Terminal and Synaptic Package Manager in Ubuntu.
00:57 If not, please see the Linux series available on the Spoken Tutorial website.
01:03 Let me give you an overview of PERL language.
01:07 PERL is an acronym which stands for Practical Extraction and Reporting Language.
01:14 It is a general-purpose programming language.
01:18 It was originally developed for text manipulation.
01:23 Now, it is used for web development, network programming, GUI development etc.
01:31 It is simple and very easy to understand.
01:35 It does not have complex data structures like in C or JAVA.
01:41 It is well known for pattern matching.
01:45 And most importantly, PERL is an open source language.
01:49 PERL comes pre-loaded on Ubuntu Linux 12.04 OS.
01:56 There is no specific procedure to be followed for installation.
02:01 Let us check the installed version of PERL on Ubuntu 12.04.
02:07 Open the terminal by pressing Ctrl + Alt + t simultaneously on the keyboard.
02:15 Then, type perl hyphen v
02:18 and then press Enter.
02:21 You will get an output as displayed here on the terminal.
02:26 This output shows us the current installed version of PERL.
02:31 In my case, it is PERL 5.14.2 .
02:36 Let us check the default PERL packages available on Ubuntu 12.04.
02:43 Let's go to the launcher bar and click on Dash Home.
02:48 In the search bar, type: Synaptic.
02:51 Synaptic Package Manager icon will be visible.
02:55 Click on it.
02:57 You will be prompted for your admin password for Authentication purpose.
03:03 Enter your admin password and click on Authenticate.
03:08 Immediately, Synaptic Package Manager will load the package list.
03:13 This may take some time depending on your internet and system speed.
03:18 Once loaded, type Perl in Quick Filter.
03:22 You will see a list of packages.
03:25 The green color solid-filled check-box before a perl package indicates that it is already installed
03:33 whereas check-boxes with star marks indicate that you may need these packages as well.
03:41 These will help you to create a documentation or debug a PERL script.
03:47 Install any of the missing packages depending on your future use of PERL.
03:54 Let us now go through the steps to install PERL on Windows Operating System.
04:00 At the time of recording the Perl tutorials, version 5.14.2 was available in Windows.
04:08 Now, there is a new PERL version available.
04:12 I will be demonstrating the installation using the new PERL version 5.16.3 .
04:19 All the PERL commands shown in the tutorials will work perfectly on the new version as well.
04:26 Open the browser on Windows Operating System,
04:30 and in the address bar, type the URL as shown.
04:35 You will be directed to the download page of PERL.
04:39 Select the download version as per your system specifications.
04:44 In my case, It will be 32 bit version of PERL.
04:49 Save the Perl msi file on your computer, in a location of your choice.
04:56 I have already saved it on my machine.
05:00 Open the folder where you have downloaded PERL msi file and double-click on it.
05:07 Then click on Run in the pop-up window.
05:11 Click on Next in the Setup Wizard window.
05:15 Accept the License Agreement when prompted and then click on Next.
05:21 Now, Custom Setup window will appear.
05:25 This window lists all the PERL features that get installed.
05:31 These are: Perl
05:33 PPM utility, used to download and install Perl Modules on Windows
05:39 Documentation which provides the documentation for Perl Modules and
05:44 Examples of Perl.
05:47 Keep all these default features and click on Next.
05:52 A popup window for setting environmental variable and file extension will appear.
05:59 Keep the check-box checked, as shown here.
06:03 Click on Next and then Install.
06:07 This will start the installation of PERL.
06:11 This may take some time depending on your internet speed.
06:16 Once done, uncheck the Display release note check-box and then click on Finish.
06:23 This completes the installation of PERL on Windows.
06:27 Now let us verify the installation.
06:32 Go to Start menu and type cmd to open the command prompt.
06:39 On the command prompt, type: perl space hyphen v
06:44 and press Enter.
06:46 You will see the installed version of PERL.
06:50 If it doesn't show the version, repeat the above installation steps once again.
06:57 Now let us execute a simple Hello Perl program.
07:02 This file has been provided to you along with this tutorial, in the "Code Files" link, below the player.
07:11 Please download and use this file.
07:14 I had saved the file in users\Amol directory on my system.
07:21 So, let's go there.
07:23 Then type: perl sampleProgram.pl
07:28 and press Enter.
07:30 Hello Perl will get printed on the command prompt, as shown.
07:35 Let us summarize.
07:37 In this tutorial, we have learnt:
07:40 Overview of PERL and
07:43 Installation instructions of PERL for Ubuntu Linux 12.04 and Windows 7.
07:50 Watch the video available at the following link:
07:54 It summarizes the Spoken Tutorial project.
07:58 If you do not have good bandwidth, you can download and watch it.
08:03 The Spoken Tutorial project team:
08:06 Conducts workshops using spoken tutorials.
08:10 Gives certificates to those who pass an online test.
08:15 For more details, please write to:
08:18 contact at spoken hyphen tutorial dot org
08:23 Spoken Tutorial project is a part of the "Talk to a Teacher" project.
08:29 It is supported by the National Mission on Education through ICT, MHRD, Government of India.
08:38 More information on this mission is available at spoken hyphen tutorial dot org slash NMEICT hyphen Intro.
08:50 Hope you enjoyed this Perl tutorial.
08:53 This is Amol Brahmankar, signing off.
08:56 Thanks for joining.

Contributors and Content Editors

PoojaMoolya, Ranjana, Sandhya.np14