Created
February 11, 2022 18:25
-
-
Save rohanshukla94/a56a82c5c3ab52d47dccea7486c59267 to your computer and use it in GitHub Desktop.
Install gcc 6 on Ubuntu 18.04 for using amcl with GPU. Works with ROS Melodic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update && \ | |
sudo apt-get install build-essential software-properties-common -y && \ | |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \ | |
sudo apt-get update && \ | |
sudo apt-get install gcc-6 g++-6 -y && \ | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6 && \ | |
gcc -v && \ | |
sudo apt-get install nvidia-cuda-toolkit && \ | |
mkdir -p ~/catkin_ws/src && \ | |
cd ~/catkin_ws/src && \ | |
git clone https://github.com/atinfinity/amcl.git && \ | |
cd ~/catkin_ws && \ | |
catkin_make && \ | |
source devel/setup.zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment