Install ROS on ubuntu 16.04
1. Setup your sources.list and set up your keys
http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.149 80]...
1. apt-get remove .*:arm64
2. dpkg --remove-architecture arm64
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://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
2. Installation
sudo apt-get update
sudo apt-get install ros-kinetic-desktop-full
3. Initialize rosdep
sudo rosdep init
rosdep update
4. Environment setup
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
5. Dependencies
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential
--------------------------------------------------------------------------------------------------------------------------
If errors occur like following status:
http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.149 80]...
Solution:
2. dpkg --remove-architecture arm64
Errors might be caused while installing Jetpack before...
Reference: https://askubuntu.com/questions/942155/apt-get-update-not-working-not-found-ip-194-19-194-51-80
***change the ROS folder location***
--------------------------------------------------------------------------------------------------------------
Another error of update failing and its solution:
Reference: https://answers.ros.org/question/325039/apt-update-fails-cannot-install-pkgs-key-not-working/
Reference: https://askubuntu.com/questions/942155/apt-get-update-not-working-not-found-ip-194-19-194-51-80
***change the ROS folder location***
--------------------------------------------------------------------------------------------------------------
Another error of update failing and its solution:
Reference: https://answers.ros.org/question/325039/apt-update-fails-cannot-install-pkgs-key-not-working/
留言
張貼留言