Tuesday, January 22, 2013

Comparison of Linux Distributions


Desktop Linux is a thriving ecosystem, and this is also its downfall. Fragmentation has split the already drifting community into cultist tribes that claim their distribution to be king. This is a comparison of what the main Linux distributions offer over one another. There are more than I write about in this article, but it is only fair to right about what I have used for more than a day.


Ubuntu
http://www.omgubuntu.co.uk/wp-content/uploads/2012/10/farnza.jpgUbuntu is the third result in a google search for "Linux". It is usually the first stop in a young Linux User's journey for good reason. Tools like automatic update reminders, a very intuitive user interface (with an OS Xish feel) will be comfortable to use for a user migrating from another Operating System. For beginners there is no doubt in my mind. Ubuntu is king for integration and user experience. But for getting real work done after you're comfortable with Linux? Maybe not so much.

Ubuntu's Ubuntu One daemon and other applications like it tend to eat more RAM than a distribution without Ubuntu's "bloat". A variant such as Xubuntu would be better for seriously using Ubuntu on a production machine. The Ubuntu base is nice for those looking to get work done though, mainly because of the PPA system. PPA's are basically remote repositories you can subscribe to with add-apt-repository and pull packages from.


 Linux Mint

 Linux Mint takes Ubuntu and makes it sane again for normal desktop users. Unity is innovative, but it's definitely not for everybody; especially if the idea of how a desktop works (start menu, desktop shortcuts, etc) is well ingrained in your mind. Linux Mint maintains two desktop version, one with the lightweight Gnome 2 fork MATE and the other with Cinnamon, a fork of Gnome-shell. I haven't given Cinnamon the reviews it deserves. It's truly a great desktop environment, especially since the menu that launches applications and searches locations has improved in terms of relevance and speed.

Beginning users will find Linux Mint comfortable as it comes with tools that were designed to make Ubuntu, one of the easiest distros, even easier. Their update manager rates updates based on importance so you can delay serious updates until you're ready for them. Linux Mint is also compatible with Ubuntu's PPA system if you're using their Ubuntu edition, but Linux Mint: Debian Edition is not. Keep in mind that Linux Mint: Debian Edition is basically Debian with the Linux Mint tools on it, so later in this article when Debian is talked about think back to Linux Mint: Debian Edition.
                                                                                  
http://upload.wikimedia.org/wikipedia/commons/d/da/Debian_Desktop.pngDebian
Debian is a very popular Linux Operating System, but not necessarily for its use on Desktops. Some users find Debian Testing to be comfortable for desktop use, but even then packages and support tend to lack behind upstream. The main appeal of Debian is rather its viability in servers, as versions are supported for quite a long time and packages are vigorously tested for problems that could reduce uptime or performance by even a bit. One statistic read that 32% of all the world's servers used Debian. If you're deadset on using Debian, then Crunchbang, a Debian derivitive of Testing (like Ubuntu) that comes with the Openbox window manager and a dark theme may be for you. Crunchbang is so similar to Debian that it is not worth its own section, but it has a unique and active forum / irc community apart from Debian's.

Fedora
Fedora is the "testing" version of Red Hat Enterprise Linux, which is another huge competitor in the server market. Unlike its parent (daughter?) operating system Fedora is primarily used on the desktop. With the Gnome Shell and no modifications to upstream applications you will find there to be familiarity with Fedora and other distributions. Fedora offers an intuitive installer and the yum package management system, with a third party repository so large that it rivals the AUR. Arch and the AUR is mentioned next.

Arch Linux
Arch Linux is a distribution for advanced Linux users that basically want to configure their system from the ground up. The installation is very minimal (text only), and then the user can choose which packages to install to custom tailor their installation of Arch Linux. The selling point to Arch is that it's rolling release, so a user never has to reinstall (until they bork something), the package management (the largest repositories in existence exist for Arch and its fork, Manjaro.), and the KISS principles that another distribution, Chakra, follows even more closely. Chakra is like a preconfigured Arch Linux with KDE that only allows the installation of Qt packages with the option for certain bundles that allow GTK applications. By the way, there's no installer. Just some scripts and pacstrap.

Gentoo Linux
Gentoo is BY FAR the hardest distribution to install. Gentoo is basically Arch taken to a whole new level of minimalism. Gentoo must be compiled fully to be installed. There is no installer and no tools by the (wonderful) wiki to guide the user. This is not for Linux Experts, it's for the type of people with BSD toasters and a HUD in their bathroom mirror. Although it does provide a lot of flexibility and good source package management with USE flags, to truly reduce bloat. A fork of Gentoo, Sabayon, makes the installation far easier with Fedora's Anaconda and adds binary package management. No more wasted weeks spent compiling Libreoffice.

Conclusion
I find myself most comfortable using Ubuntu on desktop systems, Fedora on Laptops, and Debian on any servers. Arch and Gentoo are specialist distributions and should be used as such.
 

Thursday, January 17, 2013

Fedora 18 Video and Text Review

This week Fedora 18 went stable (and actually trimmed a good 3.2 GiB off of the beta .iso, topping in at 942 MiB, which is easily burnable to a DVD disk or most bootable USB drives. Now, Fedora is a pretty low-key operating system when compared with, say, Ubuntu, so it didn't cause the large-scale celebrations you'd expect to see from a major release. Trust me when I say that by the end of the review you will know just how major of a release Fedora 18 is.

A bit about Fedora
In case you aren't already in the loop, Fedora is Linux operating system based on Red Hat Enterprise Linux. Changes are made to Fedora before they're made to Red Hat to make sure no breakages will occur, since Red Hat is mostly a server Operating System. This means that Fedora can (and has/is) experiencing breakages due to the youth of code that appears in its base. It's bleeding edge and rolling release. Install once and done, then you have access to all of the latest upstream packages. Think: A user-friendly .rpm version of Arch Linux. If you want a stable .rpm distro like RHEL, look to CentOS. Don't get it wrong; Fedora is extremely secure (thanks to Suse's Selinux), but it's just not as stable as its mother distribution.

The code and sponsoring that Fedora inherits from Red Hat give it an edge. It's one of the few Linux distributions backed by a large company (one with higher stock prices than Microsoft, even), which gives it a definite edge over its competition. Even with this backing, it doesn't go closed-garden (ala Canonical's approach) and still has a positive sense of community among the developers.

The Review
--Huge Improvement
Fedora 17 was an incremental increase over Fedora 16. Very little was improved, and it felt like all that had been done was some user experience fixing and the package freeze. Fedora 17 doesn't deserve to be in the same ballpark as Fedora 18. Fedora 18 was an enormous improvement, and an obvious display of effort from all parties involved (especially Gnome and the Fedora core development team). Here are some reasons why:

Gnome related
Paraphrasing Linus Torvalds, "Gnome 3 is a nightmare". If only he had tried Gnome 3.6.2 before that statement. It has animations (like Cinnamon) on by default, a working extension system, and features to maximize the screen space used by windows (like removing Window decorations on vertically maximized windows). It also has a new lock screen that tablet and touch users alike will find useful, and desktop and laptop users may find amusing. The buttons are even noticeably more aesthetically pleasing.

In actual usability, Gnome now supports dragging windows into the "expo" to move across workspaces, dragging icons into workspaces to deploy the application, and pretty much anything else you would ever want via extensions (http://www.extensions.gnome.org/). It's worth adding that the Gnome applications have added features, like EXIF data examination in pictures via Eye of Gnome, and a new virtual machine application called Gnome Boxes (a Qemu frontend).

Fedora Related
It would be unfair to talk about Fedora without mentioning the work that the Fedora developers have put into the operating system. The installer, Anaconda (which previously left a bit to be desired compared to Ubuntu) has had a visual and feature Facelift, supporting partial encryption and advanced partitioning. I was displeased with the layout of some of the buttons on the installer. You might have to hunt around for a button on the "root password" section (which, by the way, is in a weird optional part of the installer) in order to save your changes.

"Software" is now the graphical frontend to Yum, and it has had some added features like updating the status of the yum lock graphically, so when it's not working you now know why. I did have a problem with an omnipresent Yum lock that I had to remove after installation, but upon further research it seems that this and a GPG error both have patches nominated to fix them, so they're mostly irrelevant. Yum has a pretty CLI frontend too, with light curses displays and sane summarizations. Also, Yum now supports tab completion of packages.

Quick Facts
Firefox - 17
Gnome - 3.6.2
No Gimp
.iso is 942 MiB large
As of 1-17-12 the initial yum update is 270 MiB downloaded, 7 MiB disk space used on Gnome.

Video
 
Opinions
The best part of a review is the opinionated part. The part where feelings are scarred and lines drawn. Here are my opinions about Fedora 18 and Gnome 3.6.2.

The installer needs work, but it's much more user friendly (especially aesthetically) than it was beforehand.

The user experience is mind-blowing. Fedora is trying hard to cater to the end-user while not sacrificing any of the 4 essential freedoms, even where it would make life far easier.

Resources and Security are as good as always, and better with CPU cycles.

Gnome has surprisingly good defaults, and nice home-brewed applications.


Wednesday, January 16, 2013

Avoiding GPG Publickey errors installing packages in Fedora

Fedora 18 is a truly stunning Operating System, but it has such a large bug I was dumfounded to find that it was a real problem and not something that I had done to bork yum. .rpms cannot be validated, and thus cannot be installed. There is a simple solution to get around this.

Options
Use only yum's remote capabilities. This is an unattractive option since a lot of times software is not available in a repository (especially if it's hobbyist packaged).

Add the --nogpgcheck flag to yum, making the full command "sudo yum --nogpgcheck install package". This will disable checking altogether, which is what you want before the patch (which has already been submitted as of 1-16-12) is accepted and pushed.

About Recent Posts (blog related)
I'm sorry for the short "stubby" posts about Fedora tonight. I have had limited time to write this up, but I felt that it was critical. I got so fed up with it I nearly reinstalled Ubuntu. More workarounds to come.

Enabling flash in Fedora 18.

This is going to be a very terse post because of how critical it is. Flash is essential to the life of any computer user that is heavily media-centric, and not having it around could cause problems for Fedora's prolonged installation. Unfortunately, the clucks at Fedora thought that shipping a broken GPG checking system was acceptable, so this can be a lot harder than it has to be. These steps and commands will allow you to install Flash (and any other software) in Fedora 18.

The steps

su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm'
 
sudo yum install flash-plugin
 
This is by far the easiest way to 
go about the installation. What those
 two commands do is enabled a third-party
 repository named rpmfusion, and then install
 a package from there called flash-plugin that
 will integrate with Firefox.

Monday, January 7, 2013

Ubuntu Phone release date, info, and Speculation

After much recent community speculation over the identity of the Ubuntu mystery device, the Ubuntu phone was officially announced. This is the second mobile operating system Ubuntu has developed, the first being their plug-and-play Android application that gets an Ubuntu session running on a docked phone with an attached keyboard and monitor. The Ubuntu phone will be the completion of Unity's goal, to Unify the computing experience across all platforms. An Ubuntu phone can dock as a desktop operating system, double as a TV, and still be a phone when you want it, all while providing a familiar (and dare I say sleek) interface across every device.

Canonical works on software. That's it. They will not be the OEM for this device, but rather provide the software for vendors to brandish in their products (like what Google does with Android).

The Speculation Begins
1% of consumer desktop and laptop computers run Linux (Wikipedia statistics). Linux is gaining more users daily than any other Operating System family out there, and Ubuntu is the distribution that most people are flocking to. That said, it's still in the very back of the OS foodchain and you almost never hear about it in common society. It made a big splash in the Linux world, but I can't be the only one thinking that vendors could care less about it. Canonical is a large company, but not big enough to run advertisements for Ubuntu (or even OEM the hardware for the phone), so relying on a vendor is both risky and unlikely to work. I hope I'm wrong, though. People said the same thing about Android when it came out. The thing is, unlike Android the Ubuntu mobile OS does not break upstream compatibility. The community as a whole could benefit from its success in mobile.http://fc03.deviantart.net/fs71/f/2011/331/e/4/ubuntu_phone_explained_by_musl1m-d4hhe04.png

Developer Information
Like Firefox mobile OS the Ubuntu phone supports HTML5 web apps from the get-go, increasing the availability of popular web applications on the phone. In addition to that, you have access to a full arm Linux system with core utilities, meaning that you could make an app in any language that natively runs on Arm Linux. Imagine an app running Qt and Lisp on the Ubuntu phone; it would've never been considered possible.

A smart decision was to use QML for the UI, so developers that already have experience with Qt (Qt5 specifically) can hit the ground running with this phone.