Ask Your Question
0

When do I need to install python-rosinstall?

asked 2013-05-27 17:25:58 -0500

sam gravatar image

I use ROS fuerte before.

Now I want to use ROS groovy on the same laptop.

I found that I can run rosinstall command now, but I also can install python-rosinstall.

What's their difference?

When is the case to install python-rosinstall?

I run rosinstall:

  sam@sam:~$ rosinstall 

  usage: rosinstall [OPTIONS] INSTALL_PATH [ROSINSTALL FILES OR DIRECTORIES]
  see: http://www.ros.org/wiki/rosinstall

  Common Option:
  -n or --nobuild (don't perform a 'make core_cools' on the ros stack)

  Type 'rosinstall --help' for usage.

  Common invocations:

  initial checkout:   rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=ros-full&overlay=no"
  subsequent update:  rosinstall ~/ros


  sam@sam:~$

I run sudo apt-get install python-rosinstall

  sam@sam:~$ LANG=C
  sam@sam:~$ sudo apt-get install python-rosinstall
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages were automatically installed and are no longer required:
    libgsl0-dev omniorb-nameserver libomnithread3-dev omniidl omniorb libomnithread3c2 libavahi-core-dev libomniorb4-1 libgsl0ldbl
    libomniorb4-dev
  Use 'apt-get autoremove' to remove them.
  The following extra packages will be installed:
    bzr python-bzrlib python-vcstools
  Suggested packages:
    bzr-doc bzr-gtk bzr-svn python-bzrlib.tests bzrtools python-kerberos python-gpgme python-bzrlib-dbg
  The following NEW packages will be installed:
    bzr python-bzrlib python-rosinstall python-vcstools
  0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
  Need to get 1,877 kB of archives.
  After this operation, 9,119 kB of additional disk space will be used.
  Do you want to continue [Y/n]?
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-05-27 20:54:24 -0500

fergs gravatar image

Did you install rosinstall using pip in the past? If so, you want to remove it, and move to the version found in python-rosinstall.

edit flag offensive delete link more

Comments

Yes,I use pip to install rosinstall. Is python-rosinstall the newer version of rosinstall? What's their difference? Thank you~

sam gravatar image sam  ( 2013-05-27 21:39:17 -0500 )edit

The pip installer was an approach tried, and then abandoned. Newer versions of rosinstall have not been distributed via pip for quite some time. If the old version isn't acting up, you're probably fine to continue using it, but if you use rosws or wstool (the catkin replacement), these depend on ...

fergs gravatar image fergs  ( 2013-05-27 22:12:39 -0500 )edit

python-rosinstall. And MOST IMPORTANTLY, do not install python-rosinstall without first removing the pip version -- or you'll end up with all sorts of impossible to debug errors because the new stuff is still finding parts of the old stuff...

fergs gravatar image fergs  ( 2013-05-27 22:14:18 -0500 )edit

Thank you for so detail explanation. So how to remove the old rosinstall?

sam gravatar image sam  ( 2013-05-27 22:43:50 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-05-27 17:25:58 -0500

Seen: 1,480 times

Last updated: May 27 '13