install:macos

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 revisionBoth sides next revision
install:macos [2020/05/13 23:39] – ↷ Links adapted because of a move operation lkastnerinstall:macos [2021/03/01 11:06] schroeter
Line 28: Line 28:
 If that returns a //File not found// error then run If that returns a //File not found// error then run
 <code>sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -allowUntrusted -target /</code> <code>sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -allowUntrusted -target /</code>
-This will ask for your passoword. You need to be an administrator of your Mac to run this command. If this fails, then run+This will ask for your password. You need to be an administrator of your Mac to run this command. If this fails, then run
 <code> <code>
 softwareupdate -l softwareupdate -l
Line 49: Line 49:
 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
Line 55: Line 55:
 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>
  
  • install/macos.txt
  • Last modified: 2024/04/11 16:57
  • by paffenholz