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

respond error of .setup.sh

asked 2012-02-20 02:21:46 -0500

danish gravatar image

according to the Ros installing tutorials

Installing and Configuring Your ROS Environment when i type $ .setup.sh it gives me the error of "bash: setup.sh: No such file or directory" and when i type $ source ~/setup.sh it again give me the same error what is the issue.kindly help me out

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2012-02-20 02:33:59 -0500

setup.sh will be in different places depending on how you installed ROS. If you're on Ubuntu and used apt-based install, it will be in /opt/ros/[version]/. If you did a source-based install using rosinstall, it will be in whatever directory you passed in as the first argument to rosinstall (~/ros is what's frequently used in the examples).

edit flag offensive delete link more

Comments

for ROS_PACKAGE_PATH i have tp paste the same command as it is or have to make same changes "export ROS_PACKAGE_PATH=/home/user/ros/ros-pkg:/another/path"

danish gravatar image danish  ( 2012-02-20 03:01:42 -0500 )edit
0

answered 2012-03-11 10:20:32 -0500

Dustin gravatar image

The error you describe indicates that you did not create the setup.sh in your present working directory nor in your home directory. Use your preferred editor to create a file called setup.sh in your home directory, copy into the the contents specified in the tutorial, save the file and then execute either '. ~/setup.sh' or 'source ~/setup.sh' again.

edit flag offensive delete link more
-1

answered 2012-03-10 21:31:47 -0500

KruseT gravatar image

The tutorial asks that you create a file named setup.sh. You probably did not create one, but just typed in the commands that should go into the file.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-02-20 02:21:46 -0500

Seen: 499 times

Last updated: Mar 11 '12