How do you install Intel TBB on OS X? - macos

How do you properly install the open source version of Intel Thread Building Blocks (TBB) on OS X 10.6? The open source version doesn't seem to have a proper install script.
http://www.threadingbuildingblocks.org/ver.php?fid=154

I found an easy way to install it:
brew install tbb
Requires Homebrew, which is highly recommended for any Mac user wanting to use various open source tools.

There is a tutorial for using TBB 2.2 on a Mac without MacPorts/Homebrew. Maybe that's of help for you!

Related

Can I install emacs 24.5 on OS X El Capitan without deleting the native OS X emacs?

I want to install the latest version of emacs, but if I do this will it be in conflict with the version that comes pre-packaged with os x? Do I need to delete the native emacs? Also, it seems emacsforosx.com is a popular option, but I lot of people swear by homebrew... why would I go with one option over the other?
There is no reason to remove the system-supplied Emacs; any well-behaved, properly packaged third-party version will install fine alongside, not over, the system binaries and libraries.
Installing a current version of emacs is normal practice because the OSX provided version is outdated. You have a number of options, but I've found using the 'homebrew' method the easiest.
Due to changes in OSX 10.11, you need to take some additional steps when installing homebrew. If you already have homebrew installed, you will probably need to 'fix' the permissions on /usr/local. If you don't have homebrew installed, then there are some additional steps you will need to take to create the /usr/local path. This is documented on the hombrew site at El Capitan and Homebrew

Python 3.5 for OS X El Capitan

I am using OS X El Capitan and my default Python version is 2.7.10.
How can I change the default version to Python 3.5 for Terminal use?
El Capitan comes bundled with 2.7 and is used internally, so its best you don't do anything with it.
The easiest way is to download the Mac installer,
https://www.python.org/ftp/python/3.5.0/python-3.5.0-macosx10.6.pkg
Install it by following the steps in the GUI, go to terminal and to start python type,
python3
For Brew, kindly refer to the document,
Installing Python on Mac OS X
It has a step-by-step guide to help you through the entire process of installing python 3.x
Regards.
Leave Python 2.X as it is.
Download Python either from https://www.python.org/ftp/python/3.5.0/python-3.5.0-macosx10.6.pkg or HomeBrew or via Anaconda from https://www.continuum.io/downloads.
add an alias in your ~/.bash_profile as follows
alias python='python3'
Hope that helped
you can use other answers and update your python version (actually you shouldnt update 2.7 because it makes problems for your applications that uses that version of python) OR
Use
Python3
Because you have it already
for your works like making virtual environments in that version.
My suggestion for you if you want to use different python versions on your system that could be so useful for ML and Data minings is USING
Pyenv
helps you manage you python versions.

Mac OS X Lion - compiling Q

We're installing a bunch of GNU tools and just upgraded xcode to 4.3 and downloaded and installed all the gcc tools through it.
Now we're trying to install wget, which requires a few other packges, some of which are complaining that /usr/local/share/info does not exist.
Where is the correct or preferred location for things to install under Lion / xcode? /Developer/usr/local?
I've found a number of good reference here but none that answer this specific quandary.
Suggestion greatly - GREATLY! - appreciated.
Have you tried MacPorts, which has a port for wget?

Where can I find instructions on how to install Vala on my Mac?

I'm looking into learn the Vala programming language where can I find somewhere to show me how to install it on my Mac?
Another way to install it is using Homebrew.
brew install vala
The advantage of Homebrew over Macports is that it tries to rely as much on what is provided by the native OS as possible without installing any additional duplicate libraries.
A good way to install it is to use MacPorts. MacPorts gives you access to Vala and many of the libraries often used with Vala.
I'd start with MonoDevelop and it's installation instructions. There's a Vala plug-in for it.

confused about macports

I am using MacBook Pro Mac OS 10.5 with related version of XCode. I am new to this development environment. I am learning macports, and I read information about macports from http://www.macports.org/. But I am still confused what macports is after reading information from this site.
I am previous working on Windows and Linux, could anyone let me know what macports is (in easy words) and what is the similar item on Windows/Linux?
thanks in avdance,
George
macports is a way of getting executables and other compiled code installed on your computer without having to work out the details of compiling/linking each apllication.
It is equivalent to a package manager under Linux and other Unicies. There is no direct equivalent under Windows.
It is just a convenient way to install a lot of *nix soft on your mac book. They are installed separately (not overwriting) from binaries/daemons/libs already installed on your mac (by default in folder /opl/local). Also they are much fresher than those installed on your mac.
For example 10.6 ships with bash 3.2, but after running sudo port install bash, you will get version 4.x (to make it your default shell add /opt/local/bin/bash to file /private/etc/shells, run chsh -s /opt/local/bin/bash and reopen terminal).
Note other os x package managers: fink and homebrew (superuser question)

Resources