if you (try to) uninstall FLTK-1.4.3 (the runtime package) then all packages depending on it would also be removed. However, `apt` lists these packages before removal and gives you a choice to do it or not.
# apt remove libfltk1.4 The following package was automatically installed and is no longer required: fltk1.4-doc Use 'apt autoremove' to remove it. REMOVING: fltk-options fltk1.4-games fluid libfltk-cairo1.4 libfltk-forms1.4 libfltk-gl1.4 libfltk-images1.4 libfltk1.4 libfltk1.4-dev Summary: Upgrading: 0, Installing: 0, Removing: 9, Not Upgrading: 0 Freed space: 9,970 kB Continue? [Y/n] n Abort.Don't miss to type 'n' or 'N', the default is 'Y' (if you try yourself) !
On 1/14/26 00:31 'Albrecht Schlosser' wrote:
if you (try to) uninstall FLTK-1.4.3 (the runtime package) then all packages depending on it would also be removed. However, `apt` lists these packages before removal and gives you a choice to do it or not.
From my Trixie VM:
# apt remove libfltk1.4 The following package was automatically installed and is no longer required: fltk1.4-doc Use 'apt autoremove' to remove it. REMOVING: fltk-options fltk1.4-games fluid libfltk-cairo1.4 libfltk-forms1.4 libfltk-gl1.4 libfltk-images1.4 libfltk1.4 libfltk1.4-dev Summary: Upgrading: 0, Installing: 0, Removing: 9, Not Upgrading: 0 Freed space: 9,970 kB Continue? [Y/n] n Abort.
For what it may be worth (probably not much...) I'd not bother trying to update the system-FLTK on debian right now. (Or Ubuntu for that matter. Or any RH derived distro, or...)I always build a "user" version of FLTK and use that in my builds instead. Which is fine - needs a bit of fiddling about in setting up the build to ensure it doesn't "accidentally" pull in the system libs, but otherwise that seems to be the "best" option.
It is not advised to have two versions of FLTK side to side, repeated warning several times in this group. And as an unexperienced user I can only stick to that (or else...)
What you say contradicts what is advised and for me that is a bit confusing. Just one question.
Hmm, I think there's some confusion about the "-dev" vs
"non-dev" debian packages.
> Leave the system "libfltkx.x" package in
place, never remove that, as debian's own tools that use fltk need
the runtime binaries that package provides.
> Only uninstall (i.e. remove) the system libfltkx.x-dev
package (emphasis on the "-dev" suffix) as that will break builds
of newer fltk library source code versions pulled from github or
fltk.org, due to interference that package causes with the
/usr/include/FL directory. (see below)
Long answer:
If one is going to build the latest versions of fltk from
github or fltk.org snapshots, then be sure the debian "-dev"
package is removed first (if it was ever installed to begin with)
to remove any interference it might cause with downloaded fltk
library source code builds.
The only reason to use the debian "-dev" version of FLTK is if
you're recompiling debian tools, and want the same version of FLTK
that debian tools used when your version of debian was
constructed.
On my Ubuntu 24.x that package is called "libfltk1.3-dev",
and I never install it, because I'm never rebuilding debian tools,
and always using the latest versions of FLTK for my own tools. So
a good reason to uninstall that package is if you plan to download
recent versions of the FLTK library (github or fltk.org tarball
snapshots), and dont want interference from the /usr/include/FL/
directory that package creates. This is because the C++ compiler
will try to pull in that /usr/include/FL directory first
when building a newer version of the fltk lib, and that
interference causes weird errors and crashes, due to the different
headers.
Most people building their own FLTK apps want to use recent
versions of FLTK downloaded from github or fltk.org, and don't
want interference caused by the debian provided older source code
include files provided by that "-dev" package. Debian tools that
use fltk don't need the "-dev" package just to run.
So don't install the "-dev" fltk package if you want to use
newer fltk source code builds.
What you would leave in place (untouched) would be the
debian installed fltk runtime libs/dll's that
debian's own tools that use fltk .dll's to run. Uninstalling that
package will remove all those debian tools as dependencies, which
makes a mess!
On my Ubunti 24.x that binary install of fltk's libs is called
"libfltk1.3t64" (without the -dev suffix). Definitely don't
uninstall that, or you'll break debian tools that use fltk's
.dll's at runtime.
Do you uninstall the system version?
It is not advised to have two versions of FLTK side to side, repeated warning several times in this group. And as an unexperienced user I can only stick to that (or else...)
What you say contradicts what is advised and for me that is a bit confusing. Just one question. Do you uninstall the system version?