먼저 ROS 설치 사이트를 방문한다.

 

http://wiki.ros.org/ROS/Installation

 

ROS/Installation - ROS Wiki

ROS Installation Options There is more than one ROS distribution supported at a time. Some are older releases with long term support, making them more stable, while others are newer with shorter support life times, but with binaries for more recent platfor

wiki.ros.org

ROS는 Kinetic Kame, Melodic Morenia 두가지 버전이 있고, Linux Mint 19.3 Tricia는 Ubuntu Bionic (18.04 LTS)기반으로 만들어 졌기 때문에 Melodic Morenia버전을 설치해야 한다.

 

http://wiki.ros.org/melodic/Installation/Ubuntu

 

melodic/Installation/Ubuntu - ROS Wiki

We are building Debian packages for several Ubuntu platforms, listed below. These packages are more efficient than source-based builds and are our preferred installation method for Ubuntu. Note that there are also packages available from Ubuntu upstream. P

wiki.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'

 

저기 중간에 보면 $(lsb_release -sc) 가 있는데 이건 ubuntu 과 mint에서의 결과가 다르다.

 

mint에서는 

 

tricia가 나오고 저 명령어에서 원하는 글자는 bionic이기 때문에 설치가 안된다.

(이건 PinkWink님 Blog를 보고 힌트를 얻었다.)

https://pinkwink.kr/1181

 

Linux Mint에서 ROS 설치하기

최근 ROS Kinetic 버전을 설치하기 위해, 리눅스 민트 Sylvia 버전(18.3)을 맥에서 패러럴즈로 설치했는데요. 이번에는 거기에 이어서 민트에서 ROS를 설치하려구요^^ Kinetic 설치 안내페이지로 갑니다. 그냥 이..

pinkwink.kr

 

그래서 명령어의 저 부분을 bionic 으로 바꿔주면 설치가 잘된다.

 

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu bionic main" > /etc/apt/sources.list.d/ros-latest.list'

 

그 이후는 ros 설치 Page에서 시키면 아주 잘된다.

 

 

잘된다.

+ Recent posts