A A

Gentoo Sucks, Ubuntu Doesn’t.

Mon, Dec 29, 2008

Linux

I used Gentoo for a few years, and at first I loved it. Mainly because of portage, but the only distro I had experience with before Gentoo was Slackware, and I used to install packages and dependencies manually, so you can see why Gentoo would was so appealing to me.

When I first began my new job, the only distro available was Ubuntu, which deep down I hated without any real reason. I guess I saw Ubuntu as being “too user-friendly” and Mandrake-ish: Bloated and sluggish. But 10 minutes into using it, I made the decision that as soon as I get home, I’m wiping out Gentoo and installing Ubuntu.

You Learn From Compiling Apps Yourself

This is somewhat true, but I don’t believe it applies to Gentoo/portage. There’s nothing educational about watching shit scroll across the screen. None. If you want a real learning experience, try Slackware or Arch. You’ll learn if you’re forced to figure out what an app depends on, and what the most efficient compile flags are for your system. With Gentoo, the app is being compiled from scratch, but you aren’t doing any work, or research, for that matter. Running 1 command and then grabbing a bite while you wait for portage to do all the work for you isn’t going to teach you more than installing an RPM.

Gentoo’s installation isn’t going to teach you much of anything either, except maybe that patience is a virtue. The Gentoo docs are great, but each step is spoon fed to you. You’re basically copying and pasting commands so you can compile all the necessary files to get you started. After installation, Gentoo is as user-friendly as Ubuntu, even if it doesn’t seem like it at first.

Compiled Apps Are More Efficient Than Packages

Maybe. Prebuilt packages are usually compiled independently for each arch, and are already optimized, probably by people way more experienced in the field than you. Compiling your own apps can be slower if you don’t know what you’re doing, but even if you optimize your portage compile flags, the peformance difference between a prebuilt package for the specific arch vs an app compiled on that arch is minimal. There are too many drawbacks to compiling every app from scratch to make this tiny performance boost (which is just theoretical) worth it.

Compiling takes time. Not only does the app need to be compiled, but so does each of its dependencies. Compiling Xorg, OpenOffice, Gnome, or any big app will require that you leave the computer for a few hours, as the high load when you’re compiling something makes it unusable. System updates also take a long time, which means that…

You’re more likely to avoid updating. If you’re busy, the last thing you wanna do is drop what you’re doing for an hour just so you can update ABC app from version 2.3.0 to 2.3.1. Even security updates can be ignored if the app is big enough. I just installed about 15 new apps on Ubuntu, only took around 5 minutes in total, and 80% of that time was spent downloading the packages.

Gentoo Uses Less RAM Than Distro X, Y, or Z

By default, Gentoo is usually leaner than most distros, but that doesn’t mean you can’t easily tweak Ubuntu or any other distro to only run the apps and modules you want. Most distros use up a lot of memory because they offer a lot of functionality. Sure, you can disable nearly everything you “don’t need” and you’ll get a speedy system that runs on a stick of 256 megs of RAM, but why sacrifice functionality and aesthetics?

I’m also lazy and I hate closing programs, so I like to just keep my most used apps open. This means keeping Gimp, Mono+Tomboy Notes, Firefox with 50+ tabs (uses up 600 megs of RAM, at least), numerous gvim windows, terminals and SSH connections, numerous servers and services, Pidgin, Rythmbox, Compiz (which increases productivity, mind you), and misc apps like Agave, GColor2, MySQL query browser, etc…

I need the functionality, so I’m willing to put down money for more power instead of sacrificing my producitivity just to save a few bucks. Besides, RAM is damn cheap. I just picked up 8 GB of OZ DDR2800 (4 sticks total) for $20, brand new.

Ubuntu Has Excellent Support

This doesn’t apply to Ubuntu exclusively, but to any distro (or OS) that has an active community and great hardware support. Somewhere down the line you wake up and realize that you just want to get shit done and you want your computer to Just Work. Eventually you get tired of spending half of your time tweaking and hacking away and would like to devote as much time as possible to actual projects and work. I was shocked that my wifi worked out of the box with Ubuntu, as did everything else.

You can say that Ubuntu is to other distros what Rails or CakePHP are to CGI programming.

Ubuntu really demonstrates how far Linux has come. There’s a reason it’s so popular: It pwnz. If you want a “lean Ubuntu”, you can try Debian, which Ubuntu is based on. I use Debian for most of my servers and old boxes.
Add me. I'm lonely Why not subscribe to the feed?. If you’re on a mobile device I suggest Viigo

Tags: , , , ,

14 Comments For This Post

  1. fede Says:

    if you don’t mind compiling but still wnat the flexibility, the KISS, the simple config files, the speed. I recommend you to try ArchLinux. It is rolling release as gentoo and althought Arch is binary-based if you desire there is ABS which is wonderful if you want to compile you own pieces of software. the wiki is excellent also. bye bye

  2. Chris Says:

    when i took my first hack at linux i used andlinux with an arch base (andlinux is a distro that runs within windows i wasnt ready for a full install just yet) i still couldnt work arch and ive been happly using ubuntu for over a year

  3. thomas Says:

    Ubuntu is horrible trash – period.

    Arch, Gentoo, Slackware, Debian — Use one of those.

    Ubuntu is about as stable as Windows – Go look at Freenodes IRC channel for it. It slows down with X on and you either have to restart Xorg or deal with it. I’ve never had this happen so quickly on any other distro! BSD’s and the above mentioned linux’es can stay on with x for weeks without noticeable slow downs.

    And Ubuntu is the only Linux I can think of that has hard crashes IE –You must reboot the machine to correct whatever it is that crashed the machine.

  4. Isam Says:

    Hey thomas,

    I get frustrated if I have to reboot, even if it’s once a year, but so far I’ve never had to reboot in Ubuntu unless I was updating my kernel (hell, you can load up a new kernel without rebooting). The only times any Linux distro has crashed in my experience has been when dealing with setting up wifi cards (which as of 2009 is still damn primitive on Linux). Ubuntu always says you have to reboot, but it’s joking. You can reload a module or restart X/Gnome, or do whatever you can do in another distro, for the new changes to kick in without rebooting.

    I haven’t experienced much slow down with Xorg on Ubuntu (or any other distro), though I do find X to be sluggish compared to Explorer or Aqua. Ubuntu does enable compiz by default, so maybe that could be what’s causing the noticeable performance drop?

    Oddly enough, and it’s probably just placebo, having compiz on makes X/gnome feel snappy on my box. The difference is almost as noticeable as turning on Quartz Extreme on OS X.

  5. Eric Says:

    I’ve been using Ubuntu now for several weeks and haven’t had any issues with it over all. I went from xp to Ubuntu and have no plans for switching back. It does everything I want and is something new and fun to learn. It’s table and I can customize it how I like. Never tried Gentoo but I have a friend who uses it and loves it and he used to use Ubuntu. Well, this is just my experience with it… I’d recommend Ubuntu to anyone new to Linux:)

  6. grigio Says:

    I don’t understand why there are so many Ubuntu-haters, Ubuntu is a Popular Desktop Linux OS and it is the only Linux distro that could seriously attack Windows OS.

    The performance and the stability of Ubuntu depends of the kernel or the packages you use, it works OOB, then remove the software that you don’t need or do not enable 3rd part repositories.

    Archlinux, Gentoo,.. are good to be forced the Linux OS internals but then, for everyday usage Ubuntu offers the best desktop expirience without compiling by yourself.

  7. Veovis Says:

    Installing Gentoo from scratch learns me how Linux works ! => Educationnal purpose.
    It’s NOT with ubuntu or mandriva that you’ll learn how to configure daemon starting à runlevel X.

    Compiled Apps ARE More efficient than packages. Because packages must be compatible with the i686 standard. Because i’m not stupid and have some skills in C/C++. And because packages are compiled with full options (the USE flags in gentoo)

    Gentoo has too an excellent support.

    The aim of gentoo os has never to be used by beginners !!

  8. Anonymous Says:

    About your comparisson.
    Rails and PHP suck.
    Rails is for fan boys who get wowed by the wizardiness of creating a website.
    Here is how Rails development goes:
    + Use wizard to create a base site and jump up and down.
    + Find out performance sucks, throw more hardware at it and use Mongrel instances.
    + Spend bunch of time refactoring automagically generated controllers only to realize that ORM’s are slow.

    PHP:
    + throw a site togther in php, ignoring good design techniques and mashing code and html code together.
    + find out it lacks namespaces (pre 5.3), inheritance has issues with staic methods and etc
    + find out php bloats the memory memory bloat

    Debian/Ubuntu is really quite nice, excellent for servers and desktops

    One thing they lack is flexibility, which is Gentoo’s strength.
    Its not easy to throw an ebuild together or update it to the next version of some software.

  9. Isam Says:

    Rails wowz me all the time, primarily because prior to it, I used C to write web apps (CGI, baby!)

    What would your take be on PHP5 + an MVC framework? Also garbage or best of both worlds?

    I see Rails development as going more like this:
    + Use “wizard” to create a base site.
    + Code in whatever the client/project require.
    + Profit (literally) and jump up and down.

  10. props Says:

    I agree. Not all distros are for everybody. I use the easy-to-use kubuntu, But why the F·ck the robotics teacher want us to use Gentoo? Nobody in the industry will change to linux when we go there to work. Why so elitist?

    Im not saying that there no are people might find it usefull. Even if the teacher had a reasonable point to use it I wouldnt complain. But no, he has zero reasons other than “you will be more “smart” that the other ones in the industry”. All the packages for the class are fully compatible with ubuntu, indeed, some are not compatible with Gentoo (well, they are, but it takes too F@cking much to make it so).

    The worst thing is that we didn´t get linux classes before, because in the college program there is no f@cking linux teaching, not even in robotics class. But the first homework in robotics is to install Gentoo on minimal in OUR LAPTOPS!…. if I pass this class I will go to the teacher and say “f@ck you and your stupid gentoo and your stupid Phd that you make in Japan (yeah, he has a damn Phd in robotics from Japan, what is he doing now? Teaches in a crappy college, I think he wasnt that good at all ha?. Is not a crappy college is a crappy robotics team… I bet he was the last one of his class).

    And the lucky ones that passed his class (maybe there were some “favors”, because the homeworks are only tons and tons of papers to read and not touching the damn robots or computers, very very little programming…. ) are some stupid arrogant pieces of students that feel that they are the f@cking sh!t because they installed Gentoo, now us, the ones that are still using Kubuntu are the noobs and we should be punished with more homework. Gentoo is not for men, is for programming engineers and nothing more. There is no other thing to celebrate, if you want to get elitist too, pull a 360 double flip body varial on a skateboard, I can do it (and maybe no one else) and is not that great.

    Gentoo it takes too damn much for a damn operative system to install, you can say “use the guides”, the f@cking guides are too long, sometimes incomprehensible and techincal for an OS. Not even Red Hat in 98 took that long to install, and back in the day the computers had very very very low RAM and CPU capacity. For a mechatronics engineer is useless, indeed for everyone else. Just programming engineers will find it usefull if they hate windows and love and marry linux, they have children Tuxs and find a way to support their linux familly programming for a company without touching windows. Yes, I do think that windows sucks big time, but no company will change to linux because you use it. Also the mankind will die and we will erase the forests, as you see. There is no happy ending, there is no fairy. We are doomed and money beats all sadly.

  11. meantime Says:

    I agree totally!

    I have used many distributions dating back to the early 90s. To this day I am still testing other distributions but always end up with the latest release of Ubuntu back on my system. The number of packages available and their ease of install make Ubuntu my distro of choice.

    Just because you are running Ubuntu doesn’t mean you can compile your own source code. If you enable the repositories you can pull down the source code for just about every precompiled binary offered. You can pull down tarballs and compile them yourself just like any other distro.

    The key for me is to have a base install that is clean and works with minimal maintenance. Anything else I need that isn’t in the vast repositories (which isn’t much) I compile myself.

    I won’t say that Gentoo sucks, but I doubt I will ever use it again.

    Cheers!

  12. Dan Says:

    I’ve just installed Gentoo over the weekend, wanted something that was a bit more of challenge but have realized there’s not much point if you can’t get on do what you want afterwards. Compiling from source is such a time waster for little gain IMHO, it’s almost self defeating you want to “optimize” your system so it’ll run faster in order to be able to get your work done quicker presumable only to sit there having to wait half the time for an app to compile before you use the damn thing, then have an epiphany that if you just installed from a binary you’d already been up running and had the job finished along time ago.

  13. PuDLeZ Says:

    I don’t understand haters of anything. Yes sure, you don’t like gentoo, ubuntu, fedora, debian, linux from scratch, etc… It’s really not that different to hating on a person because of race, sex, or even eye color. We all do our own exploring and we all have our own opinion. After all, why else are there so many large and active communities for that flavor of linux? We need to stop the fighting and join teams to further linux. Doesn’t it all come down to a free OS that you can do modify how you see fit if you choose? Sure you can get one that runs out of box or you can build everything from scratch. In the end “You call it tomato, I call it tomatow…”

  14. yahya Says:

    I agree to 100%, it is exactly the thoughts I had when using Gentoo for some weeks on a spare partition. Most of the uptime, the computer was busy compiling stuff -> what a waste of time. I had to leave the machine on over night to get OpenOffice.org done. What a waste of energy in these days of climate change. It is just so much more energy efficient and environmentally friendly to have the packages compiled once than on thousands of machines…

    And I also found the gain negligeable, if there was one at all. I found the dependency handling miserable. After updating vital parts of the system you had to do so many checks to ensure reverse depends are not broken. And you have every freedom to shoot yourself into the foot. And you will, at some point. If you stick with the stable branch, Gentoo is not particularly up-to-date either. Using the unstable is a pain in the behind.

    And, well, at some point I forgot about my Gentoo install. Recencently I booted it once again, tried a system update only to see that it was ultimately impossible because of some complete dependency mess. It was something about a quite central library. If you had been lazy with updates for some time, you had not choice but to reinstall, as was confirmed by several authoritative sources. Would not happen with Debian…

    And yes, I bet most ubuntu users skip security updates at least of larger packages, because of the long compilation runs invovled. In Ubuntu, Debian and many others by contrast, security upgrades go largely unattended, they don’t require user intervention.

    So, while Gentoo may still retain a high coolness factor, its practical benefit over other distros is by far outweighed by the disadvantages.

Leave a Reply