ROS study # 1 Install ros-noetic on ubuntu 20.04

I changed the version of ubuntu to 20.04, so I reinstalled ros.

The impression was swamp of swamp

First of all, the ros-melodic I used before doesn't seem to work with 20.04LTS 20.04 LTS announced a new version called noetic, so I installed it

And before that

It seemed that melodic-related dependencies were in the way, so I deleted all ros-related ones.

sudo apt-get remove ros-*
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

This should be straightforward (I didn't know later)

Finally welcome noetic

First add noetic repo.

echo "deb http://packages.ros.org/ros/ubuntu focal main" | sudo tee /etc/apt/sources.list.d/ros-focal.list

Then somehow register the key

sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

Do it as usual

sudo apt update

Finally install

sudo apt install ros-noetic-desktop-full

I usually made it desktop-full. There seem to be many other things. Reference article https://varhowto.com/install-ros-noetic-ubuntu-20-04/

Install rosdep

This was also a swamp

sudo apt-get install python3-rosdep python3-rosinstall-generator python3-vcstool build-essential
sudo rosdep init
rosdep update

At this point, I had to erase the previously remaining rosdep. Reference article http://wiki.ros.org/noetic/Installation/Source

Install rosinstall

I didn't write it anywhere ...

sudo apt-get install python3-rosinstall

The rest is on the official wiki

$ mkdir ~/ros_catkin_ws
$ cd ~/ros_catkin_ws
$ rosinstall_generator desktop --rosdistro noetic --deps --tar > noetic-desktop.rosinstall
$ mkdir ./src
$ vcs import --input noetic-desktop.rosinstall ./src
$ rosdep install --from-paths ./src --ignore-packages-from-source --rosdistro noetic -y
$ ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release

The last one took a tremendous amount of time. I'm worried because it's quite different from melodic.

Recommended Posts

ROS study # 1 Install ros-noetic on ubuntu 20.04
[ROS] Install ROS (melodic) on Ubuntu (18.04)
Install TensorFlow on Ubuntu
Install PySide2 on Ubuntu
Install JModelica on Ubuntu
Install Python 3.3 on Ubuntu 12.04
Install angr on Ubuntu 18.04
Install pip / pip3 on Ubuntu
I installed ROS on Ubuntu 18.04
Install GoLand IDE on Ubuntu
wsl Install PostgreSQL on Ubuntu 18.04
Install Caffe on Ubuntu 14.04 (GPU)
Install Docker on WSL Ubuntu 18.04
Install CUDA10.1 + cuDNN7.6.5 + tensorflow-2.3.0 on Ubuntu 18.04
Install Python 3.8 on Ubuntu 18.04 (OS standard)
Install Caffe on Ubuntu 14.04 (CPU mode)
Install Mecab and mecab-python3 on Ubuntu 14.04
Install and run dropbox on Ubuntu 20.04
Install OpenCV and Chainer on Ubuntu
Install CUDA 8.0 and Chainer on Ubuntu 16.04
Install Python 3.8 on Ubuntu 20.04 (OS standard)
Install fabric on Ubuntu and try
Install Python 3.9 on Ubuntu 20.04 (OS standard?)
Install confluent-kafka for Python on Ubuntu
Install Python 2.7 on Ubuntu 20.04 (OS standard?)
Study Note 9_Install Jenkins on CentOS7
How to install Go on Ubuntu
Install ubuntu on 32bit UEFI Ultra Notebook
Install Caffe running 3D-CNN on clean Ubuntu 14.04
How to install php7.4 on Linux (Ubuntu)
Install pyenv and Python 3.6.8 on Ubuntu 18.04 LTS
Shebang on Ubuntu 20.04
I can't install Dask with pip on Ubuntu
Install python package in personal environment on Ubuntu
[Procedure memo] Install Python3 + OpenSSL locally on Ubuntu
Install the latest Cuda + CuDNN on Ubuntu 18.04 @ Spring 2020
Install MongoDB on Ubuntu 16.04 and operate via python
Install Ubuntu 20.04 LTS (Server) 64bit version on RaspberryPi3B +
Install mecab on Marvericks
Install Tensorflow on Mac
Install python on WSL
Install Faiss on CentOS 7
Install pyenv on mac
Install pip on Mavericks
Install the latest version of CMake on Ubuntu 18.04.4 LTS
Install Python on Pidora.
Install mongodb on termux
Install Scrapy on python3
Install docker on Fedora31
Install Apache 2.4 on Ubuntu 19.10 Eoan Ermine and run CGI
Install numba on CentOS 7.2
Install Ansible on Mac
Install Python on Mac
Install Python 3 on Mac
Install Plone (4.3.6) on MacOSX (10.10.3)
Install Python3.4 on CentOS 6.6
Install Docker (Ubuntu 18.04 LTS)
I got a UnicodeDecodeError when pip install on ubuntu
Install gensim on Marvericks
Install Anaconda on Windows 10
Install numpy on Marvericks