We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.
Difference between revisions of "OLA Install Using MacPorts"
From wiki.openlighting.org
(Created page with "Installing OLA using MacPorts is very easy. It can take a while the first time because you'll need to download XCode & the OLA dependancies. * Install [http://developer.app…") |
DeepSymmetry (talk | contribs) m (Update Xcode download instructions, mention Homebrew alternative) |
||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | Installing [[OLA]] using MacPorts is very easy. It can take a while the first time because you | + | Installing [[OLA]] using MacPorts is very easy. It can take a while the first time because you may need to download XCode and the OLA dependencies. |
+ | : If you are not already using MacPorts for other reasons, you may want to consider using the more modern Homebrew package manager instead, and see [[OLA Install Using Homebrew]]. Homebrew is simpler to install and maintain, especially across OS upgrades, and tends to have a better selection and more up-to-date packages. | ||
− | * Install [http://developer.apple.com/technology/xcode.html Xcode] . | + | |
− | * Install [http://www.macports.org/ MacPorts], | + | * Install [http://developer.apple.com/technology/xcode.html Xcode]. Recent releases have returned to being free downloads. |
+ | * Install [http://www.macports.org/install.php MacPorts], by following the instructions on the MacPorts site. You don't need to install X11. | ||
* Install OLA and all the dependancies by running | * Install OLA and all the dependancies by running | ||
− | + | sudo port install ola | |
+ | |||
+ | This will take a while the first time as it downloads and installs everything. Once it's complete you can continue to [[Using OLA]] | ||
+ | == Variants == | ||
+ | |||
+ | There are different features that can be turned on or off. In the MacPorts world these are known as [http://guide.macports.org/#development.variants variants]. The default is to enable all of the commonly used features so you shouldn't need to change this. You can see what variants are available for ola by running | ||
+ | |||
+ | port variants ola | ||
+ | |||
+ | For 0.8.18 this is what you get: | ||
+ | |||
+ | <pre> | ||
+ | [+]http: Build with embedded web server | ||
+ | [+]libusb: Build with libusb support | ||
+ | python26: Enable the Python 2.6 API | ||
+ | * conflicts with python27 | ||
+ | [+]python27: Enable the Python 2.7 API | ||
+ | * conflicts with python26 | ||
+ | universal: Build for multiple architectures | ||
+ | </pre> | ||
+ | |||
+ | The + sign means the variant is enabled. In this instance the ola port will be built with support for the web interface, libusb support and the Python 2.7 client libraries. | ||
+ | |||
+ | == Updating == | ||
+ | |||
+ | You can subscribe to the [https://groups.google.com/forum/?fromgroups#!forum/open-lighting-announce Open Lighting Announce] list to be notified of new releases. To update simply run: | ||
+ | |||
+ | <pre> | ||
+ | sudo port selfupdate | ||
+ | sudo port upgrade outdated | ||
+ | </pre> |
Latest revision as of 15:01, 5 January 2016
Installing OLA using MacPorts is very easy. It can take a while the first time because you may need to download XCode and the OLA dependencies.
- If you are not already using MacPorts for other reasons, you may want to consider using the more modern Homebrew package manager instead, and see OLA Install Using Homebrew. Homebrew is simpler to install and maintain, especially across OS upgrades, and tends to have a better selection and more up-to-date packages.
- Install Xcode. Recent releases have returned to being free downloads.
- Install MacPorts, by following the instructions on the MacPorts site. You don't need to install X11.
- Install OLA and all the dependancies by running
sudo port install ola
This will take a while the first time as it downloads and installs everything. Once it's complete you can continue to Using OLA
Variants
There are different features that can be turned on or off. In the MacPorts world these are known as variants. The default is to enable all of the commonly used features so you shouldn't need to change this. You can see what variants are available for ola by running
port variants ola
For 0.8.18 this is what you get:
[+]http: Build with embedded web server [+]libusb: Build with libusb support python26: Enable the Python 2.6 API * conflicts with python27 [+]python27: Enable the Python 2.7 API * conflicts with python26 universal: Build for multiple architectures
The + sign means the variant is enabled. In this instance the ola port will be built with support for the web interface, libusb support and the Python 2.7 client libraries.
Updating
You can subscribe to the Open Lighting Announce list to be notified of new releases. To update simply run:
sudo port selfupdate sudo port upgrade outdated