Update 'non-ros-files/workshopinstall.sh'
This commit is contained in:
parent
262390d682
commit
b84fa548de
|
@ -1,41 +1,41 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
sudo apt-get update && sudo apt-get upgrade -y
|
sudo apt-get update && sudo apt-get upgrade -y
|
||||||
sudo apt-get dist-upgrade -y
|
sudo apt-get dist-upgrade -y
|
||||||
|
|
||||||
# Install Visual Studio Code
|
# Install Visual Studio Code
|
||||||
sudo apt install -y software-properties-common apt-transport-https wget
|
sudo apt install -y software-properties-common apt-transport-https wget
|
||||||
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
|
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
|
||||||
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
|
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
|
||||||
sudo apt update && sudo apt install -y code
|
sudo apt update && sudo apt install -y code
|
||||||
|
|
||||||
# Install Git
|
# Install Git
|
||||||
sudo apt install -y git
|
sudo apt install -y git
|
||||||
|
|
||||||
# Install ROS2 Foxy Fitzroy Desktop
|
# Install ROS2 Foxy Fitzroy Desktop
|
||||||
#sudo apt update && sudo apt install locales
|
#sudo apt update && sudo apt install locales
|
||||||
#sudo locale-gen en_US en_US.UTF-8
|
#sudo locale-gen en_US en_US.UTF-8
|
||||||
#sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
#sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
||||||
sudo apt update && sudo apt install -y curl gnupg2 lsb-release
|
sudo apt update && sudo apt install -y curl gnupg2 lsb-release
|
||||||
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
|
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
|
||||||
sudo sh -c 'echo "deb [arch=$(dpkg --print-architecture)] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" > /etc/apt/sources.list.d/ros2-latest.list'
|
sudo sh -c 'echo "deb [arch=$(dpkg --print-architecture)] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" > /etc/apt/sources.list.d/ros2-latest.list'
|
||||||
sudo apt update && sudo apt install -y ros-foxy-desktop
|
sudo apt update && sudo apt install -y ros-foxy-desktop
|
||||||
source /opt/ros/foxy/setup.bash
|
source /opt/ros/foxy/setup.bash
|
||||||
|
|
||||||
# Install pip and argcomplete
|
# Install pip and argcomplete
|
||||||
sudo apt install -y python3-pip
|
sudo apt install -y python3-pip
|
||||||
pip3 install -U argcomplete
|
pip3 install -U argcomplete
|
||||||
|
|
||||||
# If colcon does not build: Install pytest version>=5.0 ???
|
# If colcon does not build: Install pytest version>=5.0 ???
|
||||||
|
|
||||||
# Install rosdep
|
# Install rosdep
|
||||||
sudo apt install -y python3-rosdep2
|
sudo apt install -y python3-rosdep2
|
||||||
rosdep update
|
rosdep update
|
||||||
|
|
||||||
# in between
|
# in between
|
||||||
sudo apt update && sudo apt upgrade -y
|
sudo apt update && sudo apt upgrade -y
|
||||||
|
|
||||||
# Install colcon
|
# Install colcon
|
||||||
sudo apt install -y python3-colcon-common-extensions
|
sudo apt install -y python3-colcon-common-extensions
|
||||||
|
|
||||||
# At the end again
|
# At the end again
|
||||||
sudo apt update && sudo apt upgrade -y
|
sudo apt update && sudo apt upgrade -y
|
Loading…
Reference in New Issue