A good setup for Perl on OSX
来源:互联网 发布:mac怎样删除应用程序 编辑:程序博客网 时间:2024/05/01 05:53
A good setup for Perl on OSX:
- OSX Editors and Terminals
- Install "Command Line Tools for Xcode", either directly or through Xcode, both available from Apple Developer downloads (free registration required). Xcode can also be installed through the App Store application.
- Open the Terminal.app (found in Applications -> Utilities) and copy & paste the command below into it (then press the 'return' key):
curl -L http://xrl.us/installperlosx | bash
- Once this is finished (it takes several minutes), quit the Terminal app.
If you are interest in the details of the setup above...
- To build and install Perl and many of the thousands of useful Perl modules you need to have a compiler. For OSX the easiest way to get a compiler is to install "Command Line Tools for Xcode" (about 100 Megs), either directly or through Xcode (several Gigs), both available from Apple Developer downloads. Xcode is also available through the App Store application. Some versions of the OSX install DVD or SSD come with the 'developer tools', which contains Xcode. Only the 'unix tools' section of Xcode is actually required, no specific version of Xcode is needed, the latest is available directly through the App Store.
- To interact with the command line and run Perl commands, a terminal application is needed. OSX comes with Terminal.app by default, there are alternatives available as well.
- OSX uses .bash_profile, but most other systems (and instructions) look for .bashrc, this code sets up .bash_profie to also run anything in .bashrc. There are other differences but these are not important to us.
- The Perlbrew website lists many of it's advantages. We recommend it here because it separates your installation from the system Perl, this makes upgrading your OS less likely to cause issues with your own Perl setup. It also means you can use a newer Perl than the default one which comes with your OS.
- App-cpanminus provides the
cpanm
tool, which makes installing modules very simple to do.
0 0
- A good setup for Perl on OSX
- Setup docker on OSX
- Setup tftp+dhcp on Mac OSX for pxe
- A good paper on SPH
- a good article for Time_wait
- A Good Replacement for LoadRunner
- qmake for simple makefile on mac osx
- Qt for Android on Mac OSX部署
- Installing PCNTL for PHP on OSX Lion
- For Regarded on TV Home fitness equipment Good Spend money on there's a chance an awful idea
- Good queries on FND tables for Apps11i
- cygwin setup on windows for cocos2dx
- A good paper on software metaphor
- A good explaination on OpenVPN Routing
- A good Linux document on line
- A very good post on ASH.
- A pretty good article on Quantum Computing
- A good article on Eclipse Job
- Cesium学习(3)--局域网离线高程数据制作及加载
- Camera Ray Generation
- BOM与DOM(JS)
- 451.Swap Nodes in Pairs-两两交换链表中的节点(容易题)
- WebView的使用
- A good setup for Perl on OSX
- Longest SubString in leeTCode
- 关于cout输出缓冲区问题(转载和自己见解)
- 【iOS开发】理解IBOutlet、Outlet、referencing outlet、outlet connection
- Python 进阶_迭代器 & 列表解析
- javascript一句话
- Could not find action or result There is no Action mapped for namespace / and action name . - [unkno
- 【iOS开发】理解Action、IBACtion、Action Connection
- markdown编辑器怎么用?CSDN有最详细的说明