Perl Install on Ubuntu

0 votes
I want to work on perl but don't know how to install it on ubuntu. Please suggest the steps to install perl on Ubuntu.
Mar 1 in Others by Ashmita
68 views

1 answer to this question.

0 votes

Hi Ashmita, on every ubuntu machine, perl comes pre-installed. But in case you have uninstalled it somehow or couldn't find it or even wants to upgrade it, you can simply follow these steps to install it:

1. To install the perl, use following commands one by one:

>>sudo apt-get update
>>sudo apt-get install perl

2. To upgrade the perl version, use following command:

>>sudo apt-get upgrade perl

3. Finally to check whether perl is installed properly or not, write this command in terminal:

>>perl -v

If you see a message same as shown in above image, you have successfully installed Perl on your ubuntu machine.

answered Mar 1 by Abha
• 27,200 points

Related Questions In Others

0 votes
1 answer

How to do Installation of Ruby on Rails on Linux (Ubuntu)?

Hi Pratibha, installing ROR on ubuntu is ...READ MORE

answered Mar 1 in Others by Anvi
• 13,960 points
98 views
0 votes
1 answer

Golang on Linux... How to install it?

Hey @Abhi, if you want to install ...READ MORE

answered Mar 1 in Others by Anvi
• 13,960 points
103 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Install postgreSQL on Ubuntu

Installing PostgreSQL on Ubuntu is very simple, ...READ MORE

answered Mar 22 in Database by Nitesh
68 views
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
101 views
0 votes
1 answer

Install Python on Ubuntu

@Abha you are right about pre-installation of python, ...READ MORE

answered Mar 1 in Python by Pratibha
• 3,680 points
76 views
0 votes
1 answer

How do I install Ruby on Rails?

Hi @Anvi, what @Pratibha has mentioned is ...READ MORE

answered Feb 28 in Others by Abha
• 27,200 points
70 views
0 votes
1 answer

Installing PHP on Ubuntu

Hi Vijay, althought its not necessary to ...READ MORE

answered Mar 1 in Others by Abha
• 27,200 points
41 views