osrf / gazebo_tutorials

Tutorials for gazebo
http://gazebosim.org/tutorials
145 stars 71 forks source link

install_ubuntu: gazebo6_install.sh doesn't work on vivid #35

Open osrf-migration opened 9 years ago

osrf-migration commented 9 years ago

Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


The gazebo6_install.sh script doesn't work on ubuntu vivid. It's hard-coded to trusty and utopic.

codename=`lsb_release -sc`

# Make sure we are running a valid Ubuntu distribution
case $codename in
  "trusty" | "utopic")
  ;;
  *)
    echo "This script will only work on Ubuntu trusty or utopic"
    exit 0
esac
osrf-migration commented 9 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


Also, wget and lsb_release are not installed on a bare system (verified with docker). So we may need to request those packages to be installed before running the script.

osrf-migration commented 9 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


@nkoenig how do we modify http://osrf-distributions.s3.amazonaws.com/gazebo/gazebo6_install.sh ?

osrf-migration commented 9 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


We should mention that the one-line install is intended for non-root users, since it uses sudo. The user needs wget to download the script, so we could add that to the instructions. The lsb-release package is also needed, but that could be installed at the beginning of the script.

osrf-migration commented 9 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


To modify the gazebo6_install.sh:

  1. log into aws.amazon.com using the company account.
  2. Go to S3.
  3. Download the script, modify it, and then re-upload it.

p.s. We could improve upon this...

osrf-migration commented 9 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


I would host it in a release repository or release-tools and make a script to upload it.

@_jrivero_ what do you think?