installed specific version of hdf5(1.8.16) mac - macos

I want to install hdf5 with a specific version: 1.8.16, but with the command, brew install hdf5, I got the newest version, 1.8.17, can you help me, I checked out some similar solutions, it does work.

Download your OS-specific hdf5-1.8.16.tar.gz
hdf5-1.8.16.el_capitan.bottle.tar.gz
hdf5-1.8.16.mavericks.bottle.tar.gz
hdf5-1.8.16.yosemite.bottle.tar.gz
Extract
mv hdf5 /usr/local/Cellar/
brew link hdf5

Related

uninstalled macports, and cannot use homebrew softwares anymore

I'm trying to remove duplicate opencv versions on my mac. It seems that I have installed using both homebrew and mac port, so I decided to uninstall mac port completely, following this guide
But when I uninstalled mac-port and softwares installed with port, I couldn't use softwares installed by brew anymore
$ brew install pkg-config
$ pkg-config
-bash: /opt/local/bin/pkg-config: No such file or directory
I guess it's because the system still believes that pkg-config is in mac-port location. But how to fix it? I haven't find solutions with google.
Thanks in advance!
problem solved by editing PATH setting in ~/.bash_profile (or bashrc).

Update cedet in emacs on Mac

I installed emacs using Home Brew but later I found the cedet bundled with emacs is out dated.
But when I followed the instructions in cedet official site, downloaded the tar file, un-tar it and run make in that dir, then I got 2 errors telling me ssomething is wrong with eieio... The version I want to install is cedet1.1...
How can I solve this?
Just update emacs to the newest version using homebrew, which should be 24.5.1. The cedet bundled with it is V2.0, which is the same as sf.

updating octave: linking the installation

I have OSX 10.10.5 with Octave 3.4.0 running (installed, who knows how, I did it a million different ways through port, file extraction, ftp, homebrew…). I tried to update my Programme (brew install octave or sudo port install octave) and Terminal spits out:
Warning: octave-3.8.2 already installed, it's just not linked
Okay, great. So I have a better programme somewhere installed. What now? How on earth am I supposed to “just link” the newer installation?
If you install octave with Homebrew and it doesn't link it it should tell you why. You can force Homebrew to link octave with
$ brew link --overwrite octave
You can also add the --dry-run option to check and see what Homebrew will do to link octave
$ brew link --overwrite --dry-run octave
A possible reason for Homebrew not linking octave is that you've installed it by another method, MacPorts for instance. It is not recommended that you use both Homebrew and MacPorts on the same system.

Installing Caffe (deep learning) issues

I have been able to install Caffe but I had a lot of issues and that's because I didn't follow the instructions very well.
I have a Mac OSx and I'm reading the OSx guide for installation.
In this point:
when I type hdf5 opencv I get:
"hdf5: command not found"
I've tried to install hdf5 by Homebrew and MacPorts but I'm still getting:
"hdf5: command not found"
Does anyone have any clue?
Thank you very much.
according to the answer of #mattias, my binaries in /usr/local/hdf5 are:
hdf5 is not a command or anything else. The documentation is just bad, it has to be:
brew tap homebrew/science hdf5 opencv
So, what I mean is, we have to install hdf5 and then link it to Caffe. But executing hdf5 is not what the guide meant.
You can install hdf5 from source. I just tested on OS X 10.9.5.
wget http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.14.tar
Unpack,
tar zxfv hdf5-1.8.14.tar
Enter directory
cd hdf5-1.8.14
And then,
./configure --prefix=/usr/local/hdf5 # or where you want it
make
sudo make install
Then you have it installed in /usr/local/hdf5.
Good luck!

How can I install qpdf on Mac 10.8.3?

When running R CMD check on packages on a Mac build server, I'm getting a warning
‘qpdf’ is needed for checks on size reduction of PDFs
I can't seem to get qpdf installed and on the system. I tried installing via the fink package manager, but according to the package database (http://pdb.finkproject.org/pdb/package.php/qpdf), qpdf doesn't seem to have been built since osx 10.6, and I'm on 10.8.3.
Can anyone point me to qpdf mac install or build instructions? Or is there a way to disable the warning when checking R packages?
This is somewhat related to the question qpdf.exe for compactPDF?, although they were on a windows machine and I'm on a mac.
You can install qpdf with homebrew:
brew install qpdf
MacPorts can help you. Download MacPorts from http://www.macports.org/ and run sudo port install qpdf.

Resources