Skip to main content

SUMO installation in linux (Debian/Ubuntu/Mint)

SUMO-Simulation of Urban Mobility

  • SUMO an open source, portal, microscopic, multi-modal road traffic simulation.
  • It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation. 
  • It allows to simulate as to how a given traffic demand which consists of single vehicles moves through a given road network.
  • The simulator allows to address a large set of traffic management topics.
  • It is purely microscopic: each vehicle is modeled explicitly, has an own route, and moves individually through the network.

SUMO Installation Procedure:

Installation in Linux and mac OS

Step I: Install two pre-requisite packages to build SUMO with GUI. Go to terminal and run:

$ sudo apt-get install libgdal1-dev proj libxerces-c2-dev
$ sudo apt-get install libfox-1.6-dev libgl1-mesa-dev libglu1-mesa-dev

Step II: If you are using Unbuntu 12.04 or older versions, as it doesn't ship with libgdal package, create a symbolic link:

$ sudo ln -s /usr/lib/libgdal1.7.0.so /usr/lib/libgdal

Note: Ubuntu 14.04 doesnt require this step. It comes inbuilt with libgdal package.

Step 1: Download the SUMO source by clicking here. At the time of this writing, it was version sumo-src-0.26.0.tar.gz.

Step 2: In terminal, go to the directory where the sumo-src-0.26.0.tar.gz is downloaded, and extract it.

$ tar -xzvf sumo-src-0.26.0.tar.gz

Step 3: Move the decompressed directory to '/usr/local/src' location:

$ sudo mv -v sumo-0.26.0 /usr/local/src

Step 4: Become a sudo user for making the configuration. Skip this step if you have the previlages.

$ sudo su -

Step 5: Go to the /usr/local/src location and call configure, make and make install:

$ cd /usr/local/src/sumo-0.26.0

$ ./configure --with-fox-includes=/usr/include/fox-1.6 \
--with-gdal-includes=/usr/include/gdal --with-proj-libraries=/usr \
--with-gdal-libraries=/usr --with-proj-gdal

Step 6: Then, run 'make'

$ make
$ sudo make install

Step 7: Finally, to open SUMO, go to terminal and run:

$ sumo-gui


For more details about SUMO, go to their homesite.


Post your installation issues in the comment section.

Comments

  1. Sir, please reply how to solve the following error while running the make command at the time of installation of sumo-0.25.0 in Ubuntu 18.04
    BiArc.cpp:19:17: error: ‘HUGE’ was not declared in this scope
    params.K1 = HUGE;
    ^~~~
    BiArc.cpp: In member function ‘void BiArc::compute_other_stuff()’:
    BiArc.cpp:155:17: error: ‘HUGE’ was not declared in this scope
    params.R1 = HUGE;
    ^~~~
    BiArc.cpp:164:17: error: ‘HUGE’ was not declared in this scope
    params.R2 = HUGE;
    ^~~~
    Makefile:386: recipe for target 'BiArc.o' failed
    make[4]: * [BiArc.o] Error 1
    make[4]: Leaving directory '/home/user1/Downloads/sumo-0.25.0/src/foreign/eulerspiral'
    Makefile:365: recipe for target 'all-recursive' failed
    make[3]: * [all-recursive] Error 1
    make[3]: Leaving directory '/home/user1/Downloads/sumo-0.25.0/src/foreign'
    Makefile:680: recipe for target 'all-recursive' failed
    make[2]: * [all-recursive] Error 1
    make[2]: Leaving directory '/home/user1/Downloads/sumo-0.25.0/src'
    Makefile:520: recipe for target 'all' failed
    make[1]: * [all] Error 2
    make[1]: Leaving directory '/home/user1/Downloads/sumo-0.25.0/src'
    Makefile:392: recipe for target 'all-recursive' failed
    make: * [all-recursive] Error 1

    ReplyDelete

Post a Comment

Popular posts from this blog

NSG 2.1 Tcl/OTcl Script Generator

Are you a beginner for ns2 network simulator? Are you afraid of Tcl/oTcl script generation? Then there is a tcl script generator, named NSG 2.1 NSG - Network Simulation Generator NSG 2.1 is a java .jar file.  So, this application can run on all platforms (windows/linux/mac os). It deserves the java installed in you pc, prior to working with NSG 2.1. Java must be installed to run NSG2.1. So, initially, java must be installed. How to install java in Windows/ubuntu/mint/debian linux/ OS X ? Step 1 : Go to Terminal and run  java -version   to check the java version installed in your machine. Step 2 :  For Windows, click here  to download the java installer. Then, it is a typical next-next windows executable installation. For ubuntu/mint/debian linux operating systems, run the following commands in that terminal: sudo apt-get install default-jre sudo apt-get install default-jdk sudo apt-get install openjdk-7-jre sudo apt-get install...

List of Websites to get free e-books

Here follows the list of websites to download e-books for free. 1. www.bookfi.org 2. www.bookzz.org  These two websites offer 4 to 5 free downloads per day. Best advantage is that we need not go for any sign-in process or clicking on an advertisement. 3. http://manybooks.net      In this website, apart from downloading in pdf format, one can download in many other e-book formats. 4. www.ebookee.org 5. www.bookboon.com 6. www.gutenberg.org 7. www.books123.me   8. www.brupt.com This website provides file in word (.doc), powerpoint (.ppt) and pdf file formats. 9. www.pdfoxy.com This website provides books in pdf format, but we should wait for 12-15 seconds and enter a Captcha code. But no need to sign-in. 10. www.docstoc.com This is another decent website of downloading ebooks in .pdf format, with no advertisement and no signing in. 11. www.freecomputerbooks.com This is one of the best websites for downloading technical and profession...