Last active
July 14, 2022 01:46
-
-
Save anton-matosov/7a2f1be52b1b2fb41aae277aa57df262 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
locale # check for UTF-8 | |
sudo apt update && sudo apt install locales | |
sudo locale-gen en_US en_US.UTF-8 | |
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
locale # verify settings | |
sudo apt install -y software-properties-common | |
sudo add-apt-repository universe | |
sudo apt update && sudo apt install curl gnupg2 lsb-release | |
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg | |
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(source /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null | |
sudo apt update | |
sudo apt upgrade | |
sudo apt update && sudo apt install -y \ | |
build-essential \ | |
cmake \ | |
git \ | |
libbullet-dev \ | |
python3-colcon-common-extensions \ | |
python3-flake8 \ | |
python3-pip \ | |
python3-pytest-cov \ | |
python3-rosdep \ | |
python3-setuptools \ | |
python3-vcstool \ | |
wget | |
# install some pip packages needed for testing | |
python3 -m pip install -U \ | |
argcomplete \ | |
flake8-blind-except \ | |
flake8-builtins \ | |
flake8-class-newline \ | |
flake8-comprehensions \ | |
flake8-deprecated \ | |
flake8-docstrings \ | |
flake8-import-order \ | |
flake8-quotes \ | |
pytest-repeat \ | |
pytest-rerunfailures \ | |
pytest | |
# install Fast-RTPS dependencies | |
sudo apt install --no-install-recommends -y \ | |
libasio-dev \ | |
libtinyxml2-dev | |
# install Cyclone DDS dependencies | |
sudo apt install --no-install-recommends -y \ | |
libcunit1-dev | |
sudo apt install -y python3-rosdep | |
sudo rosdep init | |
rosdep update | |
echo sudo apt install ros-foxy-ros-base | |
echo sudo apt install ros-foxy-desktop | |
echo sudo apt install ros-noetic-ros-base | |
echo sudo apt install ros-noetic-desktop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment