Installing brutus

The most recent release of brutus is available for download from its Github repository.


You can also get the current (unreleased and possibly buggy) code from here.

Installing brutus merely requires to let your Python installation know about its existence. Specifically:

  1. Unzip the compressed files (downloaded from the link above),
  2. place them anywhere you like, and
  3. add brutus/src/ to your Python path.

In my case (on MAC OSX), my .bash_profile would look like :

export PYTHONPATH=$PYTHONPATH:/Users/fvogt/Tools/Python/fpav_pylib/brutus/src/

Github users can fork the brutus repository if they want to get access to the latest updates not yet formally released. Push requests for bug fixes and new features are welcome and will be examined in detail.


The basic packages below are required for brutus to work properly:

The packages below might be required, depending on what step is being executed. Install what you need:

A note on the brutus plots

brutus relies on matplotlib (and aplpy which itself relies on matplotlib) to create plots. By default, brutus will try to use a full \(\LaTeX\) installation present on the system (a.k.a. via the rcparams setting usetex: True) to create good looking diagrams. If this is a problem (e.g. if \(\LaTeX\) is not present on the machine that runs brutus), you can:

  • install TexLive [recommended], to get the brutus plots to look they way they are meant to look, or
  • set mpl.rc('text', **{'usetex':False}) in to use the limited \(\LaTeX\) capabilities that ship with matplotlib.

Nate that if you decide to go with the second option, you might still encounter issues here and there.

Testing the installation


Eventually, I should create an elegant little thing to test that brutus is working fine. For now, just try to import brutus.


If something goes bad, here is what you should do (mind the order !):

  1. Are all the required packages up-to-date ? Check the Requirements.

  2. Still no luck ? Check the FAQ.

  3. Still no luck ? Check if the issue has been reported before.

  4. Still no luck ? Please submit a new issue on the Github repository of the project.

    Provide as much detail as possible (error message, minimal example able to reproduce the error, operating system, Python version, multiprocessing state, etc ...).


    Submitting a Github issue is the best way for you to get help rapidly, for everyone to keep track of the problems that need solving, and for future users to see what changes have been made over time (and look for existing solutions to their problem which may be the same as yours). Submitting a new issue on Github is rapid and easy, but if you are really against doing it (why would you ?), you can always email for help.