Sponsored by Dragon Age: Origins
Can't get enough Dragon Age: Origins? Play the flash game. view!
DragonAgeJourneys.com - Play the free companion flash game to Dragon Age: Origins.
37 Comments
- Dygear, on 10/12/2007, -6/+17... 8 minutes and it's on the front page ...
/me thinks I should make a fake ubuntu tut and post it, see what happens. - jbus, on 10/12/2007, -2/+10Clearly you have never installed software in Ubuntu... Apt-get is arguably the best software Installer/System update manager on ANY platform and ubuntu has made it extremely easy to use.
Can Windows or Mac users update their system AND ALL of their software automatically? Can you install applications from a HUGE database of up-to-date applications with just a couple of clicks? Didn't think so. - rotarychainsaw, on 10/12/2007, -9/+16or maybe other distros are set up properly already.
- Disease, on 10/12/2007, -2/+8It actually does speed things up a bit
- bkrishnan, on 10/12/2007, -2/+7Hmm, how come I already had this in my hosts?? I'm using Edgy.
- KibibyteBrain, on 10/12/2007, -4/+9@chainsaw No, all distros are set up properly in this respect. The code in programs like gnome-terminal is buggy, as they just assume that localhost is 127.0.0.1 is equal to hostname is 127.0.1.1. That is the type of bonehead coding error that would get a lot of people fired. Sure you should optimize around bugs in common apps as an OS designer, but that still does not make it the OS/distro's fault.
- closer9, on 10/12/2007, -3/+7I tried it... didn't seem to speed anything up for me actually. If it does speed things up, it might only be noticeable on slower computers.
- jldugger, on 10/12/2007, -1/+4"Up-to-date? Hardly ever. Last time I tried (3-4 months back) the new version of Firefox came out around a week after the official release -- and that's popular. Some of the more obscure pieces of code (d4x) may not have been updated for months."
Ubuntu refreshes nearly all it's packages every six months. Some get higher priority, either because of security fixes or major bug fixes. Sadly a few do fall through the cracks, and unless someone points what fell through in a manner visible to those with the power to fix it, change is unlikely. As an aside, d4x is up to date currently in Edgy, and because no new releases have been made to it since, the same version is in Feisty.
Many found the six month releases a refreshing pace, but if you feel you need newer packages Debian unstable is probably for you. It's where the vast majority of Ubuntu packages come from anyways, and there's no artificial delays for "releases." You also still get apt-get, though you probably aren't sold on it.
"If you install Fx from within apt-get, you cannot update it from within the app. As far as I can see, this is the rule with most apps."
Honestly, these things aren't that desirable. You don't want regular users being able to upgrade applications in general, as its a good vector for cracking. And I don't think it's a great idea for every app developer to re-implement the wheel. Every app that does this increases the risk that one of these is broken. And god forbid you break someone's plugins (this is why firefox doesn't get backported in Ubuntu -- breaking adblock etc makes users angry).
Apt-get and friends provide a centralized way to implement this without making your app larger or a security risk. The fact that so many apps have this feature is due to Windows being such a horrible platform for software deployment. Even Microsoft realizes this and uses Windows Update to deploy fixes to the OS, and now Office as well.
"If you download a .deb file of the newest version, and try to run it, God forbid you run into dependency issues."
That's indeed a problem. Not everyone creates .debs intelligently, and Ubuntu and other could stand to do a lot more education to developers on the subject. Some Ubuntu developers try to beat the mantra "don't use 3rd party packages" into their heads, but I think these developers are missing how Debian / Ubuntu gains new developers. Often times the upstream developer is also the Debian maintainer, so teaching software devs how to make these packages can lead to new maintainers for Debian / Ubuntu.
"Many times, the only alternative is to compile from scratch (since the newest version is not available in the reps, and the person does not provide a build for ubuntu)."
There's another alternative here, that you're missing. Build your own package. It's actually fairly simple compared to compiling from scratch. You install the build dependencies via apt-get, and then download the current source from apt-get. Drop in the new source, then rebuild the package (I forget that command). No messing around with missing development headers and libraries, they've all been specified for you. You can easily uninstall it without having to leave "make uninstall" lying around, and if apt-get detects that the official repository has a higher version number than your custom build it will prompt to upgrade to that, should you find yourself unable to keep on top of all the software you've custom installed.
"Sorry, but apt-get is far from being the best solution."
I'm not sure what you think the best solution is, but I hope I've presented a few new angles on why apt-get is beloved. - userundefine, on 10/12/2007, -0/+3Same here, my hosts file already had this tweak, and I know I didn't do it.
- mbup, on 10/12/2007, -0/+2The hostname is your computer name. You'll se if if you open the terminal.. user@host $
- sterken, on 10/12/2007, -1/+3The explanation of how to do this is a little misleading if you aren't sure what you are doing. It says to "add the following lines" when really you should simply add an entry to an existing line.
You can read the source articles here and skip the blog:
http://ubuntuforums.org/showthread.php?t=388765
http://forums.gentoo.org/viewtopic-t-494659-highlight-.html - Renton, on 10/12/2007, -1/+3Submitted and made popular are two different things.
- ralewis, on 10/12/2007, -1/+3Worked for me, now the terminal starts up much faster (have not tried anything else as of yet)
Here is a quote from kerry_s on the ubuntu forums, trying to explain why this works
"This is a fix for the new system that was started back in edgy where the host name was split off to 127.0.1.1, the problem is that some applications still look for the host name @ 127.0.0.1, so to keep those applications happy and running smoothly you simple need to add the host name where those applications expect it to be." - kazukisan, on 10/12/2007, -4/+6Anybody test this?
- jbus, on 10/12/2007, -1/+2Thanks, this does in fact provide a bit of a boost to the launch time of certain applications. As others have noted, a bug report has already been filed for this issue for both Edgy and Feisty.
- sid0, on 10/12/2007, -0/+1Thanks, jldugger, for clarifying some points. Looks like I'll have to check out Feisty when it comes. I'm quite happy right now with Vista though.
(I have an install of Dapper lying around which I haven't accessed in 3 months -- problems with hibernate simply turned me off. I tried for about a week to get things working, tried suspend2ram etc, but finally gave up.) - BigDanee, on 10/12/2007, -3/+4This is my first submission, take it easy on me please. :)
I submitted it, because it worked, I tested it. :) I also deleted all the IPV6 lines in /etc/hosts, I remember back in Ubuntu Badger there were how to's to disable IPV6, because it caused slowness for average users. In Dapper that that problem disappeared and in Edgy it wasn't a problem either. It appears the devs decided to turn on IPV6 by default again, I wonder why.
Anywho, the blog I linked to isn't mine.. I put Ubuntu in the title because that's what the blog specified.. It may or may not work on other distros, I have no experience with them.
Edit: FWIW, I noticed the effects after a restart. - insomuchas, on 10/12/2007, -1/+2berwiki that guide is very old and no longer applicable.
- Sp4rker, on 10/12/2007, -0/+0For me as well it very notably boosts application launch on my edgy amd64 box
- benutne, on 10/12/2007, -0/+0Seems to speed things up on my old Toshiba laptop. I don't have any concrete evidence, but it just "feels" like apps load quicker.
- sishgupta, on 10/12/2007, -5/+5Yes, this is ubuntu specific because it is only edgy and feisty that are not set up properly.
- inactive, on 10/12/2007, -1/+1*feels like a noob* whats my hostname??
- thecheatah, on 10/12/2007, -2/+2yea works for me too
edit: how come i didnt have to put in a capta? - UrbanVoyeur, on 10/12/2007, -2/+2This is a really old Gnome/Linux bug - I remember having to do this on Red Hat Desktop and Fedora years ago. I completely forgot about it when I switched to Ubuntu last year. Good tip. Does speed things up.
- 1n4007, on 10/12/2007, -1/+1*****, that's fast! Thanks!
- generalloy, on 10/12/2007, -2/+2If anyone wants to see four other comments about this article: http://www.digg.com/linux_unix/Performance_tip_for_Ubuntu_Edgy_and_Feisty_users
- sirdaz, on 10/12/2007, -1/+1Your comment? Will do.
- mhmdkhamis, on 10/13/2007, -1/+0http://girls.paramegsoft.com
http://www.paramegsoft.com - pslim940, on 10/12/2007, -2/+0How about you actually comment on the subject instead of just putting down ubuntu for no reason?
- berwiki, on 10/12/2007, -3/+1well considering fiesty isnt out of beta yet, it is as current as it can possibly be.
screw yourself newb. - voyvf, on 10/12/2007, -4/+1It did seem to make a bit of difference for me. Though (my copy of) Firefox has a habit of caching DNS, so I had to restart it before seeing much speed up on it.
YMMV, of course. - cyanics, on 10/12/2007, -4/+0don't know why we need the secondary loopback address. Plus, this only appears to work if you are on a default "noname" configuration or haven't edited your hosts file.
/Didn't appear to do anything on my system - berwiki, on 10/12/2007, -8/+3i'm sorry, but that is the crappiest 'enhancement' i have ever seen.
if you want an amazing link, use this:
http://ubuntuforums.org/showthread.php?t=189192
(covers prefetching, swiftfox, compiling your own kernel, and more!) - sid0, on 10/12/2007, -8/+2"Can you install applications from a HUGE database of up-to-date applications"
Up-to-date? Hardly ever. Last time I tried (3-4 months back) the new version of Firefox came out around a week after the official release -- and that's popular. Some of the more obscure pieces of code (d4x) may not have been updated for months.
If you install Fx from within apt-get, you cannot update it from within the app. As far as I can see, this is the rule with most apps.
If you download a .deb file of the newest version, and try to run it, God forbid you run into dependency issues.
Many times, the only alternative is to compile from scratch (since the newest version is not available in the reps, and the person does not provide a build for ubuntu).
Sorry, but apt-get is far from being the best solution. - sid0, on 10/12/2007, -9/+2bury
- inactive, on 10/12/2007, -17/+3Ubuntu will never succeed.
Sure people will switch, until they have to install something. ***** not just hardware, programs are a pain in the ass to install too.WTF is a respitory? - MrSarcasm, on 10/12/2007, -34/+10No digg for "Ubuntu" in title, because that would work not only in Ubuntu. But hey, unless we put UBUNTU we can't get our stories to the front page and be 1337 digg hax0rz!


What is Digg?