In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to install Kinetic in Ubuntu 16.04. Xiaobian thinks it is quite practical, so share it with you as a reference. I hope you can gain something after reading this article.
1. Configure software source
I use Ubuntu 16.04, recommended to use this version to learn Kinetic, pit less.
To configure the software source first, you need to know the Linux system basics:
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
Set the Keys:
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
If something goes wrong, use this:
wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
2. Installation
Update Software Source:
sudo apt-get update
Install Desktop-Full version, including all commonly used tools, almost once and for all after installation:
sudo apt-get install ros-kinetic-desktop-full
Wait for a while, it is best to choose a faster network, the download volume seems to be about 500M.
3. Initialize rosdep
Rosdep needs to be initialized before running the ROS system. The main function can be simply understood as installing system dependencies when necessary:
sudo rosdep initrosdep update
4. Environment variable settings
If you are using bash, type the following command:
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrcsource ~/.bashrc
If you use zsh, use the following command:
echo "source /opt/ros/kinetic/setup.zsh" >> ~/.zshrcsource ~/.zshrc
If you have multiple ROS versions installed and want to switch between versions in your current Shell terminal, you can source setup.bash or setup.zsh for the version you want to use.
For example, if you want to switch between ROS using the Kinetic version of your current Shell:
source /opt/ros/kinetic/setup.bash
5. Install dependencies of compiled packages
This step is mainly to install some tools to manage your ROS workspace, directly type the following command:
sudo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential
6. Run ROS
In Shell, type:
roscore
The following message appears:
Ctrl + C to exit ROS, done!
About "Ubuntu 16.04 how to install Kinetic" this article is shared here, I hope the above content can be of some help to everyone, so that you can learn more knowledge, if you think the article is good, please share it to let more people see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 269
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.