News for hackers. Stuff that matters.
Re:John Carmack, Kudos to Valve but Linux is Still Not a Via... by pixie_ on Saturday August 04, 2012 @04:15PM (#4339526)
I still can't get past how bad package management is in linux. Yesterday I installed the latest version of Ubuntu and for example I wanted to put on MonoDevelop. Looks like only 2.8 is available for Ubuntu while 3.5 is the latest. On the MonoDevelop download page there are installers for Windows, Mac, and 4 different Linux varieties. And that was only the beginning of my problems. Yesterday was not a good day.
Re:John Carmack, Kudos to Valve but Linux is Still Not a Via... by ghshephard on Saturday August 04, 2012 @04:24PM (#4339556)
Your issue isn't with package management which is much, much better than OS X. Try the following three very common tasks on both platforms - list all packages installed, upgrade a package, and determine which package a file belongs to. This is trivial on both the dpkg and rpm based distributions - but I don't believe there is any general way of doing this on OS X. If the App Store takes off, that might change, but right now you are out of luck.

Your actual issue is that nobody has either (A) packaged the latest version for you or (B) placed the package in your (likely conservative) repository. You can always install a package without a repository, or, add additional repositories to your system.

Re:John Carmack, Kudos to Valve but Linux is Still Not a Via... by epistasis on Saturday August 04, 2012 @04:48PM (#4339601)
I think the issue here is precisely the concept of package management, as well as the currently used implementations on Linux. Package management is curated by people not involved in the original source packages, and the maintainers of the original open source projects do not do releases into the package management repositories.

And due to the proliferation of package management systems, choosing the right packages from a project's web page is quite confusing. In addition, rpm and dpkg have absolutely horrid command line interfaces, and the documentation is about as confusing as bash's man page. These are not trivial or easy to understand tools, necessitating further layers of abstraction like yum and apt. However, even these "simple" interfaces expose a huge amount of unnecessary complexity. If you disagree, look at the number of command line options in the rpm and dpkg utilities, and the strange and unexpected way that these command line options interact. It's not a clean system at its core. Suppose I want to do something extremely simple such as list all the packages installed on my system, how many words of the man page do I have to read and re-read before I can discover this interface? These tools share none of the simplicity of original Unix utilities, and are large monolithic beasts rather than composable units.

Linux package management is truly awesome, but that doesn't mean that it doesn't have faults and that it can't be improved.

Re:John Carmack, Kudos to Valve but Linux is Still Not a Via... by jlgreco on Saturday August 04, 2012 @05:38PM (#4339752)
I sincerely cannot remember the last time I had to use 'rpm'. I can't imagine Debian is any different.
Re:John Carmack, Kudos to Valve but Linux is Still Not a Via... by epistasis on Saturday August 04, 2012 @05:45PM (#4339775)
apt-* and yum are only minorly better than rpm and dpkg, and are still ridiculously over-complicated. The proliferation of extra tools to deal with package management are a testament to the number of people that are unhappy with the current options.
Re:John Carmack, Kudos to Valve but Linux is Still Not a Via... by jlgreco on Saturday August 04, 2012 @05:47PM (#4339785)
I guess I really don't feel you. 'yum localinstall' is absurdly simple as far as I am concerned, and the standard 'yum install' is obviously even simpler. I am not even aware of any additional arguments localinstall takes. If there are any, I have never used them.

Edit: I just checked the manpage, and it seems 'localinstall' is deprecated. Simply using 'install' now does what it used to, though 'localinstall' still works for backwards compatibility. It really could not become any simpler.

Complaining that 'rpm' is complicated is like using git without the porcelain then complaining that it is complicated.

Re:John Carmack, Kudos to Valve but Linux is Still Not a Via... by pbiggar on Saturday August 04, 2012 @09:49PM (#4340308)
I disagree that linux is much better than OSX in this regard. Homebrew is really amazing, and while it can't help you configure an entire system, it is pretty compelling.

It does two things very well that ubuntu's apt-get doesn't:

1) consistently has the latest versions of your software 2) handles programming languages very well (that is to say, it makes you use rvm, pip, cpan, etc, instead of packaging _any_ libraries).

Those are not ideal for everybody or every system, but it's a damn fine experience for developers' machines.

Re:John Carmack, Kudos to Valve but Linux is Still Not a Via... by ghshephard on Sunday August 05, 2012 @07:19PM (#4342992)
I love homebrew - but that isn't OS X. It's a third-party package manager. And is also useless for identifying files you install from the App Store. For better or worse, on Ubuntu, my packages are tracked through dpkg (and, 95% of the time, I just do a sudo apt-get install) - contrawise, on an RHEL system, we've all agreed to track our package with rpm (or sudo yum install).

No such universally agreed upon metaphor exists on OS X. They didn't provide a universal package management mechanism. In many cases, you just drag the package into your Applications directory and it's "Installed."

Re:John Carmack, Kudos to Valve but Linux is Still Not a Via... by pbiggar on Sunday August 05, 2012 @08:11PM (#4343139)
Right, but I think this is why it's great. Apt has a lot of disadvantages because it's the only option. By contrast, OSX had fink, and macports, and now homebrew. If Fink had been designated the winner back then, there would have been no competition, and homebrew would never have come out.
Re:John Carmack, Kudos to Valve but Linux is Still Not a Via... by ghshephard on Sunday August 05, 2012 @11:51PM (#4343633)
Well - I would have preferred a "good enough" package management system to the "best" system. Also - Fink, too, wasn't OS X - yet another third party system.

There is some room for improvement, in the early days, RHEL had a horrendous repository-interface system called "up2date" which was anything but. I think a lot of the uptake in debian systems, such as ubuntu, was that apt-get was so much better than up2date - which seemed to have never been updated after the initial release. Thankfully, yum came about, and now RPM based systems have basic parity with DEB system in terms of package retrieval.

The Net-Net though, is that Linux package management is fairly well defined, but hop onto any OS X system, and try and find out what package a random file belongs to, is basically hopeless.

Re:John Carmack, Kudos to Valve but Linux is Still Not a Via... by pbiggar on Sunday August 05, 2012 @11:57PM (#4343653)
I'm not bothered by the fact that it isn't built in. What matters is the quality - ubuntu package management can be poor in some areas, and those are areas at which homebrew excels.

Also, homebrew has a significantly easier project - OSX+homebrew is almost solely aimed at devs wanted a good experience around their dev environment. By contrast, ubuntu's packaging relies on it doing everything, making it suck for some things.

Re:John Carmack, Kudos to Valve but Linux is Still Not a Via... by sp332 on Saturday August 04, 2012 @05:03PM (#4339640)
3.0.3.5 is the latest. 3.0 only came out about a month ago so it's not too surprising that it hasn't made it to the official Ubuntu repos yet. 2.8 just came out 4 months ago so it's not exactly old.
Re:John Carmack, Kudos to Valve but Linux is Still Not a Via... by Karunamon on Saturday August 04, 2012 @04:23PM (#4339552)
There's always a tradeoff when it comes to using your package manager vs using the native installer for an app you want.

On one hand, the native installer is almost always updated sooner with the latest features and fixes.

On the other hand, the packaged version is usually vetted against other packages in the system for compatibility and stability, not to mention having all of your updates be done from one place.

Re:John Carmack, Kudos to Valve but Linux is Still Not a Via... by kappaloris on Saturday August 04, 2012 @04:24PM (#4339554)
you just need to get used to it. multiple download options are not that scary once you know what the differences are. also, to get the latest version of a software from apt you need to find a ppa that gets update more frequently than the official ones (try https://launchpad.net/~keks9n/+archive/monodevelop-latest/ )