sudo apt-get install git-core
sudo yum install git
I highly recommend MacPorts. Download the binary installer appropriate for the version of Mac OS X you are running and following their installation instructions. Usually that consists of saving a .dmg file, opening it, and opening up the .pkg file which kicks of the standard installer tool.
sudo port install flashbake
Installing via MacPorts also takes care of all of the dependencies, you only need to install the flashbake port itself; that’s it!
I have received one report of problems installing the port, as of September 18th. If the install breaks consistent with errors like the following:
> your-mac:~ you$ sudo port install flashbake > ---> Computing dependencies for flashbake > ---> Building py26-enum > Error: Target org.macports.build returned: shell command " cd > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.m > ac ports.org_release_ports_python_py26-enum/work/enum-0.4.4" && > /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2. > 6 setup.py --no-user-cfg build " returned error 1 Command output: > Traceback (most recent call last): > File "setup.py", line 17, in <module> > from setuptools import setup, find_packages > ImportError: No module named setuptools > > Error: The following dependencies failed to build: py26-enum > py26-feedparser py26-setuptools > Error: Status 1 encountered during processing.
then try manually updating the setuptools module.
your-mac:~ you$ sudo port install py26-setuptools ---> Computing dependencies for py26-setuptools ---> Fetching py26-setuptools ---> Attempting to fetch setuptools-0.6c9.tar.gz from http://distfiles.macports.org/python ---> Verifying checksum(s) for py26-setuptools ---> Extracting py26-setuptools ---> Configuring py26-setuptools ---> Building py26-setuptools ---> Staging py26-setuptools into destroot ---> Installing py26-setuptools @0.6c9_0 ---> Activating py26-setuptools @0.6c9_0 ---> Cleaning py26-setuptools
At this point, try to install flashbake again, it should complete.
As of version 0.22.2, flashbake uses the setuptools in its setup.py script so the normal installation should automatically take care the modules on which flashbake now relies. The setuptools module itself still needs to be installed, as below, manually before installing flashbake itself.
On apt-get or yum systems, you can install Python’s setuptools module which comes with the package “python-setuptools”.
sudo apt-get install python-setuptools
sudo yum install python-setuptools
The Python that comes bundled with OS X already has the setuptools module. I would recommend against using the MacPorts python packages at this time. The py-setuptools port doesn’t appear to be up to date.
The scripts themselves make use of Python’s nice installation capabilities. To install download the tarball from the Download page, explode it, and run
sudo python setup.py install
in that exploded directory.
You can also download the sources, either from the Head or one of the tags, and run the above line in the source project. You can run flashbake from the source directory as “./bin/flashbake” but you must satisfy the external dependencies, first.
Configuration – How to configure a project directory