Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

What are core libraries in Ubuntu? I mean libraries where the APIs and ABIs are preserved across major releases, like 12.04 LTS, 14.04 LTS and 16.06 LTS. What is the core of Ubuntu and what is the policy on how many releases API and ABI are kept stable?

Here is example documentation from Red Hat, I didn't find yet equivalent documentation for Ubuntu.

share|improve this question
add comment

1 Answer

Ubuntu is a distribution based on Debian. By being a distro (distribution), it stands as a re-packaged version of the linux-kernel with lots of stuff on top (such as gnome). Since Ubuntu is branched from the last stable version of Debian, most of the core-utils that you want are actually same as those used in Debian.

I took a look at ubuntu packages and a search for libc reveals the versions used in each ubuntu version.

The core of ubuntu is the Linux Kernel, and the Ubuntu Policy on keeping releases stable is available here.

When you develop for ubuntu, you can link your package against any version of the standard libraries using the deb packaging system that Ubuntu inherits from Debian. This allows you to specify a minimum version of the library that your package needs, for instance. You do not have to worry about compatibility issues across releases, rather check for the last version of the library that supported the features you are using. The Debian Developer Reference goes on details about this.

share|improve this answer
    
I could not find mention of keeping ABI or API stable over releases, I mean if I develop software for Ubuntu 12.04 LTS, I don't know what libraries are still stable in 16.04 LTS. This means that software may be broke next upgrade. –  M-Kar Jul 10 '12 at 12:02
    
I found this site: developer.ubuntu.com I assume that it says all recommended development tools and practises like Red Hat documentation but it didn't help to tell how to write application that doesn't broke after platform upgrades. What are those "standard libraries" in Ubuntu you mentioned and what is the policy to keep them stable? What libaries are kept stable several releases and what are stable only in one release lifespan? –  M-Kar Jul 10 '12 at 12:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.