Octave installieren in OsX 10.10.5 mit fink

  • von

0) update xcode to version > 6.0 with appstore or if not available anymore (as in my case) for osx 10.10 go to the apple developer website and download eg. xcode 7.2.

before you copy the downloaded xcode to your program-folder, delete the old xcode (eg. with appcleaner) and empty the trash. when starting xcode 7.2 from the program folder apple gatekeeper will check the app-code. this validation may take up to 6-7 hours. xcode installed successfully…

(several issues known, that validation takes very long or never ends. try reinstalling it, before using xattr like written here: http://stackoverflow.com/questions/25996484/xcode-wont-start-stuck-on-verifying-xcode )

1) xcode command line tools installieren (über terminal):

sudo xcode-select --install

–> installationsfenster taucht auf. akzeptieren und installieren.

2) ausgehend davon, dass fink bereits installiert ist (finkproject.org):

-> herausfinden, ob fink i386 oder x64:

file /sw/bin/fink /sw/bin/apt-get /sw/bin/dpkg

a1) fink cleanup --deb

a2) fink selfupdate

a3) fink selfupdate

sollte fink veraltet sein (zb i386) oder das selfupdate nicht funktionieren ( http://www.finkproject.org/download/srcdist.php ):

b1) download fink (eg. 0.41.0)

b2) go to fink download folder (eg. Downloads/fink-0.41.0) and type

./bootstrap
/sw/bin/pathsetup.sh

–> restart the osx Terminal to make changes take effect

fink selfupdate-rsync
fink index -f
fink update-all

–> check version again:

file /sw/bin/fink /sw/bin/apt-get /sw/bin/dpkg

3) bei i386 (bzw x64) octave-install befehl ausführen (siehe: http://wiki.octave.org/Octave_for_MacOS_X ):

fink install octave-atlas-qtmac (bzw fink install octave-qtmac if i386 version)

after installation process it is possible to start octave in terminal typing ‚octave‘ or ‚octave –force-gui‘

last step: follow the instructions for creating an app using apple script in the wiki.octave.org article.
for me typing the following to the apple script editor and saving as .app for the gui-version worked fine:

tell application "Terminal"
 do script "octave --force-gui"
end tell