Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Can someone please provide me the steps for openstudio installation in Ubuntu 16.04 ?

asked 2017-12-26 23:38:39 -0500

Siv's avatar

updated 2017-12-27 11:08:33 -0500

Can someone please provide me the steps for openstudio installation in Ubuntu 16.04 ?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-12-28 05:53:18 -0500

updated 2018-05-17 09:16:29 -0500

Download the .debfile from

Try to install it. Rather than just double clicking it, use sudo dpkg -i OpenStudio-xxxx.deb (the xxxx portion will depend on which release you selected, eg OpenStudio- for the current latest), as it will be more verbose as far as dependency issues.

I would bet that in 99% of the cases you're going to run into dependencies issues: there are dependencies expected such as libwxgtk3.0-0 but you can only find libwxgtk3.0-0v5 or libwxgtk3.0-dev in official sources for Xenial (16.04).

The way I resolved this issue is to download the packages from Trusty (14.04):, which also needed

So, to recap, do it in this order: Install libwxbase3.0-0, then libwxgtk3.0-0, then OpenStudio deb package.


I think the Pull Request I just made, #3133, will fix this dependency issue (worked on my machine at least).

edit flag offensive delete link more


When I try to install "libwxbase3.0-0" it says "dpkg: dependency problems prevent configuration of libwxbase3.0-0:amd64: libwxbase3.0-0v5:amd64 (3.0.2+dfsg-1.3ubuntu0.1) breaks libwxbase3.0-0 and is installed"

So please help me resolve this

Siv's avatar Siv  ( 2017-12-28 22:15:02 -0500 )edit

The erorr message is quite clear, you already have libwxbase-3.0-0v5 installed... Try sudo apt remove libwxbase

Julien Marrec's avatar Julien Marrec  ( 2017-12-31 07:15:56 -0500 )edit

Thank you, I have not checked it because I have started to use it in windows operating system

Siv's avatar Siv  ( 2018-05-17 23:02:34 -0500 )edit

Ok, glad you found something that works. (For the record, I fixed this dependency problem recently, so if you try the latest openstudio version, it should install without any problems on Ubuntu)

Julien Marrec's avatar Julien Marrec  ( 2018-07-24 04:00:00 -0500 )edit

I was wondering whether the geometry tab works in your xenial built? In the 3D view, it just shows error

scrox's avatar scrox  ( 2019-05-30 04:38:56 -0500 )edit

answered 2018-01-04 02:17:42 -0500

updated 2018-01-05 03:38:53 -0500

I've try to install following Julien's answer but i can't solve package dependencies, so i've decided to install from Sources last OpenStudio 2.4.0 version into Ubuntu 16.04 64 bits operating system ok :), following this steps:

  • Download last Source Code .zip or .tar.gz compressed file from
  • Extract OpenStudio compressed file into your sources directory
  • If .zip: unzip -d dest_folder or if .tar.gz: tar xf file.tar.gz -C dest_folder

  • sudo apt-get install dpkg-dev git cmake-curses-gui cmake-gui libssl-dev libxt-dev libncurses5-dev libgl1-mesa-dev autoconf libexpat1-dev libpng12-dev libfreetype6-dev libdbus-glib-1-dev libglib2.0-dev libfontconfig1-dev libxi-dev libxrender-dev libgeographiclib-dev chrpath

  • Install cmake from source:

  • wget
  • tar -xzf cmake-3.7.1.tar.gz
  • cd cmake-3.7.1/
  • ./configure
  • make
  • sudo make install
  • (check that your cmake is 3.7.1)
  • cmake --version

  • sudo apt-get install autotools autotools-dev automake

  • mkdir build

  • cd build

  • ccmake ../openstudiocore

  • press c to configure, and then press g to generate

  • make GenerateIddFactory

  • make GenerateIddFactoryRun

  • (still inside build directory)

  • make
  • (process run during a long time: hours)

  • sudo make install

  • OpenStudio installed from sources ok :)

  • To Get EnergyPlus version:

  • energyplus --version
  • openstudio energyplus_version

  • To Run OpenStudioApp application:

  • OpenStudioApp
edit flag offensive delete link more


You can safely use a newer cmake, I use 3.9.4 for example.

Julien Marrec's avatar Julien Marrec  ( 2018-01-05 03:38:17 -0500 )edit

Thank you, I have started to use the windows version. I find it easy to install and use.

Siv's avatar Siv  ( 2018-07-24 03:56:31 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer


Question Tools


Asked: 2017-12-26 23:38:39 -0500

Seen: 1,279 times

Last updated: May 17 '18