ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
2 | No.2 Revision |
This should be possible.
See #q61323, #q132911 and #q189757 for earlier questions about this.
Edit: a quick work-around for all this would appear to be to copy the $HOME/.ros/rosdep
directory from a PC with internet access to the one that doesn't have internet.
But then you run into the issue that for rosdep
to be able to install any dependencies it needs internet access (or your pkg manager can't download from the repositories).
rosdep check --from-paths .. --ignore-src
and similar would still be able to print the list of missing dependencies for you though.
3 | No.3 Revision |
This should be possible.
See #q61323, #q132911 and #q189757 for earlier questions about this.
Edit: a quick work-around for all this would appear to be to copy the $HOME/.ros/rosdep
directory from a PC with internet access to the one that doesn't have internet.
But then you run into the issue that for rosdep
to be able to install any dependencies it needs internet access (or your pkg manager can't download from the repositories).
rosdep check --from-paths .. --ignore-src
and similar would still be able to print the list of missing dependencies for you though.
Edit2: running the risk of solving the 'wrong' part of an xy-problem: I believe I got this to work. As follows (MWI: machine with internet, MNI: machine no internet):
wget
the files listed in ros/rosdistro/rosdep/20-default.list to somewhere on your disk. Copy these to the machine without.sudo mkdir -p /etc/ros/rosdep/sources.list.d
.wget
20-default.list and copy it to MNI (in the dir we created in the previous step). Replace all http://
URIs with file:///path/to/where/you/put/the/files/from/step/1
. Pay attention to the nr of forward slashes, it has to be three.git clone https://github.com/ros/rosdistro.git
. Copy this to MNIexport ROSDISTRO_INDEX_URL=file:///path/to/where/you/put/the/rosdistro/clone/index.yaml
/path/to/where/you/put/the/rosdistro/clone/index.yaml
, comment all distribution_cache
entries.Now rosdep update
should not try and download anything from the internet anymore.
4 | No.4 Revision |
This should be possible.
See #q61323, #q132911 and #q189757 for earlier questions about this.
Edit: a quick work-around for all this would appear to be to copy the $HOME/.ros/rosdep
directory from a PC with internet access to the one that doesn't have internet.
But then you run into the issue that for rosdep
to be able to install any dependencies it needs internet access (or your pkg manager can't download from the repositories).
rosdep check --from-paths .. --ignore-src
and similar would still be able to print the list of missing dependencies for you though.
Edit2: running the risk of solving the 'wrong' part of an xy-problem: I believe I got this to work. As follows (MWI: machine with internet, MNI: machine no internet):
wget
the files listed in ros/rosdistro/rosdep/20-default.list to somewhere on your disk. Copy these to the machine without.sudo mkdir -p /etc/ros/rosdep/sources.list.d
.wget
20-default.list and copy it to MNI (in the dir we created in the previous step). Replace all http://
URIs with file:///path/to/where/you/put/the/files/from/step/1
. Pay attention to the nr of forward slashes, it has to be three.git clone https://github.com/ros/rosdistro.git
. Copy this to MNIexport ROSDISTRO_INDEX_URL=file:///path/to/where/you/put/the/rosdistro/clone/index.yaml
/path/to/where/you/put/the/rosdistro/clone/index.yaml
, comment all distribution_cache
entries.Now rosdep update
should not try and download anything from the internet anymore.
Note that this is essentially what @dirk-thomas wrote in his answer to #q132911.
5 | No.5 Revision |
This should be possible.
See #q61323, #q132911 and #q189757 for earlier questions about this.
Edit: a quick work-around for all this would appear to be to copy the $HOME/.ros/rosdep
directory from a PC with internet access to the one that doesn't have internet.
But then you run into the issue that for rosdep
to be able to install any dependencies it needs internet access (or your pkg manager can't download from the repositories).
rosdep check --from-paths .. --ignore-src
and similar would still be able to print the list of missing dependencies for you though.
Edit2: running the risk of solving the 'wrong' part of an xy-problem: I believe I got this to work. As follows (MWI: machine with internet, MNI: machine no internet):
wget
the files listed in ros/rosdistro/rosdep/20-default.list to somewhere on your disk. Copy these to the machine without.sudo mkdir -p /etc/ros/rosdep/sources.list.d
.wget
20-default.list and copy it to MNI (in the dir we created in the previous step). Replace all http://
URIs with file:///path/to/where/you/put/the/files/from/step/1
. Pay attention to the nr of forward slashes, it has to be three.git clone https://github.com/ros/rosdistro.git
. Copy this to MNIexport ROSDISTRO_INDEX_URL=file:///path/to/where/you/put/the/rosdistro/clone/index.yaml
/path/to/where/you/put/the/rosdistro/clone/index.yaml
, comment all distribution_cache
entries.Now rosdep update
should not try and download anything from the internet anymore.
Note that this is essentially what @dirk-thomas @Dirk Thomas wrote in his answer to #q132911.