Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

Like this? Share it with your network

Share

Perl5環境構築 Kansaipm#13

on

  • 2,336 views

 

Statistics

Views

Total Views
2,336
Views on SlideShare
2,187
Embed Views
149

Actions

Likes
1
Downloads
2
Comments
0

5 Embeds 149

http://d.hatena.ne.jp 145
http://orhowilearnedtolovetheperl.com 1
http://webcache.googleusercontent.com 1
http://paper.li 1
http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />

Perl5環境構築 Kansaipm#13 Presentation Transcript

  • 1. % curl -LO http://xrl.us/perlbrew # wget --no-check-certificate http://xrl.us/perlbrew % chmod +x ./perlbrew % ./perlbrew install % rm perlbrew
  • 2. % export PERLBREW_ROOT=/mnt/perlbrew % ./perlbrew install
  • 3. % ~/perl5/perlbrew/perlbrew init % echo source~/perl5/perlbrew/etc/bashrc >> ~/.zshrc #(or .bashrc) % echo source ~/perl5/perlbrew/etc/cshrc >> ~/.cshrc #(or .tcshrc)
  • 4. #perl % perlbrew install perl-5.12.2 # % perlbrew switch perl-5.12.2
  • 5. # perl % perlbrew off # perl % perlbrew use perl-5.12.2
  • 6. # % perlbrew install perl-5.12.2 --as myperl # git clone % git clone git://github.com/mirrors/ perl.git % perlbrew install perl
  • 7. # mirror # or URL/ % perlbrew mirror
  • 8. #cpanm # % perlbrew install_cpanm
  • 9. % curl -LO http://xrl.us/perlbrew % perl perlbrew install % rm perlbrew
  • 10. fpath=($HOME/.zsh/functions $fpath) autoload -Uz compinit compinit
  • 11. % curl -L http://cpanmin.us/ | perl - App::cpanminus % wget --no-check-certificate -O - http://cpanmin.us/ | perl - App::cpanminus
  • 12. # Module % cpanm Module # full distribution path % cpanm MIYAGAWA/Plack-1.0000.tar.gz # from localfile % cpanm ~/mydists/MyCompany- Framework-1.0.tar.gz
  • 13. # from URL % cpanm http://example.com/ MyModule-0.1.tar.gz # from github % cpanm http://github.com/miyagawa/ Tatsumaki/tarball/master # % cpanm --interactive Task::Kensho
  • 14. # # # # git % cpanm --installdeps .
  • 15. # minicpan darkpan % cpanm --mirror ~/minicpan Module % cpanm --mirror http:// mycompany.example.com/DPAN
  • 16. # mirror # CPAN Meta DB search.cpan.org % cpanm --mirror ~/minicpan -- mirror-only Module
  • 17. # % alias minicpanm='cpanm --mirror ~/minicpan --mirror-only' % alias darkpan='cpanm --mirror http://mycompany.example.com/DPAN --mirror-only'
  • 18. #local::lib % cpanm local::lib #extlib % cpanm -l extlib Module # % cpanm -L extlib Module
  • 19. % cpanm App::cpanoutdated
  • 20. # % cpan-outdated # % cpan-outdated | cpanm
  • 21. # % cpan-outdated --mirror ~/minicpan # % cpan-outdated --mirror ~/minicpan | cpanm --mirror ~/minicpan
  • 22. #local::lib % cpan-outdated -L extlib #local::lib % cpan-outdated -L extlib | cpanm -L extlib
  • 23. % cpanm App::pmuninstall
  • 24. % pm-uninstall Module