Skip to content

Instantly share code, notes, and snippets.

@Tiryoh
Created October 16, 2019 03:33
Show Gist options
  • Save Tiryoh/76be0ac467c09667ca51b5f8d9f4b3bc to your computer and use it in GitHub Desktop.
Save Tiryoh/76be0ac467c09667ca51b5f8d9f4b3bc to your computer and use it in GitHub Desktop.
ROS Melodic installation on Raspberry Pi Zero/Raspberry Pi Zero W
#!/usr/bin/env bash
set -eu
# (C) 2019 Daisuke Sato
# https://tiryoh.mit-license.org/2019
# Special thanks to @nomumu
sudo apt update
sudo apt install -y build-essential gdebi
mkdir -p ~/tmp && pushd ~/tmp
wget https://github.com/nomumu/ros4raspbian/releases/download/1.0.0/ros4raspbian-melodic-armhf-1.0.0.zip
unzip ros4raspbian-melodic-armhf-1.0.0.zip
sudo gdebi ros4raspbian-melodic-armhf-1.0.0.deb
popd
rosdep update
@GoldExperience
Copy link

Thank you!
This is the most convenient way I have found so far.

@crashmatt
Copy link

Sato-san, many thanks for sharing your solution. This has saved me many days of failed attempts to build it myself.

Did not use curl. Ran the script line-by-line so I could see what was happening.

@Benoit-LdL
Copy link

You are an absolute hero Tiryoh, thanks for this great script ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment