[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave for Mac OSX?
From: |
Alois Schloegl |
Subject: |
Re: Octave for Mac OSX? |
Date: |
Fri, 04 Sep 2015 09:04:06 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 2015-09-03 21:02, Vic Norton wrote:
> What is the situation with Octave for Mac OSX?
> 1. Are their any ports of Octave 3.8 to OSX 10.10?
We did numerous installations of Octave 3.8.2 with homebrew on MacOSX
10.10.x. using the following steps:
# 0) if you have Cask/Octave installed, remove it:
brew cask uninstall octave
brew cask cleanup
# and continue with step 4
# 1) Install XCode from App Store
xcode-select --install
# 2) install homebrew
ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)"
# 3) Install prerequisites and recommendations for Octave
brew install caskroom/cask/brew-cask
brew cask install xquartz
brew cask install mactex
brew install curl
# 4) install Octave
brew tap homebrew/science
export PATH="$PATH:/usr/texbin"
brew install octave --with-docs
# 5) start Octave
# 5.1) from terminal
octave
octave --force-gui
# 6) install additional packages (i.e. toolboxes).
# For example if you need the image processing toolbox, run
pkg install -forge general
pkg install -forge control
pkg install -forge signal
pkg install -forge image
pkg load image
# Other useful packages are:
pkg install -forge bioinfo io ltfat nan struct optim splines
statistics symbolic tsa
The "--with-docs" argument in #4) is import for installing some
additional packages through octave's "pkg" command.
> 2. Are their any ports of Octave 4.0 to OSX 10.10?
AFAIK, 4.0 is not in homebrew, yet.
> 3. How about OSX 10.11 when it comes out this fall?
> 4. Has anybody tried the VM installer for OSX 10.10 mentioned on
> http://wiki.octave.org/Octave_for_MacOS_X
> Is that the only recourse for OSX 10.10 or 10.11?
>
> I'm really not worried about Octave 4.0, but I have to have at least
> 3.8. Functions within functions, which are required by my work, don't
> work in Octave versions < 3.8.
>
> Any answers would be greatly appreciated. I'm on Mac OSX 10.9 right no
w,
> and my Octave 3.8.2 works fine. I will forgo buying a new iMac this fa
ll
> if I know Octave won't work on Mac OSX 10.11.
I do not recommend buying Macs; keep you 10.9, but for your next
computer you should really look into Linux, too. It's so much easier to
maintain. Steps 0-5 above can be done with one line
apt-get install octave liboctave-dev
Personally, I'd recommend Debian, its stable and well tested, comes with
plenty of software, and has good support for upgrades.
Regards,
Alois
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJV6UJmAAoJEBdbD2J3nb+M4S8H/0yH4pcJDr3a32BnDeNgYcd/
R+iKu0XWkJzVFT9a5XfKBeLaJvnhqzQcubvR1Mbrbzga63tM47IQQK9uDypqW1pN
ihkyNf985XPlqGkU5fiwg5cS9+/gO+qX+TO783FRNcvMYw3QdqFNQEJDARBUWb1O
BzChkPYeN0qRxs1P7uXts0HsoLPk/gc75Wz2XXdOcX2KGpC6N3LKqzwZeqalgw73
K7BEkIQ5agVU0iHNmrIfqfzS4vPI59ctgzGlql7uhVJI60ONZ+cgikM4/HsGzBHk
GiYuYYebeC7po+Vcmyw8GI16VIBuSJXXkfsN5FTlU0RaZzTXsU16naDYB0ID44w=
=iia5
-----END PGP SIGNATURE-----