https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125488

--- Comment #11 from van.snyder at sbcglobal dot net <van.snyder at sbcglobal 
dot net> ---
On Fri, 2026-05-29 at 21:46 +0000, kargl at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125488
> 
> --- Comment #10 from Steve Kargl <kargl at gcc dot gnu.org> ---
> (In reply to [email protected] from comment #9)
> > On Fri, 2026-05-29 at 21:17 +0000, kargl at gcc dot gnu.org wrote:
> > >  A
> > > user typically uses some package manager, such as apt, to install
> > > software.  In particular, you're looking for
> > > 
> > > https://packages.debian.org/sid/gfortran-16
> > 
> > # apt install gfortran-16
> > Error: Unable to locate package gfortran-16
> > 
> > Do I need to change /etc/apt/source*
> 
> I'm neither a debian nor apt user.  Googling "How does a user install
> a package from the sid repository on Debian?"  gives instructions,
> but I don't know if the instructions are accurate.

Add this line to /etc/apt/sources.list or
/etc/apt/sources.list.d/sid.list:


deb http://deb.debian.org/debian/ unstable main non-free

To avoid updating everything from "unstable" add this file as
/etc/apt/preferences.d/sid-pinning:

Package: *
Pin: release a=unstable
Pin-Priority: 100

Then "apt update" to read the new package lists. Then "apt install -t
unstable gfortran-16-i686-linux-gnu

But… after I did this, "gfortran -v" shows version 14.2.0. "apt"
installs it as i686-linux-gnu-gfortran-16

Reply via email to