logoalt Hacker News

1718627440last Thursday at 3:24 PM9 repliesview on HN

I don't want software on my computer, that just downloads and installs random stuff. This is the job of the OS in particular the package manager.


Replies

jitllast Thursday at 8:11 PM

You're welcome to live in the 90s dark ages, I feel this attitude and the shape of the old linux distros like Debian that laboriously re-package years-old software have been one of the biggest failures of open source and squandered untold hours of human effort. It's a model that works okay for generic infrastructure but requires far too much labor and moves far too slowly with quite a poor experience for end users and developers. Why else would all modern software development (going back to perl's cpan package manager in 1995) route around it?

ghshephardyesterday at 11:18 PM

I very much appreciate the sentiment - and agree that random crap (particularly some of the insane dependency chains that you get from NPM, but also Rust) in which you go to install a simple (at least you believe) package - and the Rust/NPM manager downloads several hundred dependencies.

But the problem with only using the OS package manager is that you then lock yourself out of the entire ecosystem of node, python, rust packages that have never been migrated to whatever operating system you are using - which might be very significant.

How do you feel about Nix? It feels like this is a nice half-way measure between reliable/reproducible builds, but without all of the Free For all where you are downloading who-knows-what-from-where onto your OS?

zbentleylast Thursday at 3:40 PM

Do you not use non-OS package managers?

If not, do you develop software with source dependencies (go, java, node, rust, python)? If so, how do you handle acquiring those dependencies—by hand or using a tool?

show 2 replies
dotancohenlast Thursday at 7:35 PM

In general I agree with you. But not for software dev packages.

The package manager I use, apt on Debian, does not package many Python development repos. They've got the big ones, e.g. requests, but not e.g. uuid6. And I wouldn't want it to - I like the limited Debian dev effort to be put towards the user experience and let the Python dev devs worry about packaging Python dev dependencies.

QuantumNomad_last Thursday at 3:31 PM

What’s the point of constraining oneself to what is in the OS package manager? I like to keep my dependencies up to date. The versions in the OS package manager are much older.

And let’s say you constrain yourself to your OS package manager. What about the people on different distros? Their package managers are unlikely to have the exact same versions of your deps that your OS has.

show 1 reply
wiseowiselast Thursday at 7:19 PM

Don't worry, gramps, pip won't trigger your tinfoil hat.

mirekrusinlast Thursday at 3:29 PM

Then don't use it?

maccardlast Thursday at 4:07 PM

Do you use pip?

nimchimpskylast Thursday at 10:39 PM

[dead]