From 0faad24d62dfa32f0d875f6021b2c609df123928 Mon Sep 17 00:00:00 2001 From: Ruixiang Du Date: Fri, 16 Oct 2020 11:18:23 +0800 Subject: [PATCH] updated readme about cmake --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/README.md b/README.md index 523615c..f41c2dd 100755 --- a/README.md +++ b/README.md @@ -78,6 +78,41 @@ $ catkin_make ### II. Use the package without ROS +You will need to upgrade CMake to a newer version in this case. Follow instructions on this page: https://apt.kitware.com/ + +Here is a brief summary + +``` +$ sudo apt-get update +$ sudo apt-get install apt-transport-https ca-certificates gnupg software-properties-common wget +$ wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null +``` + +Ubuntu 20.04 + +``` +$ sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ focal main' +``` + +Ubuntu 18.04 + +``` +$ sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' +``` + +Ubuntu 16.04 + +``` +$ sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial main' +``` + +``` +$ sudo apt-get update +$ sudo apt-get install kitware-archive-keyring +$ sudo rm /etc/apt/trusted.gpg.d/kitware.gpg +$ sudo apt-get install cmake +``` + If you want to build the TUI monitor tool, additionally install libncurses ```