Install vagrant from source files on a local setup without internet

27 views
Skip to first unread message

Sahana

unread,
Feb 5, 2020, 11:32:15 PM2/5/20
to Vagrant
Hi All,

I trying to install vagrant and vagrant-libvirt on local machine without internet access.

I am very new to ruby.

It would be so very helpful, if someone could detail the steps or outline the procedure you used.

So far, I have 

1. manually downloaded gems needed for vagrant specified in - vagrant.gemspec
2.  I dont have gem on my local machine which is a custom linux OS.
3. I have added the gems under xyz directory 
4. # ls -lr
total 0
drwxr-xr-x  5 2936443 495825331 280 Feb  5  2020 unf_ext-0.0.7.6
drwxr-xr-x  4 2936443 495825331 240 Jan  1 00:44 unf-0.1.4
drwxr-xr-x  5 2936443 495825331 400 Jan  1 00:44 rest-client-2.1.0
drwxr-xr-x  4 2936443 495825331 240 Jan  1 00:44 rb-inotify-0.10.1
drwxr-xr-x  5 2936443 495825331 240 Jan  1 00:44 rb-fsevent-0.10.3
drwxr-xr-x  5 2936443 495825331 160 Jan  1 00:44 netrc-0.11.0
drwxr-xr-x  4 2936443 495825331 420 Jan  1 00:44 net-ssh-5.2.0
drwxr-xr-x  4 2936443 495825331 240 Jan  1 00:44 net-sftp-2.1.2
drwxr-xr-x  3 2936443 495825331 280 Jan  1 00:44 net-scp-2.0.0
drwxr-xr-x  5 2936443 495825331 240 Jan  1 00:44 mime-types-data-3.2019.1009
drwxr-xr-x  4 2936443 495825331 220 Jan  1 00:44 mime-types-3.3.1
drwxr-xr-x  6 2936443 495825331 120 Jan  1 00:44 log4r-1.1.10
drwxr-xr-x  4 2936443 495825331 160 Jan  1 00:45 listen-3.2.1
drwxr-xr-x  3 2936443 495825331 100 Jan  1 00:45 i18n-1.8.2
drwxr-xr-x  4 2936443 495825331 240 Jan  1 00:45 http-cookie-1.0.3
drwxr-xr-x  3 2936443 495825331 220 Jan  1 00:45 http-accept-1.7.0
drwxr-xr-x  5 2936443 495825331 360 Jan  1 00:45 ffi-1.12.2
drwxr-xr-x 10 2936443 495825331 280 Jan  1 00:45 erubis-2.7.0
drwxr-xr-x  6 2936443 495825331 300 Jan  1 00:45 domain_name-0.5.20190701
drwxr-xr-x  4 2936443 495825331 180 Jan  1 00:45 concurrent-ruby-1.1.5
drwxr-xr-x  4 2936443 495825331 300 Jan  1 00:45 childprocess-3.0.0

How do i proceed beyond this point?Any input would be super appreciated.

Thanks

dragon788

unread,
Feb 7, 2020, 12:04:51 AM2/7/20
to Vagrant
I'd highly recommend not using the Ruby version of Vagrant, it is old and not maintained. Go grab the latest version from vagrantup.com for your operating system as it should be a self contained installer.

Sahana

unread,
Feb 9, 2020, 11:36:01 PM2/9/20
to Vagrant
Hi ,

My problem is that I dont have internet on my machine.
I have downloaded vagrant tar ball from here - https://github.com/hashicorp/vagrant/releases

I ve downloaded offline all the gems mentioned in the gemspec file.

How do i proceed beyond this?

Alvaro Miranda Aguilera

unread,
Feb 10, 2020, 11:03:45 AM2/10/20
to vagra...@googlegroups.com
you should be able to download a package from your os from here:


--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/08531e77-a209-4fe1-8dc2-1423ca007edb%40googlegroups.com.


--
Alvaro

Sahana

unread,
Feb 10, 2020, 2:05:53 PM2/10/20
to Vagrant
Hi Alavro,

I dont have a package manager on the embedded linux.
Its ARM based. In that case, how do I download the source and compile for the target?

Thanks
Sahana

On Monday, February 10, 2020 at 8:03:45 AM UTC-8, Alvaro Miranda Aguilera wrote:
you should be able to download a package from your os from here:


On Mon, Feb 10, 2020 at 5:36 AM Sahana <saha...@gmail.com> wrote:
Hi ,

My problem is that I dont have internet on my machine.
I have downloaded vagrant tar ball from here - https://github.com/hashicorp/vagrant/releases

I ve downloaded offline all the gems mentioned in the gemspec file.

How do i proceed beyond this?

On Thursday, February 6, 2020 at 9:04:51 PM UTC-8, dragon788 wrote:
I'd highly recommend not using the Ruby version of Vagrant, it is old and not maintained. Go grab the latest version from vagrantup.com for your operating system as it should be a self contained installer.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagra...@googlegroups.com.


--
Alvaro

Alvaro Miranda Aguilera

unread,
Feb 11, 2020, 7:14:20 AM2/11/20
to vagra...@googlegroups.com
hello

vagrant is a good tool to create development environments

using a plugin method it have a host / provide / guest model

installing vagrant on a ARM host, is not today part of the installers, so i would ask first

are there any tool out of the box that can help you to do whatever you want to do ?

otherwise you may invest time into making vagrant work on ARM but maybe other tooling can do the work for you

i can think on try docker or LXC containers

How much ram your ARM machine have?

Reply all
Reply to author
Forward
0 new messages