[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
perlbrew [2014/05/22 19:24]
popel
perlbrew [2014/05/22 20:04]
popel
Line 16: Line 16:
 ===== How to use Perlbrew ===== ===== How to use Perlbrew =====
   perlbrew list               # Which perl versions are installed?   perlbrew list               # Which perl versions are installed?
-  perlbrew use perl-5.16.   # use one of these perls for the current shell +  perlbrew use perl-5.18.   # use one of these perls for the current shell 
-  perlbrew switch perl-5.16.# use this perl version permanently+  perlbrew switch perl-5.18.# use this perl version permanently
   perlbrew off                # return to the system installation of perl   perlbrew off                # return to the system installation of perl
  
 You can read [[https://metacpan.org/pod/distribution/App-perlbrew/bin/perlbrew|the full Perlbrew documentation]] (but it should not be needed). You can read [[https://metacpan.org/pod/distribution/App-perlbrew/bin/perlbrew|the full Perlbrew documentation]] (but it should not be needed).
 +Note that there is a separate Perlbrew environment for each architecture (32bit vs. 64bit machines) at ÚFAL, so if you switch to perl-5.18.2 on 32bit machines, you need to do it again on 64bit machines if you want to use perl-5.18.2 on both.
  
 ===== How to install missing modules from CPAN ===== ===== How to install missing modules from CPAN =====
Line 37: Line 38:
  
 Useful switch for ''cpanm'' is ''-n'' (notest, useful e.g. for ''cpanm -n Tk''). See ''cpanm -h'' for more (e.g. installing from github, installing to your own local-lib). Useful switch for ''cpanm'' is ''-n'' (notest, useful e.g. for ''cpanm -n Tk''). See ''cpanm -h'' for more (e.g. installing from github, installing to your own local-lib).
-You can install the modules also manually (''perl Build.PL && ./Build && ./Build test && ./Build install''). There is no need to set ''--prefix'' nor ''--install_base'', because you (everyone group ufal) have write access to the shared ÚFAL perlbrew repository.+You can install the modules also manually (''perl Build.PL && ./Build && ./Build test && ./Build install''). There is no need to set ''prefix'' nor ''install_base'', because you (everyone from the group ''ufal'') have write access to the shared ÚFAL perlbrew repository.
  
 ===== How to install new Perl version ===== ===== How to install new Perl version =====

[ Back to the navigation ] [ Back to the content ]