There are four different binary packages for Windows depending on the platform (32 vs. 64 bit) you have and what you want to do with SUMO. If you want to install it locally and have administrator rights on your machine you should download and execute one of the installers (preferably 64 bit). If you need a "portable" version or do not have admin rights, use the correct zip, extract it into a desired folder using 7Zip, Winzip, or a similar tool. Every package contains the binaries, all dlls needed, the examples, tools, and documentation in HTML format.
- Download 64 bit installer: sumo-win64-1.8.0.msi
- Download 64 bit zip: sumo-win64-1.8.0.zip
- Download 32 bit installer: sumo-win32-1.8.0.msi
- Download 32 bit zip: sumo-win32-1.8.0.zip
Within the installation folder, you will find a folder named "bin". Here, you can find the executables (programs). You may double click on sumo-gui and take a look at the examples located in docs/examples. All other applications (duarouter, dfrouter, etc.) have to be run from the command line. To facilitate this there is also a start-commandline.bat which sets up the whole environment for you. If you feel unsure about the command line, please read Basics/Basic_Computer_Skills#Running_Programs_from_the_Command_Line.
If you want a bleeding edge nightly build or need tests or source files, you can download them from the Download page.
For building SUMO from source see building SUMO under Windows.
If you run debian or ubuntu, SUMO is part of the regular distribution and can be installed like this:
sudo apt-get install sumo sumo-tools sumo-doc
If you need a more up-to-date ubuntu version, it may be found in a separate ppa, which is added like this:
sudo add-apt-repository ppa:sumo/stable sudo apt-get update
and then again
sudo apt-get install sumo sumo-tools sumo-doc
Precompiled binaries for different distributions like openSUSE and Fedora can be found at these repositories for binary Linux versions. These repositories contain nightly builds as well. In the case your system is not listed here or you need to modify the sources, you have to build SUMO from sources.
SUMO can be easily installed on macOS by using Homebrew. If you did not already install homebrew, you can do so by invoking
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Please make sure your homebrew installation is up-to-date:
If you want to use sumo-gui and/or netedit, you need to install XQuartz as a requirement:
brew install --cask xquartz
You can then install the latest stable release of SUMO with the following commands:
brew tap dlr-ts/sumo brew install sumo
To finalize your setup, please make sure to set the SUMO_HOME environment variable and have it point to the directory of your SUMO installation. Depending on your shell, you may set this variable either in
.zshrc. To set this variable in
.bash_profile you can use the following commands.
touch ~/.bash_profile; open ~/.bash_profile
Just insert the following new line at the end of the file:
/your/path/to/sumo is the path stated in the caveats section of the
brew install sumo command. Restart the Terminal and test the newly added variable:
After the installation you need to log out/in in order to let X11 start automatically, when calling a gui-based application like
sumo-gui. (Alternatively, you may start X11 manually by pressing cmd-space and entering
Additionally, SUMO provides native macOS application bundles for its graphical applications, so they can be added to the macOS dock. There is a separate brew cask that will copy these bundles to the
brew cask install sumo-gui
In case this process fails, it can also be manually achieved by copying these application bundles from
$SUMO_HOME/build/osx/osm-web-wizard to the
These application bundles determine the location of your SUMO installation by evaluating your
$SUMO_HOME variable setting and start the programs accordingly. Multiple SUMO installations may be used by changing the
Segmentation faults on macOS Catalina#
If you encounter segmentation faults on macOS Catalina, please follow the following steps (see Issue 6242).
Uninstall Catalina bottle of fox:
$ brew uninstall --ignore-dependencies fox
Edit brew Formula of fox:
$ brew edit fox
Comment out or delete the following line:
sha256 "c6697be294c9a0458580564d59f8db32791beb5e67a05a6246e0b969ffc068bc" => :catalina
Install Mojave bottle of fox:
$ brew install fox
Blank screen after update to XQuartz 2.8.0_beta3#
If you encounter a blank screen after opening sumo-gui (cf. https://github.com/eclipse/sumo/issues/8208), try resetting your DISPLAY environment variable:
% export DISPLAY=:0.0
Building and installing SUMO from source is not an easy task for beginner users. Docker is a popular tool to solve this issue. Searching "SUMO" at Docker Hub will give several results from existing attempts at Dockerising SUMO.
The solution given at docker-sumo demonstrates how to Dockerise SUMO version 0.30.0 on top of Ubuntu 16.04. As well as sumo and traci, the use of sumo-gui is also demonstrated by docker-sumo so that the users have access to the graphical interface of a Dockerised SUMO.