Skip to content

Instantly share code, notes, and snippets.

View Ericwonne's full-sized avatar
🏠
Working from home

Ericwonne

🏠
Working from home
View GitHub Profile
@Ericwonne
Ericwonne / install_ros_kinetic_on_ubuntu.sh
Created December 22, 2020 02:24 — forked from bugra-derre/install_ros_kinetic_on_ubuntu.sh
Install ROS on Ubuntu, either for Ubuntu Desktop or Ubuntu Server.
#!/bin/bash
# -------------------------------------------------------------------------
# [Bugra] install_ros_kinetic_on_ubuntu.sh
# An installation script to install ROS on top of Ubuntu Xenial.
# -------------------------------------------------------------------------
doTheInstallation() {
# setup my sources.list
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
# set up your keys
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116