[Gambas-user] Runtime 10 files

T Lee Davidson t.lee.davidson at gmail.com
Mon Dec 18 06:41:52 CET 2017


On 12/17/2017 07:46 PM, mikeB wrote:
> *********************************************************************
> This software was programmed using "Gambas3  v3.10.0"
> VERY IMPORTANT: before installing this app you will need to have/ install Gambas Runtime v10 files - most systems will not have
> these very new files installed yet. You'll only need to do this once!
> 
> Do so via the terminal commands:
> 
> sudo add-apt-repository ppa:gambas-team/gambas3
> sudo apt-get update
> gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0'
> 
> note: if return value of this last command is "TRUE" then that means
> you're ready to go (have the v10 Runtime files installed).
> 
> OTHERWISE IT WILL RETURN
> 
> "The program 'gbx3' is currently not installed. You can install it by
> typing:
> sudo apt install gambas3-runtime
> 
> Doing so installs the Gambas v10 Runtime files then you're all set.
> **********************************************************************


You might be able to simplify your instructions if Aptitude (apt-get) works similar to YaST. There is an 'aptitude' executable
installed on my openSUSE system which seems to redirect to YaST.

`sudo apt-get install gambas3-runtime` produces:
**********
Loading repository data...
Reading installed packages...
'gambas3-runtime' is already installed.
No update candidate for 'gambas3-runtime-3.10.0-20.1.x86_64'. The highest available version is already installed.
Resolving package dependencies...

Nothing to do.
**********

If the package is already installed, it looks for an available update. So, you may be able to replace:
gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0'
with:
sudo apt-get install gambas3-runtime

let it automatically search for any available upgrade package, and eliminate about 8 lines from your instructions.

That is, if Aptitude works like YaST.


-- 
Lee


More information about the User mailing list