Installing compiled program on another laptop...
Posted
#1
(In Topic #1472)
Regular

So, basically, Qs galore: what is the minimum Gambas file-suite needed to install a compiled program on another linux computer? Synaptic lists a runtime interpreter, but presumably a fair number of other files are needed? Is there an installation package already 'out there' that we can use, or does the development environment help with that :?:
Thanks,
C.
Posted
Banned
using the IDE "Make package" creates a package that should install (re-compile) the program on the other machine. (it may or may not install all dependencies automatically)
Otherwise essentially you should just need the gambas3-runtime and the packages for all components your program uses including gui libs.
Posted
Administrator



You need to package your application in IDE and select your target distribution (I guess Debian based in your case) in one of the steps. It will (in your case) create a .deb package. In there are all dependencies and executable for properly installing the application. The target system needs gambas (same or higher version) in a reachable repository and upon installing the .deb (using dpkg -i or gdebi or some GUI tool) it will pull in run-time and all needed components to run your application. It is as simple as that, but…chrisRoald said
So, basically, Qs galore: what is the minimum Gambas file-suite needed to install a compiled program on another linux computer? Synaptic lists a runtime interpreter, but presumably a fair number of other files are needed? Is there an installation package already 'out there' that we can use, or does the development environment help with that :?:
Be aware that official debian and ubuntu repository packages for Gambas are not conform Gambas requirements and not quite the same like those made on OSB.
So, conflicts might arise when installing an official made .deb on a system pulling dependencies from an OSB repository. Other way around is doubtful as official is lower version than OSB so impossible to install a higher made gambas application on a lower gambas version (there is no forward compatibility
If developing on official version, best distribute on official version repo for target systems.
If developing on OSB version, best distribute on OSB version repo for target systems.
Or host your own gambas repo if you have webservers (or intranet webservers) available and host a Gambas version of you pickings.
And distribute your applications from same webrepo. Or host a file repo on target systems with Gambas version of pickings.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
1 guest and 0 members have just viewed this.


