LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Downwards compatibility in Linux/GNU software. (https://www.linuxquestions.org/questions/linux-general-1/downwards-compatibility-in-linux-gnu-software-4175417760/)

stf92 07-20-2012 05:52 AM

Downwards compatibility in Linux/GNU software.
 
Hi:

Is there downwards compatibility in GNU software including the linux kernel? Example: can Gnome from Slackware 9.2 run on Slackware 10.2 (only an example)?

Mr. Alex 07-20-2012 06:49 AM

AFAIK there is some compatibility, although not much. Especially with Rolling Release distros. There's much more of compatibility in Windows.

stf92 07-20-2012 06:54 AM

Aha... That's not exactly good news. I thought things were more like in DOS/windows. Thanks for your post.

sundialsvcs 07-20-2012 06:58 AM

Honestly, that's such a vague question that it can only get a vague answer ... not worth much. Be specific.

stf92 07-20-2012 11:12 AM

Downwards compatibility is a well-defined concept. Besides I gave an example. If a new processor is launched, it can be specified as downwards compatible with older processors in its family. This means that software running on older CPUs will run in the new one. In software we have the same concept: new O.S, and suppose all software running on the old O.S. runs on the new. There you have downwards compatibility. There is upwards compatibility too.

DavidMcCann 07-20-2012 11:24 AM

Some-one once said that the philosophy of Unix on backwards compatibility is "people standing in the way of progress get run over"! If new versions of things are free, why stick with the old ones?

stf92 07-20-2012 11:28 AM

I'm very interested in this aspect. So, is Unix like Linux in this respect?

Mr. Alex 07-20-2012 11:57 AM

Quote:

Originally Posted by DavidMcCann (Post 4733825)
If new versions of things are free, why stick with the old ones?

I had to find older version of flashplugin recently. The last version of it just doesn't allow me to watch YouTube. Mate is one more good example of why we sometime wish to have an older version. So there are some...

Quote:

Originally Posted by stf92 (Post 4733830)
So, is Unix like Linux in this respect?

UNIX?... Which one? :) UNIX after v7 is not an operating system but a type of one.

stf92 07-20-2012 02:05 PM

Take Unix 7, if you like.

Mr. Alex 07-21-2012 01:33 AM

I don't know, it's too ancient.

Knightron 07-21-2012 08:35 AM

Quote:

Originally Posted by stf92 (Post 4733569)
Hi:

Is there downwards compatibility in GNU software including the linux kernel? Example: can Gnome from Slackware 9.2 run on Slackware 10.2 (only an example)?

Here's the way i see it. Yes it should run but the gnome desktop environment is not just one package, it's a combination of many packages. Some are libraries ect. If the new version of Slackware (in this example) upgrades other packages like gimp which may affect gtk+, which may affect glib. Sometimes it may leak into the package set of the example program (gnome), which can cause issues/incompatibility.
Let me put it this way, you don't even need a Linux kernel to run gnome, why should it affect it.

stf92 07-21-2012 09:28 AM

Mine is a purely naive question, honestly made. I have programs released for MS-DOS 5.00, so I'm speaking of the 80's. You can now run almost all of them. The exception is given by those who make direct I/O and other niceties. From the moment Windows was the true O.S (no longer DOS) there was no way to put the processor into real mode and, hence, direct I/O causes exceptions.

I made it too long. I mean that up to Windows NT there was true downwards compatibility. I only mentioned the kernel to speak about the whole O.S.

DavidMcCann 07-21-2012 10:57 AM

Quote:

Originally Posted by stf92 (Post 4733830)
I'm very interested in this aspect. So, is Unix like Linux in this respect?

I was using Unix in the loose sense of "an operating system complying with the POSIX standard", a definition that includes Linux. If you take a command-line program, you can normally run it on Linux, Solaris, OS-X, Syllable, Haiku, etc. Graphical software is another thing, of course.

sundialsvcs 07-21-2012 12:27 PM

"The Linux System," and "The GNU Software System," consist of hundreds of components. So, "backward compatibility" really means that the components that this-or-that app needs are available ... or newer components that are backward compatible.

Libraries usually "grandfather in" older calls, and so generally does the kernel. But some calls are essentially retired, and sometimes the architecture of the underlying system (e.g. the process/thread model) does change substantially and is not quite compatible.

One nice feature of the Linux system (vs. Windows) is that you can easily install more than one version of the same components, e.g. a library, on the system at the same time. Your apps can be as generic or as specific as they care to be about what they want. You can run a very old version side-by-side with a much newer one without conflict.

Kernel system-calls are almost never an issue since, almost invariably, they're made for you by libraries.

XavierP 07-22-2012 12:44 AM

Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 03:25 PM.