Board index FlightGear Development New features

Installer for all (>100) Linux distros

Discussion and requests for new features. Please note that FlightGear developers are volunteers and may or may not be able to consider these requests.

Installer for all (>100) Linux distros

Postby Mike4Linux » Mon Mar 29, 2010 6:23 am

Hi
could we get something alike torcs:
http://torcs.sourceforge.net/index.php? ... iinstaller
Would simplify life. :P
Mike4Linux
 
Posts: 79
Joined: Sat Mar 13, 2010 8:48 am

Re: Installer for all (>100) Linux distros

Postby anewb » Mon Mar 29, 2010 11:49 am

Are you referring to the torcs:

Code: Select all
$ ./configure
$ make
$ make install


Because if so, this is pretty much standard for most thing compiled with make.

The only problem with doing things like this, tends to be it never notifies a package manager, and because of this, it may cause conflicts or problems in the long run (Like a package being installed, and replacing files put there by make)

Generally doesn't, but could do.

Not sure how FGFS is compiled though, as I've yet to try it (or need to) :-)
anewb
 
Posts: 55
Joined: Sat Mar 13, 2010 8:04 am
Location: England
Callsign: anewb, Crazy-J
OS: Linux Fedora 28

Re: Installer for all (>100) Linux distros

Postby Canseco » Mon Mar 29, 2010 11:59 am

>100 Linux distros? It's more accurate >600, ;)
Packages from repos or version control, is more secure and updated.
System specs:
AMD Ahtlon 64 X2 Dual Core 2.2 GHz, ASUS M2N4-SLI,3 GB DDR2 800 MHz
Nvidia GT240 1GB 1440x900, 25-30 fps
Canseco
 
Posts: 194
Joined: Wed Jan 06, 2010 12:53 pm
Callsign: Canseco
Version: Git
OS: GNU/Linux

Re: Installer for all (>100) Linux distros

Postby Mike4Linux » Mon Mar 29, 2010 3:45 pm

anewb wrote:Are you referring to the torcs:

[code]
$ ./configure
$ make
)


No of course to: Linux Binary with Installer (1.3.0)

I'm simply getting bored by all this incompatibilities within Linux... :? Why not create such an installer that recognizes whatever package ( deb, rpm etc. ) manager is used.
Mike4Linux
 
Posts: 79
Joined: Sat Mar 13, 2010 8:48 am

Re: Installer for all (>100) Linux distros

Postby AndersG » Mon Mar 29, 2010 6:03 pm

Mike4Linux wrote:No of course to: Linux Binary with Installer (1.3.0)

I'm simply getting bored by all this incompatibilities within Linux... :? Why not create such an installer that recognizes whatever package ( deb, rpm etc. ) manager is used.


Excellent suggestion! When will you have a beta ready for testing?

/Anders
Callsign: SE-AG
Aircraft (uhm...): Submarine Scout, Zeppelin NT, ZF Navy free balloon, Nordstern, Hindenburg, Short Empire flying-boat, ZNP-K, North Sea class, MTB T21 class, U.S.S. Monitor, MFI-9B, Type UB I submarine, Gokstad ship, Renault FT.
AndersG
 
Posts: 2465
Joined: Wed Nov 29, 2006 9:20 am
Location: Göteborg, Sweden
Callsign: SE-AG
OS: Debian GNU Linux

Re: Installer for all (>100) Linux distros

Postby anewb » Tue Mar 30, 2010 10:10 pm

AndersG wrote:
Mike4Linux wrote:No of course to: Linux Binary with Installer (1.3.0)

I'm simply getting bored by all this incompatibilities within Linux... :? Why not create such an installer that recognizes whatever package ( deb, rpm etc. ) manager is used.


Excellent suggestion! When will you have a beta ready for testing?

/Anders
Lol.

---

Mike4Linux, the only problem with this, is the fact that there ARE so many distributions, it would be near on impossible to say "It'll work on all". Because 1. Filesystem layouts can and will be different, take a look at the filesystem's layout on Arch Linux, and then Fedora's and then uBuntu's you'll find there all different.

For example on ubuntu FG would be stored here:

/usr/share/games/FlightGear

On Fedora

/usr/share/FlightGear

not sure about arch.

- configurations may also be placed in different places per linux, for example some Linux's use a different filesystem layout and don't have an "etc" folder.

RPM & Deb, are two completely different things, and would probably be near on impossible to be compatible with each other. Not to mention these are not the only form of packages, arch uses tar for example, using "Pacman" installer, so for example install a package on Fedora: "yum install FlightGear" - ubuntu: "apt-get install FlightGear" Arch: "pacman -S Flightgear" (I think, haven't used arch in a while)

and even if you did manage to install using all the package managers. What about the ones that simply do not have a package manager? or the homebrew Linux's that are custom made by someone for them self? you'll never know how there FS is layed out without directly asking them.

This task would be VERY difficult. at least, if you want it to work on all that is. :)
anewb
 
Posts: 55
Joined: Sat Mar 13, 2010 8:04 am
Location: England
Callsign: anewb, Crazy-J
OS: Linux Fedora 28

Re: Installer for all (>100) Linux distros

Postby Mike4Linux » Wed Mar 31, 2010 5:57 am

Of course not all...only those that want to:
https://www.linuxfoundation.org/lsb-cert/productdir.php?by_lsb
Mike4Linux
 
Posts: 79
Joined: Sat Mar 13, 2010 8:48 am

Re: Installer for all (>100) Linux distros

Postby Tuxklok » Wed Mar 31, 2010 12:05 pm

Just use autopackage or loki installer if you want vendor neutral packages....
The Austria Scenery Project - more info
fg-scenery-tools - gitorious | videos
fgcomgui - Open source, cross platform, gui front end for fgcom. more info

More random musings and doings can be found on my personal site. (work in progress)
User avatar
Tuxklok
 
Posts: 1321
Joined: Tue Apr 21, 2009 6:04 pm
Location: Orlando, FL
Callsign: Tuxklok / N1292P
OS: GNU/Linux

Re: Installer for all (>100) Linux distros

Postby Blender3D » Wed Mar 31, 2010 9:09 pm

I like the kind of installer Nvidia uses for their drivers very much. It works very good and is easy to use.

--Blender3D
Fly one of the biggest rotary wing aircraft the world has seen so far! --> Get the newest version now! (http://gitorious.org/mil-mi-6/mi6dev/archive-tarball/master or "git clone git://gitorious.org/mil-mi-6/mi6dev.git")
User avatar
Blender3D
 
Posts: 272
Joined: Sat Jun 13, 2009 8:15 pm

Re: Installer for all (>100) Linux distros

Postby Tuxklok » Thu Apr 01, 2010 1:13 am

Blender3D wrote:I like the kind of installer Nvidia uses for their drivers very much. It works very good and is easy to use.

--Blender3D

Which I believe is based on makeself, which is part of loki setup(which the makeself author also co-authored), which is what the torcs installer in question uses as well. ;)
The Austria Scenery Project - more info
fg-scenery-tools - gitorious | videos
fgcomgui - Open source, cross platform, gui front end for fgcom. more info

More random musings and doings can be found on my personal site. (work in progress)
User avatar
Tuxklok
 
Posts: 1321
Joined: Tue Apr 21, 2009 6:04 pm
Location: Orlando, FL
Callsign: Tuxklok / N1292P
OS: GNU/Linux

Re: Installer for all (>100) Linux distros

Postby mike4lin » Fri Jan 07, 2011 9:02 am

http://listaller.nlinux.org/

Probably we try to use this for the next FGFS Linux version?
mike4lin
 
Posts: 123
Joined: Tue Jul 06, 2010 5:58 am

Re: Installer for all (>100) Linux distros

Postby gluon » Sat Jan 08, 2011 9:31 am

Well, at least it would be nice if there were packages of the next release for the mainstream distributions available on the FG download site.
That's not that hard to produce actually since OpenSUSE has a build service website which lets you do exactly that:

http://en.opensuse.org/Build_Service
gluon
 
Posts: 68
Joined: Tue Aug 18, 2009 7:43 am


Return to New features

Who is online

Users browsing this forum: No registered users and 1 guest