LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2010, 06:12 AM   #1
bald-top
LQ Newbie
 
Registered: Jan 2010
Posts: 12

Rep: Reputation: 0
Where?


I know i have the latest version of Perl installed on my computer because i have checked via Synaptic Package Manager and via a terminal using: Perl -v. But could someone tell me where the software is actually stored. I have tried looking for: /usr/local/bin/perl/ but failed. I am running Ubuntu. Thanks
 
Old 02-04-2010, 06:19 AM   #2
pielas
Member
 
Registered: Jan 2009
Location: Poland
Distribution: Arch Linux
Posts: 50

Rep: Reputation: 17
Try look at output of this command:
Code:
whereis perl

Last edited by pielas; 02-04-2010 at 06:21 AM.
 
Old 02-04-2010, 06:24 AM   #3
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
/usr/bin/perl give the location of the perl interpretor, many programing books mention the location as usr/loacl/bin/perl, but this is not correct in ubuntu.
In ubuntu perl interpretor is located at usr/bin/perl.

so neglect that, write a perl script and then run.
 
Old 02-04-2010, 07:04 AM   #4
bald-top
LQ Newbie
 
Registered: Jan 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Many thanks for the help both.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration