Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 26-06-2019, 16:45   #46
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,808
Images: 2
Re: WSL - Ubuntu - Install Travis CLI

Thanks I am going to clean up the Windows Updates I think I have a fair amount in that.
Also will inclrease Ram to 2048. Ubuntu is slow now.
rgleason is offline   Reply With Quote
Old 26-06-2019, 16:47   #47
Registered User
 
Canne's Avatar

Join Date: Aug 2014
Posts: 246
Re: WSL - Ubuntu - Install Travis CLI

... cont'd

The installation has no surprises to you, I guess:

Click image for larger version

Name:	2019-06-26_225148_start_install.png
Views:	66
Size:	111.8 KB
ID:	194800
Click image for larger version

Name:	2019-06-26_225940_mouse_capture.png
Views:	57
Size:	109.1 KB
ID:	194801
Click image for larger version

Name:	2019-06-26_230702_wait_until_appears_before_launch.png
Views:	59
Size:	109.0 KB
ID:	194802
Click image for larger version

Name:	2019-06-27_000039_minimum_installation_updates.png
Views:	66
Size:	292.9 KB
ID:	194803
Click image for larger version

Name:	2019-06-27_004059_installation_complete.png
Views:	69
Size:	178.8 KB
ID:	194804

.. to be continued ...
Canne is offline   Reply With Quote
Old 26-06-2019, 16:53   #48
Registered User
 
Canne's Avatar

Join Date: Aug 2014
Posts: 246
Re: WSL - Ubuntu - Install Travis CLI

... cont'd

Let's open a terminal, check disk space and attempt to install the infamous guest add-ons:

Click image for larger version

Name:	2019-06-27_005636_check_disk_size_-_install_guest_addons_on_guest.png
Views:	61
Size:	191.2 KB
ID:	194805

One needs to read carefully what the installation script is telling. It says that kernel modules (eg. drivers) did not install and tells also the reason why: missing packages, and gives a list of those packages.
Click image for larger version

Name:	2019-06-27_005853_why_the_guest_addons_do_not_install.png
Views:	69
Size:	161.8 KB
ID:	194806

Let's install those missing packages

Click image for larger version

Name:	2019-06-27_010008_install_gcc_make_perl.png
Views:	60
Size:	13.5 KB
ID:	194807

Try to install again, now they are compiling.

Click image for larger version

Name:	2019-06-27_010441_guest-addons_kernel_modules_now_compiling.png
Views:	65
Size:	151.9 KB
ID:	194808

But the kernel modules (these) cannot be loaded in running kernel, so it asks to be rebooted:

Click image for larger version

Name:	2019-06-27_010749_need-to-reboot_after-kernel-modules_built.png
Views:	64
Size:	30.0 KB
ID:	194809

... to be continued ...
Canne is offline   Reply With Quote
Old 26-06-2019, 17:01   #49
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,808
Images: 2
Re: WSL - Ubuntu - Install Travis CLI

I think it is faster. Less delay.


Attached is what I wanted to get to you.
Now via FF in ubuntu. Good Idea. Should have thought of that. Many ways to "skin the cat".!
Attached Files
File Type: doc Ruby-Gem-Install.doc (43.7 KB, 31 views)
rgleason is offline   Reply With Quote
Old 26-06-2019, 17:02   #50
Registered User
 
Canne's Avatar

Join Date: Aug 2014
Posts: 246
Re: WSL - Ubuntu - Install Travis CLI

... cont'd

The rest is the procedure that you know, only one package (curl) is here not installed compared to WSL 18.04 LTS:

Code:
sudo apt-get update
sudo apt-get install ruby
sudo apt-get install gem
sudo apt-get install curl
Now the Ruby Version Manager (rvm):

Code:
command curl -sSL https://rvm.io/mpapis.asc | gpg --import -
command curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -
curl -sSL https://get.rvm.io | bash -s stable --ruby
(This takes long time) Click image for larger version

Name:	2019-06-27_011611_installing_ruby_rvm_takes_looong_time.png
Views:	61
Size:	82.9 KB
ID:	194810

Source the ~/.rvm and install travis

Code:
source /home/petri/.rvm/scripts/rvm
gem install travis
Seems OK: Click image for larger version

Name:	2019-06-27_012408_gem_install_travis_output.png
Views:	65
Size:	160.3 KB
ID:	194812
But let's check:

Code:
travis -version
Shell completion not installed. Would you like to install it now? |y| y
1.8.10
Click image for larger version

Name:	2019-06-27_012551_travis_installed.png
Views:	58
Size:	30.5 KB
ID:	194811

What else one can expect from life but a working procedure!

I admit, the entire process took from me 3 hours, not 2. In WSL 18.04LTS it was considerably faster but since yours has been sacrificed for other usage, this way at least you have your Travis CLI.
Canne is offline   Reply With Quote
Old 26-06-2019, 17:10   #51
Registered User
 
Canne's Avatar

Join Date: Aug 2014
Posts: 246
Re: WSL - Ubuntu - Install Travis CLI

Quote:
Originally Posted by rgleason View Post
Attached is what I wanted to get to you.
You're not following the procedure; what is the reason to run "sudo gem update"? You just installed it!
Canne is offline   Reply With Quote
Old 26-06-2019, 17:12   #52
Registered User
 
Canne's Avatar

Join Date: Aug 2014
Posts: 246
Re: WSL - Ubuntu - Install Travis CLI

All that "vxbosguest" stuff missing I also explained in my screen captures above. You did not read what the system was telling you: no way to compile and build kernel modules before you install gcc, make and perl (wonder where they need perl, crazy?).
Canne is offline   Reply With Quote
Old 26-06-2019, 17:13   #53
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,808
Images: 2
Re: WSL - Ubuntu - Install Travis CLI

Quote:
.. cont'd

The installation has no surprises to you, I guess:

Note: That I did uncheck download updates during the installation! This was done because it failed twice before. I also dropped down from 30gb to something more realistic that was suggested by a windows popup of the disk system, and went below the suggestion, picking 20gb for the virtual disk.


Interesting about not installing the kernel and rebooting. I did not get these notices however, it just went off into space and never came back. Probably processing the virtual hard disk and the existing HD sectors.
rgleason is offline   Reply With Quote
Old 26-06-2019, 17:14   #54
Registered User
 
Canne's Avatar

Join Date: Aug 2014
Posts: 246
Re: WSL - Ubuntu - Install Travis CLI

Continue from above from point "sudo apt-get install curl" and don't loose your concentration this time...
Canne is offline   Reply With Quote
Old 26-06-2019, 17:16   #55
Registered User
 
Canne's Avatar

Join Date: Aug 2014
Posts: 246
Re: WSL - Ubuntu - Install Travis CLI

Quote:
Originally Posted by rgleason View Post
Interesting about not installing the kernel and rebooting. I did not get these notices however, it just went off into space and never came back. Probably processing the virtual hard disk and the existing HD sectors.
Just forget that part for now and return to virtualbox guest extenions once you got the travis working. It is getting late here...
Canne is offline   Reply With Quote
Old 26-06-2019, 17:18   #56
Registered User
 
Canne's Avatar

Join Date: Aug 2014
Posts: 246
Re: WSL - Ubuntu - Install Travis CLI

Quote:
Originally Posted by rgleason View Post
Note: That I did uncheck download updates during the installation! This was done because it failed twice before
You executed the apt-get update, correct? That should have done the trick by now.
Canne is offline   Reply With Quote
Old 26-06-2019, 17:31   #57
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,808
Images: 2
Re: WSL - Ubuntu - Install Travis CLI

Finally found the Vbos Commands in Linux Right CTRL + Home and it pops up. Then select Devices and Pick Guest Additions at the bottom. The run and I see it is missing some things GCC?


I shutdown and then ran it again. Don't know what next to do.



Quote:
Verifying archive integrity... All good.
Uncompressing VirtualBox 6.0.8 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 6.0.8 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules. This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel 4.18.0-15-generic.

This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted
Press Return to close this window...

sudo install gcc make perl packages ???
rgleason is offline   Reply With Quote
Old 26-06-2019, 17:33   #58
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,808
Images: 2
Re: WSL - Ubuntu - Install Travis CLI

Quote:
Originally Posted by Canne View Post
You executed the apt-get update, correct? That should have done the trick by now.

Yes I did
rgleason is offline   Reply With Quote
Old 26-06-2019, 17:41   #59
Registered User
 
Canne's Avatar

Join Date: Aug 2014
Posts: 246
Re: WSL - Ubuntu - Install Travis CLI

Quote:
Originally Posted by rgleason View Post
sudo install gcc make perl packages ???
Yes, this is what it says:
This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution
So, you say:

Code:
sudo apt-get install gcc make perl
Then you need to unmount the CD-drive disk (the extension CD) and reclick on its menu item to remount it and relaunch it. You don't need all these shortcuts, it is there right on in the menu. Then you need to carefully wait until it completes. And then you need to reboot.

... I can see that you are obsessed with other things but Travis CLI ... I have to go now. If you have time, maybe you can finish the Travis CLI installation procedure (without inventing yours) and tell me how it went. Bye for now.
Canne is offline   Reply With Quote
Old 26-06-2019, 17:51   #60
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,808
Images: 2
Re: WSL - Ubuntu - Install Travis CLI

Petri:


Regarding my mistake.


sudo apt-get update

sudo apt-get install ruby

sudo apt-get install gem
----> Then I put sudo apt-get update gem or somethiing

----> and the log shows a bunch of errors. What do I do now? Just continue?

sudo apt-get install curl <-- go ahead with this one?





Quote:
Continue from above from point "sudo apt-get install curl" and don't loose your concentration this time...
rgleason is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install opencpn in Ubuntu 14 bhcva OpenCPN 3 03-06-2014 13:35
Logbook connie - How to Install on Ubuntu? Jd1 OpenCPN 3 24-03-2013 08:47
OCPN 3.2.0 install on Ubuntu 12.04 - dependencies RobbieW OpenCPN 6 17-03-2013 06:43
How to Install OpenCPN on Ubuntu claire OpenCPN 3 01-11-2012 00:26

Advertise Here
  Vendor Spotlight
No Threads to Display.


All times are GMT -7. The time now is 01:15.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.