Ask Your Question
0

Ros is permenantly installed after following the installation steps?

asked 2016-03-02 07:36:01 -0500

Knowledge gravatar image

updated 2016-03-02 07:39:26 -0500

Hey, i wanted to ask when i follow the installation steps given on the site, i execute the commands" Ubuntu install of ROS Jade" and when i reach the end do i need to verify that ros is installed? When i close the terminal ROS vanishes? How can i know that whenever i open UBUNTU Ros will be installed?

Because when i go through the steps and verify by typing "ros versionros" it says"unversioned" and when i close and open terminal again it says"command ros not found" i know it maybe a silly question but i am a newbie:)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-03-02 09:05:32 -0500

updated 2016-03-02 09:13:19 -0500

Once you've installed ROS via apt-get, it is permanently installed.

Note that the environment setup instructions are critical. Commands like "roscore" won't be available unless you've properly "sourced" a setup.bash file. These setup.bash files automatically control a variety of ROS environment variables, and some non-ROS environment variables as well. These environment variables are critical to ROS functionality. Every terminal you open has a different set of environment variables. Meaning, you'll need to "source" a setup.bash file in every terminal you want to use ROS in. The following commands from the installation instructions are actually modify your user's "~/.bashrc" file to force the primary ROS Jade setup.bash file to be "sourced" every time the "~/.bashrc" file is sourced.

echo "source /opt/ros/jade/setup.bash" >> ~/.bashrc
source ~/.bashrc

Finally note that the "~/.bashrc" file is automatically sourced every time you open a new terminal. Thus if you run the commands above, every terminal should be able to use ROS commands.

Don't worry about the rosversion ros returning <unversioned>. That command used to work, but now AFAIK, ROS versions are no longer numbered. Instead, you should use rosversion -d to see which version of ROS you are using.

edit flag offensive delete link more

Comments

thanks it says "jade" when i type "rosversion -d", this means now it is permanently installed?

Knowledge gravatar image Knowledge  ( 2016-03-02 10:31:57 -0500 )edit

yes .

jarvisschultz gravatar image jarvisschultz  ( 2016-03-03 11:13:48 -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

1 follower

Stats

Asked: 2016-03-02 07:36:01 -0500

Seen: 202 times

Last updated: Mar 02 '16