ubuntu12.04 under the installation of ROS (fully validated) _ubuntu12.04

Source: Internet
Author: User

I. Ubuntu12.04lts installation (Lts=long term support long-term support)

1. Allocate 100G of unallocated space on the computer (XP: Delete logical partition, Win7: Compress ...) )

2. Download the image files of Ubuntu system, such as: Ubuntu-12.04.4-desktop-i386.ios

3. The mirror file can be made into a startup disk, and ultraiso_9.5.5.2960 may be used to make it, method: http://jingyan.baidu.com/article/b24f6c82cf50e086bfe5dae9.html

4. Restart the computer after the completion of the production, press F12 key, choose to start from the USB disk

5. Follow the prompts step-by-step

6. After the installation will be prompted to reboot, reboot when the U disk

7. If you install another version of Ubuntu can not uninstall the current version, directly install other version of the overwrite

Two. Ros Installation Original: http://blog.csdn.net/xiaocainiaoshangxiao/article/details/13288515

First look at your Ubuntu version:

Press and hold ctrl+alt+t to open a terminal, enter in the inside:
Cat/etc/issue


If your Ubuntu version is ubuntu12.04, enter the following command at the terminal: sudo sh-c ' echo ' deb Http://packages.ros.org/ros/ubuntu precise main ' >/etc/ Apt/sources.list.d/ros-latest.list '


If it is Ubuntu12.10:sudo sh-c ' echo "Deb Http://packages.ros.org/ros/ubuntu quantal main" >/etc/apt/sources.list.d/ Ros-latest.list '


If it is Ubuntu13.04:sudo sh-c ' echo "Deb Http://packages.ros.org/ros/ubuntu raring main" >/etc/apt/sources.list.d/ Ros-latest.list '


After executing the above command, you need the following command in the terminal: wget Http://packages.ros.org/ros.key-O-| sudo apt-key add-


After the above command completes, you need to enter the following command: sudo apt-get update


The above command will take a long time to execute, please wait patiently. After this instruction is completed, enter the following instruction at the terminal: sudo apt-get install Ros-hydro-desktop-full


The above instructions will take longer to execute, because this is the process of installing ROS, please don't be impatient, wait patiently.

During the installation process, a dialog box that selects Yes and no will appear, and be sure to select Yes, and other data will be available by default, without modification. Later can be passed: ' Dpkg-reconfigure hddtemp ' to new settings.

After the installation is complete, you can use the following command to view the installed packages that you can use: Apt-cache search Ros-hydro

You then need to initialize the newly installed Ros: (if the error is to install the Ruby package, sudo apt-get install [ruby name]) sudo rosdep init

After the above command has been completed, you can see prompts to perform the ROSDEP Update command, and then continue typing: ROSDEP update


Then you need to set the environment variable: echo "Source/opt/ros/hydro/setup.bash" >> ~/.BASHRC source ~/.BASHRC


This setting is permanent and does not need to be set once each time a terminal is opened. Of course, you can also use the temporary: Source/opt/ros/hydro/setup.bash


This requires that you perform one of these commands each time you open a terminal. It is recommended that the first instruction be used.

Next you need to install a very important tool rosinstall, this tool will be very useful in the future, the installation commands are as follows: sudo apt-get install Python-rosinstall


After the execution of this command, the installation is almost complete.

Finally, test whether Ros is installed successfully:

1.roscore

2. Press CTRL + C to exit

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.