Thereare four different binary packages for Windows depending on theplatform (32 vs. 64 bit) you have and what you want to do with SUMO. Ifyou want to install it locally and have administrator rights on yourmachine you should download and execute one of the installers(preferably 64 bit). If you need a "portable" version or do not haveadmin rights, use the correct zip, extract it into a desired folderusing 7Zip,Winzip, or a similar tool. Everypackage contains the binaries, all dlls needed, the examples, tools, anddocumentation in HTML format.
Within the installation folder, you will find a folder named "bin".Here, you can find the executables (programs). You may double click onsumo-gui and take a look at the examples locatedin docs/examples. All other applications(duarouter, dfrouter,etc.) have to be run from the command line. To facilitate this there isalso a start-commandline.bat which sets up the whole environment foryou. If you feel unsure about the command line, please readRunning Programs from the Command Line.
Precompiled binaries for different distributions like openSUSE andFedora can be found at these repositories for binary Linux versions.These repositories contain nightly builds as well. In the case yoursystem is not listed here or you need to modify the sources, you have to build SUMO from sources.
SUMO's precompiled binary is also available as a Flatpak and is hosted on Flathub. Any system that supports Flatpak should be able to run SUMO this way. Install Flatpak and add the Flathub repository as directed here.
It may be necessary to logout and login again or even reboot to activate the XQuartz integration.You can then install the latest stable release of SUMO (with minimal requirements: fox, proj, xerces-c) with the following commands:
It is possible to install older vesions of SUMO using Homebrew. Running brew search sumo will list all available versions (v1.0.1 or newer). To install a specific version (e.g. version 1.9.0), just run brew install
su...@1.9.0.
If you need to compile SUMO with support for other libraries, such as GDAL, you need to provide further command line options as described here.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 .bashrc or .zshrc. To set this variable in .bashrc you can use the following commands.
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 XQuartz).
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 Applications folder:
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 $SUMO_HOME variable.
SUMO contains lots of Python tools which are part of the sources and the Windows distributionand may be packaged on Linux in the sumo or a separate sumo-tools package. To take full advantage of these toolsyou need several additional python modules. The easiest way to install them is to use pip install -r $SUMO_HOME/tools/requirements.txt.
Building and installing SUMO from source is not an easy task forbeginner users. Docker is a popular tool to solve this issue. Searching"SUMO" at Docker Hub will give several resultsfrom existing attempts at Dockerising SUMO.
The solution given atdocker-sumo demonstrates howto Dockerise SUMO version 0.30.0 on top of Ubuntu 16.04. As well assumo and traci, the use of sumo-gui is also demonstrated bydocker-sumo so that theusers have access to the graphical interface of a Dockerised SUMO.
Binaries (64 bit), all dlls needed, the examples,tools, and documentation in HTML format. For an explanation of the contents and thelicensing (especially concerning the "extra" build which contains GPL code to support GeoTIFFs, shapefiles and 3D models), see the notes below.
If the repositories donot contain the libraries (like proj and gdal) they are either part ofthe distribution or you will need them from another repository (you maytry one of the build service repositories here too, e.g.Application:Geo).At the moment there is no documentation included in the packages. Therepositories include a nightly build as well (called sumo-git).
"Bottles" are available for installing withHomebrew. They are built for the three most recentmacOS versions (currently Monterey, Ventura and Sonoma) and are builtfrom source with minimal requirements (fox, proj, xerces-c). If you needoptional libraries, you can specify these on the brew command line andbrew will compile SUMO from source. For details, see the Formula'sREADME.
This should work for Windows, macOS and all Linux versions which are more recent than 2014.The applications are available for Python 2 and Python 3, libsumo only for Python 3.6 and above. This gives an easy way to testa new SUMO version via virtual environments or a nightly build using the following commands (on Linux):
SUMO is under active development. You can find a continuously updatedlist of bug-fixes and enhancements at ourChangeLog. To make use of the latest features(and to give us pre-release feedback) we encourageyou to use the latest version from our code repository.
Every push to our main branch also triggers a build for Windows, Linux and macOS. The results can be foundby clicking on the relevant commit here and downloading theappropriate file for your platform (you may need to sign in to GitHub).
The code within the repository is compiled eachnight. All Windows builds are for the 64bit platform. For an explanation of the contents and thelicensing (especially concerning the "extra" build which contains GPL code to support GeoTIFFs, shapefiles and 3D models),see the notes below. The following packages can be obtained:
The nightly builds are also available as Python wheels.To install the latest nightly version (it is strongly encouraged to do this in a virtual environment) use the instructions above replacing the install line with:
Although this is a python package, it contains all compiled SUMO binaries and should be fully functional (see the requirements in the section above).The nightly python wheels are also available for libsumo, sumolib and traci.
If you need even more recent builds, have a look at the artifacts of the GitHub actions. You will need to click on the commit and the platform you are interested in, e.g. windows for Windows binaries.
The release directory contains all release files since 1.2.0.Those and older releases can also be obtained via the sourceforge download portal.If you want to try out an older version you can also use the virtual environment approach(explained above) with a fixed version, e.g.pip install eclipse-sumo==1.9.0 (works only for 1.8.0 and later).
You can get the very latest sources directly from our Git repository, seethe FAQ on repository access.Normally, they should compile and complete our test suite successfully.To assess the current state of the build, you may take a look at thenightly test statistics.
For the Windows platform you can retrieve all dependencies by cloningthis repository: -TS/SUMOLibraries, if you wantto develop with Visual Studio. If you just want to run SUMO, use thebinary downloads above which already contain the runtime dependencies.
The standard Windows build only contains code and Windows binaries with Eclipseapproved licenses (especially no GPL code). If you needfeatures like shapefile import, GeoTIFF processing, the OpenSceneGraph 3D GUI, orvideo generation, download the "extra" build.
As the program is still under development (and is being extended continuously), we advice you touse the latest sources from our GitHub repository. Using a command line client,execute the following command:
To stay informed, we have a mailing list for SUMO, whichyou can subscribe to.Messages to the list can be sent to sumo...@eclipse.org.SUMO announcements will be made through the
sumo-a...@eclipse.org list;you can subscribe to it as well.For further contact information, have a look at this page.
If you're using Linux, you should have a look whether your distribution already contains sumo.There is also a ppa for ubuntu users and anopen build service instance.If you want to build SUMO yourself, the steps for ubuntu are:
To get started with SUMO, take a look at the docs/tutorial and examples directories,which contain some example networks with routing data and configuration files.There is also user documentation provided in the docs/ directory and on thehomepage.
Please use the GitHub issue tracking tool for bugs and requests,or file them to the
sumo...@eclipse.org list. Beforefiling a bug, please consider to check with a current repository checkoutwhether the problem has already been fixed.
I'm checking the Veins tutorial that is but I'm a little confused I see the tutorial is for Windows and Im using ubuntu, I managed to install, omnet++, sumo and import veins into Omnet++ but when I try to run the omnetpp.ini, everything opens in Omnet but i get this error:
Below, we give a brief tutorial-style introduction on how to get started with installing and using Veins.For other tutorial-style introductions on how to use Veins as well as more in-depth information, please refer to the publications page.
For quickly trying out Veins and for running Veins on systems you do not have administrative access to, we are recommending Instant Veins, a virtual machine that contains a ready-to-run version of Veins and all supporting tools.
This tutorial assumes that you are using Windows 7, that your home directory is C:\Users\user, and that all necessary software will be installed in C:\Users\user\src (which was already created).Aside from the paths given and the opening of the OMNeT++ MinGW command line window vs. a regular command line window, these steps are similar when building and running the simulations on Linux or Mac OS X.
3a8082e126