Difference between revisions of "ROS Installation Hydro"

From wikidb
Jump to: navigation, search
(Installation and Setup)
(Installation and Setup)
Line 47: Line 47:
 
    
 
    
 
   source ~/.bashrc
 
   source ~/.bashrc
 +
 
 +
  sudo apt-get install python-rosinstall
  
 
== Disk Status 2 ==
 
== Disk Status 2 ==

Revision as of 18:07, 15 February 2014

Documentation

Hydro Installation

Repository Set Up

See Repository Settings. "Note: In Ubuntu 9.04 (Jaunty) and later, the main, universe, restricted and multiverse repositories are enabled by default."

This was confirmed with the Main Menu: Ubuntu Software Center. "univere", "restricted" and "multiverse". Move mouse to master window. Select "Edit" menu, "Preferences" item. This pops up a new window. Assure that "Ubuntu Software" tab is selected.

 sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > 
       /etc/apt/sources.list.d/ros-latest.list'
 wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
 sudo apt-get update

Disk Status 1

Directly after a clean install of Ubuntu 12.04.

 eepp@rock:~$ df
 Filesystem     1K-blocks    Used Available Use% Mounted on
 /dev/sda1        6537352 2454300   3727932  40% /
 udev              499512       4    499508   1% /dev
 tmpfs             203328     880    202448   1% /run
 none                5120       0      5120   0% /run/lock
 none              508316     200    508116   1% /run/shm
 /dev/sdb1       15073280   37704  15019192   1% /media/sdcard
 
 eepp@rock:~$ du -s /usr/
 815432	/usr/
 
 eepp@rock:~$ du -sh /usr/
 1.8G	/usr/
 
 eepp@rock:~$ du -s /opt
 4	/opt

Installation and Setup

 sudo apt-get install ros-hydro-desktop-full
 
 sudo rosdep init
 
 rosdep update
 
 echo "source /opt/ros/hydro/setup.bash" >> ~/.bashrc
 
 source ~/.bashrc
 
 sudo apt-get install python-rosinstall

Disk Status 2

 eepp@rock:~$ df
 Filesystem     1K-blocks    Used Available Use% Mounted on
 /dev/sda1        6537352 5459736    722496  89% /
 udev              499512       4    499508   1% /dev
 tmpfs             203328     884    202444   1% /run
 none                5120       0      5120   0% /run/lock
 none              508316     200    508116   1% /run/shm
 /dev/sdb1       15073280   37704  15019192   1% /media/sdcard
 
 eepp@rock:~$ du -s /usr/
 3788232	/usr/
 
 epp@rock:~$ du -sh /usr/
 3.7G	/usr/
 
 eepp@rock:~$ du -s /opt/
 148984	/opt/

Failed

It failed when I did a 12.04 upgrade because there disk was 60% full.

Installation

 sudo apt-get install ros-hydro-desktop-full

Disk Full

 eepp@Rock:~$ df
 ilesystem     1K-blocks    Used Available Use% Mounted on
 /dev/sda1        6668424 6643172         0 100% /
 udev              501224       4    501220   1% /dev
 tmpfs             203408     872    202536   1% /run
 none                5120       0      5120   0% /run/lock
 none              508516     204    508312   1% /run/shm

uninstall help


 eepp@Rock:~$ sudo apt-get remove ros-hydro-desktop-full
 E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 
 eepp@Rock:~$ sudo dpkg --configure -a
 dpkg: error: failed to write status database record about 'libxrender1' to '/var/lib/dpkg/status': No space left on device