by code_duck · 12y ago · 0 comments
> " 1) Microsoft wants to create a coherent store experience and ecosystem for Windows with the Windows Store.
[...] when Apple showed the world how awesome a central managed application store is, everyone had to do it. [...] it’s just an obvious thing that nobody got before. [...] It doesn’t make sense anymore to scout the web through bad website and installers that want to fill your computer with crap by default when you can have a one button purchase/install/update/manage for your apps. "
Actually, Linux, especially Debian and Ubuntu have had that for years. Configuring a Windows machine with the software you need used to mean going to 10 different websites, downloading zip and exe files each with their own installer, etc and it would take forever vs. Debian or Ubuntu where you can install most anything from apt, quickly and easily just like an App Store... since 1999.
The Apple App Store distributes _self contained_ binaries+dependencies (excluding OS libs) which is one sane way of doing things.
Windows and Mac don't have dependency management at all. They just pack one big blob with all the dependencies. Mac tries to imitate the Linux packaging with homebrew, but it's far from it yet.
The thing about different repos with the same deps is solved with 'priorities', since its inception.
Not sure why you feel so compelled to talk about OSs I didn't mention. I was talking about the iOS App Store. In any case - apt-get, yum etc are third party tools that just copy, extract files from some server and run some pre-made configuration scripts. Thats all they do. All the hard work of figuring out dependencies, avoiding cycles, etc is done OUTSIDE the OS by the repository maintainers. You can do that on ANY OS.
>The thing about different repos with the same deps is solved with 'priorities', since its inception.
Different repositories which the user ads can and do have dependency conflicts. One package from repo-1 can require a lib with version >= 1.0 while another package from another repo-2 will only work with version 0.9, etc. I have often had to add add other repos to get software unavailable in current repos. I have run in to these issues quite often. And I am not even getting into how brittle apt-get in general is.
Because you said:"Linux, unlike a modern OS, lacks any kind of sane dependency management", which is of course non-sensical, as it is the only OS with dependency management. Also in the case of RPM the dependencies are listed inside the package, the YUM then just does the dependency resolution and fetches the required packages. I really don't understand what point you're trying reach, since automatic dependency management/resolving is one of the most important reasons Linux is chosen for server environments and deployments.
Since I've been doing this for a living for more than 10 years, I really don't know how you have found so many problems and issues with it. Maybe you're using some kind of rolling-release distro?
And of course nope; you can't do that on any OS, because.... we would have done it! That's why homebrew for Mac feels like a poor man's apt/yum system.
Third party to whom, exactly? Each major distribution maintains its own repositories and packaging system.
Okay, so that's all they do... it works great. They also provide a central place for your system to download a huge variety of software that has been tested and approved for your specific OS version.
>All the hard work of figuring out dependencies, avoiding cycles, etc is done OUTSIDE the OS by the repository maintainers. You can do that on ANY OS.
You could, but they don't. The fact is that for years prior to the Apple App Store for iPhone or OSX, or the Windows Store, there existed a way to install a wide variety of Linux software automatically and easily from a central source.
>Different repositories which the user ads can and do have dependency conflicts. One package from repo-1 can require a lib with version >= 1.0 while another package from another repo-2 will only work with version 0.9, etc. I have often had to add add other repos to get software unavailable in current repos. I have run in to these issues quite often. And I am not even getting into how brittle apt-get in general is.
Sure, that's true. Personally I've always found the software I need on the main repositories for Ubuntu or Debian, and not needed to add external sources. When there is a package I need that's not in a repository, installing a binary or compiling from source has worked fine. So I haven't experienced the problems you mention or hint at in 10-12 years of desktop and server Linux use.
Your typical package manager will build a recursive and reverse dependency database, resolve version conflicts, detect cycles, and suggest alternative dependencies and recommended or optional packages.
Here's the official PKGBUILD used by Arch for ffmpeg as an example. There's not a single version qualifier in sight, and no other files are needed to build and install the package... from source.
https://projects.archlinux.org/svntogit/packages.git/tree/tr...
It's not exactly trivial, but FOSS OSs have been doing this for decades and have hundreds of thousands of packages. It's a vast improvement over having 28 copies of the openssl dll on your average Windows machine, all out of date.
There's Ubuntu Software Center, but that postdates the iOS store.
I was working on setting up my Mac for Python/Flask development last week and installing MySQL resembled installing it on windows... Time consuming and it required reading documentation and searching just to get it to work. You can ameliorate that by installing MacPorts, homebrew or fink but those truly are third party and ridden with dependency problems. They feel like a 2nd rate apt.
Apt-cache (in fact, aptitude, but there's no difference) is my primary tool for searching for new software. When it fails, I go to Google, but get much less useful results.
Why didn't you have those installers on cd or usb?