Instaling Perl 6 on Mac OS

I have version 5 currently...

My-MBP-2:~ newbieweb$ perl -v

This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level
(with 2 registered patches, see perl -V for more detail)

Copyright 1987-2013, Larry Wall

and I run El Capitan

I need to instal Perl 6 but be sure in no way that it impacts the current installation of Perl 5, which is used by my system.

Thanks.
newbiewebSr. Software EngineerAsked:
Who is Participating?
 
wilcoxonCommented:
It is unlikely that Perl 6 is already installed.

To install it, you can follow the instructions at https://perl6.org/downloads/.

Given that Perl 6 is designed as a companion language for Perl 5 and not a replacement, installing Perl 6 should have absolutely no impact on Perl 5.
0
 
arnoldCommented:
How are you currently using perl?
You can get a perl 6 package and install it.
Look at the perl 6 changelogs to see whether a way you currently use perl scripts use functions that are not available in perl 6.

The above is the other side of the coin for the following question, what feature, capability do you need that is only available in the 6th version.
0
 
newbiewebSr. Software EngineerAuthor Commented:
I prefer Perl 6 for its coding expressiveness and the clarity of its Math package.

I do not code in perl 5 nor do I know where to look for the Changelogs you mentioned.

Are you suggesting that El Capitan may have Perl 6 installed by default? Or that some program may have installed it already?

If so, how would I find this out from Terminal? Or, how do I find the Changelogs?
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
arnoldCommented:
I am not seeing perl6 binaries ...

You would need to get the source from perl6.org and compile it yourself.
0
 
newbiewebSr. Software EngineerAuthor Commented:
I am not sure what you mean.

I am trying to determine if Perl 6 is already installed and otherwise what steps to take to safely install it.

You said the Changelogs my say, but I do not know where to find those nor what to look for.
0
 
arnoldCommented:
YOu have to download the source code of perl6 from perl6.org
You then need to use gcc or g++ to compile the source into the application that you would then need to install on your OS X mac.
The source includes README and INSTALL directives generally.  At this point, there is no OS X package or distribution of perl6 that you can download and install.....

www.perl6.org is where you will find all the information.
The various options to download the dmg pacakge is through https://perl6.org/downloads/
0
 
newbiewebSr. Software EngineerAuthor Commented:
I see. For a Mac OS simply download:

rakudo-star-2017.10.dmg      

Is that an executable file for the Mac? I feel best using automation for installation to lower my risk of me making a flawed installation.

Or, does this dmg file contain a set of files that I need to manage?
0
 
arnoldCommented:
download the item,....

See if the following helps:
http://www.ofzenandcomputing.com/how-to-install-dmg-files-mac/
0
 
newbiewebSr. Software EngineerAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.