This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
install:macos [2020/05/13 23:39] – ↷ Links adapted because of a move operation lkastner | install:macos [2020/05/31 23:16] – [Install Perlbrew] paffenholz |
---|
Installation instructions are [[https://perlbrew.pl/|here]]. In most cases it should be sufficient to copy and execute the first code line on that page into your terminal. Make sure you copy the whole line! | Installation instructions are [[https://perlbrew.pl/|here]]. In most cases it should be sufficient to copy and execute the first code line on that page into your terminal. Make sure you copy the whole line! |
| |
Now add some paths to your Terminal config and reload the config: | Now add some paths to your Terminal config and reload the config. For versions prior to 10.15 do |
<code> | <code> |
echo "export PERL5LIB=$HOME/perl5/lib/perl5:$HOME/perl5${PERL5LIB+:$PERL5LIB}" >> $HOME/.bash_profile | echo "export PERL5LIB=$HOME/perl5/lib/perl5:$HOME/perl5${PERL5LIB+:$PERL5LIB}" >> $HOME/.bash_profile |
echo 'export ARCHFLAGS="-arch x86_64"' >> $HOME/.bash_profile | echo 'export ARCHFLAGS="-arch x86_64"' >> $HOME/.bash_profile |
source $HOME/.bash_profile | source $HOME/.bash_profile |
| </code> |
| and for 10.15 do |
| <code> |
| echo "export PERL5LIB=$HOME/perl5/lib/perl5:$HOME/perl5${PERL5LIB+:$PERL5LIB}" >> $HOME/.zshrc |
| echo "source ~/perl5/perlbrew/etc/bashrc" >> $HOME/.zshrc |
| echo 'export ARCHFLAGS="-arch x86_64"' >> $HOME/.zshrc |
| source $HOME/.zshrc |
</code> | </code> |
| |