Ask Your Question
0

Install Ros Indigo without downloading it everytime via terminal

asked 2019-02-26 07:36:58 -0600

Battu007 gravatar image

updated 2019-02-26 08:19:09 -0600

Simply said, I have to install ROS Indigo on different computers, multiple times.
My plan was to install ROS on a computer, once, following this tutorial "http://wiki.ros.org/indigo/Installation/Ubuntu" and then transfer(?) the files to another computer and compile them.
Reason for doing this is I don't have unlimited internet nor great download speeds and neither a stable connection.
So, is there a way to transfer Ros from one computer to another, offline?

edit retag flag offensive close merge delete

Comments

[..] then transfer(?) the files to another computer and compile them.

"compile them"? The installation guide you link to installs binaries from .debs. Nothing gets compiled.

Can you clarify?

gvdhoorn gravatar imagegvdhoorn ( 2019-02-26 07:38:30 -0600 )edit

Fairly new here so I don't know how binaries work. "Compile them", basically meant install them. Through binaries, could I perform an offline installation after downloading them?

Battu007 gravatar imageBattu007 ( 2019-02-26 07:42:36 -0600 )edit

@Battu007 why don't you just automate the whole process by writing simple bash script?

l4ncelot gravatar imagel4ncelot ( 2019-02-26 08:11:37 -0600 )edit

A bash script will just automate the process of "downloading" ros each time, which is something I don't want to do. What i'm looking for is to transfer ros from one computer to another, offline (if that is possible).

Battu007 gravatar imageBattu007 ( 2019-02-26 08:18:47 -0600 )edit

See also #q296864 btw, of which your question is essentially a duplicate.

gvdhoorn gravatar imagegvdhoorn ( 2019-02-26 08:29:25 -0600 )edit

Right, that should work for me. Thanks for helping out

Battu007 gravatar imageBattu007 ( 2019-02-26 09:43:44 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2019-02-26 08:24:15 -0600

gvdhoorn gravatar image

updated 2019-02-26 08:33:15 -0600

Through binaries, could I perform an offline installation after downloading them?

this is indeed what you'd want to do.

Copying individual files / directories is not going to be either scalable or maintainable.

The keywords here are: "download deb packages for off-line computer" or similar.

Example results: How can I install software or packages without Internet (offline)?.

This is not ROS specific, but an approach that works for any .deb based software distribution (please also note that I'm not endorsing or recommending any of the tools that are mentioned in the linked AskUbuntu Q&A).

An alternative could be to create an actual apt mirror on one of your machines that does have internet. If you have a network setup between your PCs, you could use the local mirror as an apt source which would allow your other computers to install the same packages without downloading them from packages.ros.org again.


Edit: a proper solution would apparently be to use apt-offline for this. I've never used that myself though, so I can't comment on its usability.

edit flag offensive delete link more
1

answered 2019-02-26 13:25:07 -0600

ChriMo gravatar image

updated 2019-02-26 13:26:26 -0600

Hi,

I use ansible scripts (playbooks) to install and maintain all my ros installations.

MasterPC:

apt-cacher-ng as caching proxy to avoid unneccessary internet traffic.

ansible + simple playbook for ros installation and updates

ROS systems:

basic small ubuntu system

sshd enabled

python-minimal

catkin_ws via git (save and restore own projects)

Works painless for years now.

edit flag offensive delete link more

Comments

Oh, I'll check those out too, Thanks for helping out :)

Battu007 gravatar imageBattu007 ( 2019-02-26 22:28:14 -0600 )edit

if you need some more support, drop me note :-)

ChriMo gravatar imageChriMo ( 2019-02-27 01:54:00 -0600 )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

1 follower

Stats

Asked: 2019-02-26 07:36:09 -0600

Seen: 69 times

Last updated: Feb 26