Until now, melodic was used, but with the new PC, ubuntu20.04 was installed to build a ros-noetic environment.
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt update
sudo apt install ros-noetic-desktop-full
sudo apt-get install python3-rosinstall
It takes more than 10 minutes. .. ..
Create a workspace immediately. .. .. But
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/src
catkin_make
command'catkin_make'Cannot be found. You can install it in the following ways:
sudo apt install catkin
?? ?? ?? For the time being, as instructed
sudo apt install catkin
Loading the package list...Done
Creating a dependency tree
Reading status information...Done
Some packages could not be installed. Probably possible
Did you request no situation?(I'm using an unstable distribution
If)Required packages have not been created yet or moved from Incoming
It is possible that it has not been moved.
The following information may help resolve this issue:
The following packages have unmet dependencies:
catkin :Dependence: python3-catkin-pkg (>= 0.4.14-2)But not trying to install
E:Unable to solve the problem. I have a broken change-protected package.
Turn off the terminal once and restart
cd ~/catkin_ws
catkin_make
Build complete! I haven't put anything in it yet, but I've confirmed that/build/develop is done!
Recommended Posts