环境
ubuntu14.04
cd $HOME
gedit ros-install.sh
sh ros-install.sh
# ustc mirror
@H_301_18@sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.ustc.edu.cn/ros/ubuntu/ $DISTRIB_CODENAME main" > /etc/apt/sources.list.d/ros-latest.list'
@H_301_18@sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
@H_301_18@sudo apt-get update
@H_301_18@sudo apt-get install ros-indigo-desktop-full
@H_301_18@sudo rosdep init
rosdep update
@H_301_18@echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc
@H_301_18@source ~/.bashrc
@H_301_18@sudo apt-get install python-rosinstall
原文链接:https://www.f2er.com/ubuntu/353340.html