Ask Your Question

ROS2 version

asked 2018-07-27 06:43:37 -0500

aks gravatar image

How can I know which version of ROS2 have i installed ? Ardent or Bouncy Bolson ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-07-27 07:29:14 -0500

The ROS_DISTRO envrionment variable will tell you which release you have. You can run:

printenv ROS_DISTRO

on the command line and it will tell you.

edit flag offensive delete link more


And how do we know which version are we installing ? Coz i guess it is not mentioned in the installation instructions.

aks gravatar imageaks ( 2018-07-27 07:31:45 -0500 )edit

I think you need to export this variable (export ROS_DISTRO=bouncy # or ardent : )

pokitoz gravatar imagepokitoz ( 2018-07-27 07:34:43 -0500 )edit

If you already have a distro of ROS2 installed then it will already be set

PeteBlackerThe3rd gravatar imagePeteBlackerThe3rd ( 2018-07-27 07:39:03 -0500 )edit

@aakash_sehgal It's cleared mentioned in these instructions:

PeteBlackerThe3rd gravatar imagePeteBlackerThe3rd ( 2018-07-27 07:40:22 -0500 )edit

Yes, now I see it, I guess the documentation is updated within the last month.

aks gravatar imageaks ( 2018-07-27 07:47:11 -0500 )edit

Yes probably, this is all moving quite fast at the moment!

PeteBlackerThe3rd gravatar imagePeteBlackerThe3rd ( 2018-07-27 09:00:51 -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: 2018-07-27 06:43:37 -0500

Seen: 393 times

Last updated: Jul 27 '18