News for hackers. Stuff that matters.
Re:Hard Rust requirements from May onward for all Debian ports by throwaway2037 on Saturday November 01, 2025 @03:22PM (#45784510)
Is X11/KDE considered part of the "base system"? If yes, then:

    > indeed, there's quite a few commenters here who I think would be surprised to learn that not only is C++ on this list, but that it's been on it for at least 25 years
... isn't so surprising.
Re:Hard Rust requirements from May onward for all Debian ports by fweimer on Saturday November 01, 2025 @03:37PM (#45784625)
The Debian base system is much, much smaller. I'm surprised that people consider Python to be part of it. However, APT depends on Perl and the C++ run-time library, so those two languages have been part of the base system for a very long time.
Re:Hard Rust requirements from May onward for all Debian ports by no_wizard on Saturday November 01, 2025 @03:43PM (#45784670)
I wonder how much of that Perl support is simply regex and other parsing utilities.

I’ve notice a lot of that in base OS systems

Its a curiosity more than anything though

Re:Hard Rust requirements from May onward for all Debian ports by rcxdude on Saturday November 01, 2025 @03:54PM (#45784782)
A substantial fraction of apt is written in perl. It's actually still pretty core to debian, even if applications are using it less.
Re:Hard Rust requirements from May onward for all Debian ports by julian-klode on Saturday November 01, 2025 @04:53PM (#45785244)
There is no Perl code in APT itself, nor in dpkg on the installing side; Perl is used by dpkg-dev, i.e. when building packages.
Re:Hard Rust requirements from May onward for all Debian ports by rcxdude on Saturday November 01, 2025 @06:02PM (#45785824)
Ah, my apologies. I must admit I am not entirely clear on where the boundaries are between the different tools and other elements of the debian packaging process.
Re:Hard Rust requirements from May onward for all Debian ports by zahlman on Saturday November 01, 2025 @09:55PM (#45787237)
> I'm surprised that people consider Python to be part of it. However, APT depends on Perl

Pardon?

  $ file `which apt`
  /usr/local/bin/apt: Python script, ASCII text executable
Re:Hard Rust requirements from May onward for all Debian ports by localusr123 on Saturday November 01, 2025 @11:40PM (#45787708)
Which apt is that?

? file `which apt`

/usr/bin/apt: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=157631f2617f73dee730273c7c598fd4d17b7284, for GNU/Linux 3.2.0, stripped

Re:Hard Rust requirements from May onward for all Debian ports by throwaway7356 on Sunday November 02, 2025 @02:55AM (#45788620)
Debian doesn't ship files in /usr/local.

You can of course add your own "apt" binary in /usr/local/bin/apt which can be written in any language you like, say COBOL, Java, Common Lisp or Python.

Re:Hard Rust requirements from May onward for all Debian ports by zahlman on Sunday November 02, 2025 @12:30PM (#45791928)
Ah, of course. I guess this wrapper is provided by Mint.
Re:Hard Rust requirements from May onward for all Debian ports by throwaway2037 on Sunday November 02, 2025 @06:43PM (#45794435)
I am curious: What does the wrapper do? Can you share the source code here?
Re:Hard Rust requirements from May onward for all Debian ports by zahlman on Monday November 03, 2025 @05:29AM (#45797630)
It appears to re-organize various apt-related commands and sub-commands (including ones provided by additional distro-specific scripts) so that they're all available as sub-commands of `apt`. I don't do much micro-management so I haven't really thought about what the "proper" underlying commands are, except when I've had to look up specific `dpkg` invocations. It's about 200 lines.
Re:Hard Rust requirements from May onward for all Debian ports by fweimer on Monday November 03, 2025 @02:47PM (#45803541)
Sorry, I meant that something in the package management stack depends on Perl (not APT specifically).

It looks like in trixie, it's libpam-modules that pulls in debconf, which is written in Perl. And libpam-modules is required by util-linux, which is Essential: yes.

Re:Hard Rust requirements from May onward for all Debian ports by kelnos on Saturday November 01, 2025 @05:31PM (#45785595)
I'm sure the Debian base system doesn't include GUI stuff at all.