Affirmation: Since the project needs to use the ros environment, here is the record of the ROS Noetic installation process under ubuntu20.04. The whole process is executed sequentially and the installation is successful. Of course, the previous step must be executed successfully when the next step is executed. The network is not good. At that time, you can try a few more times. The following is the process I personally practiced. Now I will share it with you to exchange and learn. This process all refer to the official installation steps. The official link is here http://wiki.ros.org/noetic/ Installation/Ubuntu.
System requirements: Ubuntu20.04
ROS installation version: Noetic
installation steps:
1、 Add sources.list (set up your computer to receive software from packages.ros.org.)
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
2、 Add keys
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80'--recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
3、 installation
First, make sure your Debian package index is up to date:
sudo apt update
4、 Install the full version of the desktop: including ROS, rqt, rviz, robot general library, 2D/3D simulator, navigation and 2D/3D perception
sudo apt install ros-noetic-desktop-full
5、 You must obtain the source code of this script in each bash terminal that uses ROS.
source /opt/ros/noetic/setup.bash
6、 Environment configuration
echo "source /opt/ros/noetic/setup.bash">>~/.bashrc
source ~/.bashrc
Recommended Posts