create one folder in your Desktop and open terminal type ($gedit .bashrc) and at the end write the following lines: (export ROS_PACKAGE_PATH=~/Desktop/(folder name):$ROS_PACKAGE_PATH) close terminal and open terminal again go to folder that you created type($roscreate-pkg test) and then type ($rosmake test) try this note: don't forget after you edited bashrc you must close the terminal and open it agian