真的是很讨厌,我安装了ros的Jade版本后原来的gazebo就不能用了,整起来很麻烦。
然后GAZEBO官网老打不开(我网速不好),所以就把安装步骤记录了一下。
Gazebo官网:gazebo官网
Install Gazebo using Ubuntu packages
One-line install
-
Install
wget -O /tmp/gazebo6_install.sh http://osrf-distributions.s3.amazonaws.com/gazebo/gazebo6_install.sh; sudo sh /tmp/gazebo6_install.sh
-
Run
gazebo
Step-by-step Install
-
Setup your computer to accept software from packages.osrfoundation.org.
Note: there is a list of available mirrors for this repository which could improve the download speed.
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
-
Setup keys
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
-
Install Gazebo.
sudo apt-get update sudo apt-get install gazebo6 # For developers that work on top of Gazebo, one extra package sudo apt-get install libgazebo6-dev
-
Check your installation
Note The first time
gazebo
is executed requires the download of some models and it could take some time, please be patient.gazebo
Gazebo in different deb packages
Gazebo ships different Ubuntu debian packages following the official packaging guidelines. This changes brings an option about how to install gazebo:
- Use Gazebo as an application: for the users that just run Gazebo simulator with the provided plugins and models and do not plan on developing on top of gazebo its own custom software. To use Gazebo 6.0, please install the package calledgazebo6.
- Use Gazebo to develop software using Gazebo libraries: for users that develop plugins or any other kind of software that needs Gazebo headers and libraries. In this case, together with gazebo6 package, please installlibgazebo6-dev.
author: wsh
email: tongzhuodenilove@163.com