[kwlug-disc] Xubuntu 22.04 to 24.04 Upgrade

Chris Frey cdfrey at foursquare.net
Tue Oct 8 23:11:00 EDT 2024


On Tue, Oct 08, 2024 at 01:34:08PM -0700, Ronald Barnes via kwlug-disc wrote:
> William Park via kwlug-disc wrote on 2024-10-08 13:19:
> 
> > What is wrong about static linking?  You know exactly what went into
> > the binary.  Sometimes, you want that, no?
>
> As with many things, it's got its pros and cons.

True.  Good points made by Ronald and Khalid.

> Pros:
> -----
> 
> File sizes are smaller (but these days that's not significant).

I'd point out that it's not just disk space that is saved, but RAM too.
With static linking, every different binary might have it's own
copy of, say, libz compression routines, or some network code.
Meanwhile, with shared libraries, the same code, in the same RAM,
can be shared across all the different programs that use it.

On lower memory systems, you might want this.

On the other hand, having a static binary is great for disaster
recovery tools.

- Chris




More information about the kwlug-disc mailing list