How to reduce flatpak app size?

Aleix Pol aleixpol at kde.org
Wed Aug 8 23:06:27 UTC 2018


On Wed, Aug 8, 2018 at 9:52 AM Muayyad AlSadi <alsadi at gmail.com> wrote:
>
> > Is it possible to share libraries between flatpak applications?
>
> flatpak uses ostree to store files which is content-addressable store
> which mean file is stored based on its content (named after the checksum of the file content)
> which means each content is stored once
>
>
>
> On Tue, Aug 7, 2018 at 10:12 PM Bartłomiej Piotrowski <b at bpiotrowski.pl> wrote:
>>
>> On 07/08/2018 20.32, Gyorgy Kovesdi wrote:
>> > Hi,
>> >
>> > IMHO the main qestion was:
>> > Is it possible to share libraries between flatpak applications?
>> > I have the same question, which is not answered yet.
>> >
>> > Regards
>> > Gyorgy Kovesdi
>>
>> As long as libraries are literally the same, as in have the same
>> checksum, they're deduplicated on disk and are loaded only once to the
>> memory.
>>
>> Bartłomiej

And a fair question is: how do we make sure certain binaries are being shared?

Going back to the previous question, we want to be able to share e.g.
QtWebEngine, maybe it doesn't belong in the sdk, but then we need to
make sure the user doesn't get 5 of them, or otherwise we've lose
overall.

Aleix


More information about the Flatpak mailing list