Skip to content

Instantly share code, notes, and snippets.

View bugra-derre's full-sized avatar

Bugra bugra-derre

View GitHub Profile
# cd your workspace directory
git init
git remote add <remote_url_name> <your_remote_url>
@bugra-derre
bugra-derre / install_ros_kinetic_on_ubuntu.sh
Last active December 22, 2020 02:24
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