ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Can ROS1 and ROS2 be installed in one system? [closed]

asked 2019-06-20 12:41:00 -0600

AM97 gravatar image

updated 2019-06-20 12:58:58 -0600

Currently I am using ROS1 and Melodic Version, I would like to know if I can install ROS2 in my system.

System features Ubuntu 18.04 Melodic CUDA-10.1 ROS1

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by AM97
close date 2019-06-20 14:36:14.564499



This is a duplicate of #q286978 and (somewhat of) #q322987.

Seeing as there is already an answer I'm not closing this, but we should actually do that.

gvdhoorn gravatar image gvdhoorn  ( 2019-06-20 14:02:15 -0600 )edit

@gvdhoorn So that means I can install ROS2 in my Ubuntu 18.04 (ROS1), but I would like to know how to shift from ROS1 to ROS2 and again back to ROS1. And I will close this issue. Thanks for your help.

AM97 gravatar image AM97  ( 2019-06-20 14:14:09 -0600 )edit

@gvdhoorn Yup, I should have checked before answering

jayess gravatar image jayess  ( 2019-06-20 14:29:36 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-06-20 13:13:12 -0600

jayess gravatar image

I have both installed. So, yes. I just source the one that I want to use when I want to use it.

edit flag offensive delete link more


@jayess I didn't get you. Do you mean I need to source every time in the terminal when I wanted to use another one?. If I am wrong can you say a little bit more?

AM97 gravatar image AM97  ( 2019-06-20 13:26:53 -0600 )edit

That's how I do it

jayess gravatar image jayess  ( 2019-06-20 14:29:58 -0600 )edit

Question Tools



Asked: 2019-06-20 12:41:00 -0600

Seen: 1,406 times

Last updated: Jun 20 '19