-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get deno in apt / debian / ubuntu #1583
Comments
Just for reference, deno is currently installable via Homebrew, Update: Installing with Linuxbrew does not work yet, see below. |
@waldyrious Strange, don't work in linux (Debian 10 tested) because MacOS is required. |
@sandhilt good point. That's because Deno depends on Python 2, which Homebrew does not package anymore. So they add that dependency as a way to use the macOS-provided python2, as is indicated in the formula code. So to fix that, Deno needs to support Python 3 — that's being tracked in #2893. I'm sorry for my misleading comment above. I've edited it to clarify that Linuxbrew is not yet a viable installation method. |
#8223 should unblock this I believe |
Update on Linuxbrew: in https://github.com/Homebrew/linuxbrew-core/pull/21209 there was an attempt to get the Homebrew formula to work on Linuxbrew as well, but it was put on hold pending some changes to be merged on Deno's side; I believe those changes are now in place, as described in the discussion thread there, but I don't think anyone has retried the formula adaptation again since then. |
Would makedeb be of any interest? It's a project I've personally created, but it would greatly aid in the maintainability of a Debian package imo if you guys wanted to adopt it for your packaging. It's already being used by quite a few package maintainers and directly by upstream projects alike, including some fairly well-known ones. |
Some personal notes about When it comes to So if you need some tool like Well, Debian packaging is not easy at the first glance, but after a proper OTOH keeping the For everything else there are existing tools. For example:
But these are future challenges. The immediate challenge to solve when you provide your own repository, is that you need to keep your own secure build base ( FYI: I know the creator of PS: YMMV, but I am a die hard Debian user and think, luckily Debian does not promote Snap like Ubuntu. So if you would do a favor to people like me, stay with pure |
Is this any closer to fruition in 2023 than it was in 2019? |
Just posing it as an option, but I could add this into the Prebuilt-MPR, which would give APT repositories for any distros that would be needed. The Prebuilt-MPR only officially supports Ubuntu 20.04/22.04 and Debian 11, but since Deno is largely a static binary the |
There has been discussion about this from the Debian side as well: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961337 Though building a
So deno's dependencies would need to be packaged for Debian, and their dependencies, and so on. For an idea of the scope of work here, https://github.com/denoland/deno/blob/main/Cargo.lock has around 600 packages. |
My Debian post-installation is in TS/Deno, this would my script(s) cleaner. |
No description provided.
The text was updated successfully, but these errors were encountered: