-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
31 lines (23 loc) · 922 Bytes
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# http://wiki.ros.org/noetic/Installation/Ubuntu
# 1.1 Configure your Ubuntu respositories
sudo add-apt-repository universe
sudo add-apt-repository multiverse
sudo apt update
# Modification
sudo apt install curl
# 1.2 Setup your 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'
# 1.3 Setup your keys
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
# 1.4 Installation
sudo apt update
sudo apt install ros-noetic-ros-base # no desktop environment
# 1.5 Environment setup
echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
# 1.6 Dependencies for building packages
sudo apt install python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential
# 1.6.1 Initialize rosdep
sudo apt install python3-rosdep
sudo rosdep init
rosdep update