Re: Compatibility of Debian 9 compiled files in Debian 11 version

2022-02-10 Thread David Christensen

On 2/10/22 09:54, Nagaraju Mulpuri wrote:

Dear Debian Users,
Greetings of the day!
I have been using Debian 9 version for the last 4 years. Recently, my computer 
crashed. I have to install Debian OS again. I am planning to install Debian 11 
version. I have many of my own programs compiled on the Debian 9 version. 
Compiled programs in Debian 9 version will support in Devian 11 version? Or, 
should I go with Debian 9 version?

Thank you very much.
Have a great day!
Best regards,
Raju



Doing both disaster recovery and a (two) major version upgrade 
simultaneously sounds more complex that doing one or the other alone. 
Given the first is required, I would do a fresh install of Debian 9 onto 
a blank SSD and do the disaster recovery.



David



Re: Compatibility of Debian 9 compiled files in Debian 11 version

2022-02-10 Thread Andrew M.A. Cater
On Thu, Feb 10, 2022 at 05:54:08PM -, Nagaraju Mulpuri wrote:
> Dear Debian Users,
> Greetings of the day!
> I have been using Debian 9 version for the last 4 years. Recently, my 
> computer crashed. I have to install Debian OS again. I am planning to install 
> Debian 11 version. I have many of my own programs compiled on the Debian 9 
> version. Compiled programs in Debian 9 version will support in Devian 11 
> version? Or, should I go with Debian 9 version?
> 
> Thank you very much.
> Have a great day!
> Best regards,
> Raju

Hi Raju

If your programs are your own: what language are they written in - and
did you have them backed up?

I suspect the problem you may have is if they are in older versions of
Python - otherwise, C or C++ should work.

Be aware that some programs may be more memory hungry / larger in Debian 11
but otherwise there shouldn't be a problem.

I would respectfully suggest starting from the unofficial non-free .iso file
to give yourself a head start with any needed firmware.

All the very best, as ever,

Andy Cater



Re: Compatibility of Debian 9 compiled files in Debian 11 version

2022-02-10 Thread Greg Wooledge
On Thu, Feb 10, 2022 at 05:54:08PM -, Nagaraju Mulpuri wrote:
> I have been using Debian 9 version for the last 4 years. Recently, my 
> computer crashed. I have to install Debian OS again. I am planning to install 
> Debian 11 version. I have many of my own programs compiled on the Debian 9 
> version. Compiled programs in Debian 9 version will support in Devian 11 
> version? Or, should I go with Debian 9 version?

If the shared libraries that they're linked against still exist, they'll
work.  Most likely.

The question is whether those shared libraries will be present on a clean
installation of Debian 11.  We can't guess without knowing more about
your programs.

You can try it and see.  If one of the programs fails to run, try using
ldd on it to see what shared libraries it's missing.  Then, based on
the knowledge you gain this way, you can decide whether it'll be easier
to recompile them on Debian 11, or to launch an archaeological expedition
to try to find the necessary shared libraries.



Re: Compatibility of Debian 9 compiled files in Debian 11 version

2022-02-10 Thread tomas
On Thu, Feb 10, 2022 at 05:54:08PM -, Nagaraju Mulpuri wrote:
> Dear Debian Users,
> Greetings of the day!
> I have been using Debian 9 version for the last 4 years. Recently, my 
> computer crashed.
> I have to install Debian OS again. I am planning to install Debian 11 
> version. I have
> many of my own programs compiled on the Debian 9 version. Compiled programs 
> in Debian 9
> version will support in Devian 11 version? Or, should I go with Debian 9 
> version?

Most probably not. But you might be lucky, sometimes.

Why not compile them again?

Cheers
-- 
t


signature.asc
Description: PGP signature


Compatibility of Debian 9 compiled files in Debian 11 version

2022-02-10 Thread Nagaraju Mulpuri
Dear Debian Users,
Greetings of the day!
I have been using Debian 9 version for the last 4 years. Recently, my computer 
crashed. I have to install Debian OS again. I am planning to install Debian 11 
version. I have many of my own programs compiled on the Debian 9 version. 
Compiled programs in Debian 9 version will support in Devian 11 version? Or, 
should I go with Debian 9 version?

Thank you very much.
Have a great day!
Best regards,
Raju