[ 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
Previous revision
Next revision Both sides next revision
perlbrew [2014/11/07 14:58]
popel
perlbrew [2016/04/27 11:38]
ufal +problems on atlas
Line 8: Line 8:
 Add to your ''~/.bashrc'': Add to your ''~/.bashrc'':
  
-  source /net/work/projects/perlbrew/init +  if [ -e /opt/bin/perl ] 
-  eval "$(bash-complete setup)"+  then 
 +      source /net/work/projects/perlbrew/init 
 +      eval "$(bash-complete setup)" 
 +  fi
  
 +The "if" seems to be necessary to avoid invoking Perlbrew e.g. on the atlas machine, where it fails and damages the $PATH variable.
 The second line is optional, but it enables [[https://metacpan.org/pod/Bash::Completion|Bash Completion]] for [[http://perlbrew.pl/|perlbrew]], [[https://metacpan.org/pod/App::cpanminus|cpanm]] and treex (if the respective ''Bash::Completion::Plugins::XY'' modules are installed). The second line is optional, but it enables [[https://metacpan.org/pod/Bash::Completion|Bash Completion]] for [[http://perlbrew.pl/|perlbrew]], [[https://metacpan.org/pod/App::cpanminus|cpanm]] and treex (if the respective ''Bash::Completion::Plugins::XY'' modules are installed).
 Make sure you have deleted (commented out) the old setup_platform setup (''source /net/work/projects/perl_repo/admin/bin/setup_platform'') from your ''~/.bashrc''. Make sure you have deleted (commented out) the old setup_platform setup (''source /net/work/projects/perl_repo/admin/bin/setup_platform'') from your ''~/.bashrc''.
Line 64: Line 68:
   # but to get support for XFT anti-aliased fonts on newer Ubuntu, let's do:   # but to get support for XFT anti-aliased fonts on newer Ubuntu, let's do:
   cpanm -n -v git://github.com/eserte/perl-tk.git   cpanm -n -v git://github.com/eserte/perl-tk.git
-  cpanm -n UNIVERSAL::DOES PerlIO::Util # these modules have (reported) errors, but we need them as dependencies+  cpanm -n PerlIO::Util # this module has (reported) errors
   cpanm < list.txt   cpanm < list.txt
  

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