7 ms·
I keep try to evangelize the fact that things like apt are one of the biggest wins for the various UNIX-like OS's. In Windows world installing software takes bo
by IgorPartola 16y ago
I keep try to evangelize the fact that things like apt are one of the biggest wins for the various UNIX-like OS's. In Windows world installing software takes both finding it and configuring the installer. On a Mac you have to at least find it. On Ubuntu/Debian/etc you just have to know the name (or you can search a central database). Also no more Java/Flash player/Acrobat Reader "needs to be updated" messages. You update everything at once. And it can all be scripted. And you can update your entire OS to the next major release in three commands. I can go on and on.
- demallien 16y agoyeah, until the repository maintainers mess up, create two packages that are in conflict, and yet both installed on your system, and now every attempt to update your software fails because you have out-of-date dependencies that can't be updated due to the conflict. In case you hadn't noticed, I'm a bit bitter about my fedora install at the moment :) That said, I think you overestimate the delta between OSX and the various linuxes. On the Mac, as with linux, if you want to use a package that isn't part of the core system, you should package it into your app/lib yourself. The big advantage that the linuxes have is that they have a far bigger range of packages in the repository than you have in a mac's standard install. But by the same token, you can't have as much confidence that all the libs play well together, because they haven't been tested as thoroughly as Mac OSX's set of libs...
- spacemanaki 16y agoI'm not sure I follow your suggestion of "package it into your app/lib yourself". Are you suggesting manually installing stuff that isn't available from Macports or Fink? Or something else? For the record I'm pretty green when it comes to Unix sysadmin stuff so go easy... I'm genuinely interested - I'm a new Mac user who came from Linux and my biggest issue on the Mac so far is that package management isn't as good as apt. There was a discussion on HN and I was disappointed to find a lot of other people have had the same feeling.
- thristian 16y agoFor what it's worth, I'm an ex-Mac user who went back to Linux because I missed apt. Of course, I do a lot of hobby programming and general messing around with open-source software; if your use-cases tend more towards pre-packaged software, you might get on perfectly well.
- deleted 16y ago[deleted]
- spacemanaki 16y agoI definitely haven't written off switching back to Linux - if I ever do it will probably be because of apt (and maybe xmonad). For now, installing the vanilla versions of stuff like ruby 1.9, SBCL, mit-scheme from Macports, and pre-packaged versions of MacVim and emacs are working for me but that may not always be the case...
- _delirium 16y agoI do sort of both by running Debian inside Virtualbox on my Macbook as a dev environment. I especially like being able to install -dev packages to get header files/libraries into the right places, whereas on OSX, if you want to compile software that depends on anything that didn't come with XCode, it's a mess of manually extracting things and passing pathnames. I don't go the whole way and just install Debian on the machine mostly because having OSX handle things like the touchpad driver, hibernation, wifi, etc., is less hassle, and I also like OSX as a desktop environment (e.g. being able to use multitouch gestures in the browser). But Linux in a VM is definitely a nicer experience imo than fink was, as a way of getting a parallel Unix CLI userland onto OSX.
- technomancy 16y ago> I don't go the whole way and just install Debian on the machine mostly because having OSX handle things like the touchpad driver, hibernation, wifi, etc., is less hassle Have you tried this recently, or do you just say that because it's the stereotype? Because it's been over three years since I had any hardware trouble with Ubuntu. These days I have more issues on my friend's OS X Macbook (no drivers for 3G modems out of the box) than I do on Ubuntu where everything just works.
- retube 16y agofedora- are you talking about rpm? Yes, this is a nightmare- package conflicts are common-place, and generally a real b*tch to fix. RPM was the main reason I ditched Fedora and switched to Ubuntu. In 3 years I don't think I've ever had an install failure or conflict or any problem with apt-get. It's always worked flawlessly.
- code_duck 16y agoIt's so true - when I configure a Windows machine I can't believe what a pain it is to go find and install all the needed software (go to web page... click... find download area... download... double click... click 800 more times...). And then, uninstallation is a mess. That's one of the things that I think is so silly when people say Linux isn't user friendly, that the package management is really so amazing, and people who have never used Linux really just have no idea.
- bryanh 16y agoCheck out http://ninite.com/ http://ninite.com/. The name is extremely forgettable (I have it bookmarked under mass installation), but it lets you install dozens of Windows apps with one click!
- fauigerzigerk 16y agoThe package manager concept is actually what I hate most about Linux systems and Ubuntu's strategy to not let you upgrade some packages without upgrading the OS itself is insane. Packages tend to thrust some completely idiosyncratic configuration scheme down my throat that is documented nowhere and that creates conflicts of its own. They don't just solve dependencies they encourage dependencies because they are supposed to be resolved automatically anyway. But they're not. Things break all the time. The Linux dependency hell has far surpassed the infamous Windows DLL hell of the 90s. I was called to help people fix their Ubuntu installation after some package upgrade had uninstalled half the system. I had an upgrade replace a working but proprietary wifi driver with a non functional "free" one, etc, etc. Most of the problems I ever had with Ubuntu were caused by that completely broken package management idea. If I want Python 2 and 3 on the same system I can't have a package manager tell me that's not supposed to be when I know full well that it's no problem.
- dkarl 16y agoThey don't just solve dependencies they encourage dependencies This is a good thing. Developers' attitude toward dependencies gets very lax when it's too much work to declare them or too much work for the user to satisfy them. Then you get into situations where you install a piece of software and 90% of the functionality is broken, because the developer was "considerate" enough not to "force" a bunch of dependencies on you, so you resort to Google to find the real dependencies, which of course aren't available for your distro. Apt gives developers a flexible way to declare different kinds of dependencies, and the Debian and Ubuntu distro repositories give them confidence that the dependencies will install smoothly for users. I had much more difficulty with undeclared dependencies back in the day than I have with excessive dependencies now. It's just wrong for software to easily install in a mostly broken state. If you want broken, partly-working software, you should have to do extra work to achieve that, not the other way around.
- Gormo 16y agoHow about statically-linked builds? Hard drives and memory are cheap compared to the annoyances of having to manage dependencies on the user's system. Package management is a solution to a problem that doesn't need to exist in the first place.
- swies 16y agohttp://ninite.com http://ninite.com is getting close to apt-get for Windows. We're working on a Mac version too. Things are better on Linux, but not all rosy. Installing Dropbox, for example, is a surprisingly crappy experience (windows popping up, separate proprietary daemon download, etc). That, and way more user requests than you'd imagine, is why we have http://ninite.com/linux http://ninite.com/linux now too.
- IgorPartola 16y agoCertainly looks promising. For some reason it reminds me of Portable Apps. As for Dropbox, yes, I recently went through installing it. Terrible experience on Ubuntu. I think the reason is mostly that it is using a proprietary daemon. A FUSE driver seems like a much better idea, and if they released it under an open license, it would be as easy as apt-get install dropbox.
- wyclif 16y agoI've had nothing but a completely smooth experience with Dropbox on Ubuntu. YMMV?
- IgorPartola 16y agoI tried to set up Dropbox without any sort of a GUI. I know that their .deb package is partially an extension to Nautilus, and since I run Xubuntu I don't have that installed. Instead I followed the poorly written instructions at http://wiki.dropbox.com/TipsAndTricks/TextBasedLinuxInstall http://wiki.dropbox.com/TipsAndTricks/TextBasedLinuxInstall which resulted in a .py file being invoked via ~/.profile which still creates a GUI window to ask you for your information, etc. Why not have a standard daemon with a ready-made init.d script rather than this madness?
- robgough 16y agoI use ninite all the time (it's brilliant!), but only ever for initial installation. Does it handle updating apps?
- mdwrigh2 16y agoOS X has a package manager, it just isn't installed by default. Checkout MacPorts or Homebrew.
- IgorPartola 16y agoYes, I am aware of these projects. They, however, don't have the advantages that things like apt have. For example you cannot use them to update your entire OS. Instead you must order DVD's from Apple, and then boot from them. Yes, installing certain software this way is easier, but it is not nearly as convenient as having the entire OS built around it. On the other hand, existence of these projects indicates that Mac users are dissatisfied with how installing/updating/maintaining software is done in Mac OS X and are looking for something better. Lastly, I don't necessarily think that apt is end-all be-all silver bullet answer to all questions. I just think that out of the available technologies today, OS's that are built around package management work better and are easier to use than anything else out there.
- meric 16y agoThe existence of these projects is necessitated because users want to use unix-y programs but they don't know how to compile themselves. I don't use either of homebrew or macports anymore. I used to have them but then when I want to make something that depends on something I got from homebrew or macports it doesn't quite work and I end up downloading the source and compiling it into a framework using XCode myself anyway. I've done this so many times it doesn't take me more than a few minutes to get all the dependencies in order. (I can re-use frameworks I've made before). The frameworks are embedded into the application bundle and can be used on any other computer that can run universal binaries. That makes the app portable, too. The beauty of all this is that other computers don't even need a compiler installed and they can still use the same programs I built. Of course it'll never beat apt... but it's the easiest in terms of getting that DVD to ipod video converter onto my aunt's computer. I believe you're right. If you want package management the OS has to be built around it, otherwise it won't work quite right (unless you put time into it, of course). I still will use macosx though, it needs less configuration and everything just works; or maybe I'm just too used to it to use anything else. Mac OS X is built for consumers and developers who develop for consumers who use Apple products. For these consumers and developers Mac OS X is the best there is. Unfortunately I think that's it. Terminal is still good, though. To upgrade your OS, you only need to click "Restart" when software update tells you to. The only time you need the DVDs is when there is a major version out, i.e "Leopard", "Snow Leopard", etc.
- dinkumthinkum 16y agoBah, it's not really that easy. I remember having an annoyingly difficult time getting a working up-to-date Glade on the latest LTS version. Sure, it worked on the latest Ubuntu just fine, but shouldn't we able to have some popular applications up-to-date without a big mess? But yeah, in general its pretty great.
- c00p3r 16y agorepeat after me: yum on top of rpm ecosystem are more flexible and friendly. yum is the great step ahead in both flexibility and user-friendliness compared to apt.