Why I should use Linux?

Image

Everyone’s been talking about the rapid rise of this thing called Linux. So what is it? What’s it got that makes it so popular? Newbie questions and rightly so. To them I will explain what is Linux and why we should switch over to it, especially developers.

A Little History

Linux is a kernel developed by Linus Torvalds when he was a student back in 1991. He was doing it as a hobby. GNU was then an organisation which was looking to create a Unix like Operating System. They had already built many software for the GNU Project but the kernel was not yet ready. Linus made his kernel available to the GNU Project and GNU/Linux was launched. A new Operating System was born.

How is it different from other Operating Systems?

There’s quite a few Operating Systems in the market. You have Windows, Mac, Solaris, etc.So whats really  different?

The core difference that comes to mind is the kernel. While Linux uses a monolithic kernel, Windows presently uses a hybrid kernel and Mac uses a nano kernel.

While Linux has many distributions Windows and Mac have very few. Linux is really the kernel. The rest of the software added to it varies from distribution to distribution. Hence, the OS is actually called GNU/Linux.

Linux also has a different way of installing software. It installs software libraries as packages  whose type again varies from distro to distro, .deb and .rpm being the most popular types.

Being open sourced has its advantages and Linux enjoys that. Take for example the number of file systems it supports – ext2, ext3,ext4,xfs,btrfs, etc. It also supports FAT and NTFS file systems although it does not allow you to install the system in FAT or NTFS.

Why should I switch to Linux?

Well there’s a hell lot of reasons:

  1.  No worries of viruses: Its not that virus can’t be there, but they are so very rare. Also making modifications in a Linux system is more difficult since it has lots of password authentications.
  2. Stability: All distros are not so stable but the stable ones like Debian, RHEL, CentOS can run for a year without any system crash.
  3. No more driver issues: No, you don’t really need drivers for Linux. All are embedded within the Linux kernel to make it hassle free for you.
  4. Free Free Free: Since Linux is open sourced you won’t have to pay a dime for it. Yes, RHEL and Suse do charge money but that is for Enterprise Editions. But there are others(distros) who will do the same work being free.
  5. Open Sourced: Since Linux is open sourced so you can actually tear it up and tweak it according to your needs. You can make every possible change you want in in an Operating System.
  6. Security: Linux has a much better security features compared to Windows and Mac. There’s always the password authorization that happens with every user. You can also customize what rights you want to grant to any user.
  7. Developer’s Heaven: Linux can also be called the developer’s platform due to its inbuilt support for so many development tools. Almost all distros has inbuilt support for languages like python, perl, java and c. There are also many different tools available exclusively for Linux platform.

There are a lot more to Linux than I mentioned. It is the spirit of Open Source. According to Linus Torvalds, the Linux kernel is the most actively supported open source community by far. Think of the millions of people who contribute towards Linux development purely out of passion and no money. The people who let you run Google or Facebook so smoothly on your PC. That is Linux. Its not just an Operating System. It is a spirit of desire to give back something to the community. It is the flag bearer of Open Source Community.

Here is a video from the Linux Foundation

Which distro should I install?

‘ beyond its geeky interface lies a moral value ‘

Image

The very first step for a developer today is learning how to use Linux. It has essentially became a developer’s platform coming with many in-built languages like Perl, Python. So I decided my first post should be dedicated to Learning Linux.

No, this is not a tutorial for “Learn Linux in x hours”. No one can teach you until and unless you try. However I do agree you do need to know how to get started. And that is what this post is about. To start i’ll tell you which distribution is for YOU!

Often I’ve seen the most difficult question a developer faces when making a transition to Linux or just starting to learn Linux is which distribution to install. Today there are so many distros available, thanks to the awesome open source contributing community, that people get lost deciding. I myself started from OpenSUSE 11.4 and ended up now using Debian 7. So I have a little experience of using different distros and will be telling you about them.

No distro or distribution is perfect or best. As the majority will tell you that choosing a distro for you is similar to choosing a wand in Harry Potter -Yes, choose the one that fits you best.

Lets take the course I followed:

OpenSUSE 

This was the first Linux system I had installed in my own system. I started with 11.4 and very soon shifted to 12.1. Its YAST(Yet Another System Tool) was a pleasure that no other can provide. This is easily the most easy to use and understand distro. This is for people who want to learn more about using Linux while keeping it easy. Also OpenSUSE scores very high on graphics rating. For folks who want looks should go with the KDE Environment of OpenSUSE.

CentOS 

I had two different experiences while installing the two versions of CentOS. While installing version 5 it was a gentle experience but version 6 changed a little in the installation options. And I had to format my system five times in two days to finally get it up and running(add to the fact being I was trying to add a second distro). However the distro is one of the most stable I’ve come across but its definitely not for regular users. Its exclusively for servers although as with every distro you can tweak it to your needs and install the required packages(software).

Red Hat Enterprise Linux(RHEL) 

Nothing much to say about this since CentOS is considered an unofficial clone of RHEL. Highly secured and dedicated for security systems and servers. Definitely not for the noobs. And hell yeah, its certainly among the best out there from security to stability.

Arch Linux

Definitely for the ultimate pros. Starts in total command. Its package format also differs from the traditional .deb and .rpm formats. It has its own package type and a package manager called pacman.

BackTrack

Revered by Hackers. If you love networking then this one is to be used. Very few come even close to it when you need a system that requires network penetration tests. I did perform a few tests on this one with a few friends and results were outstanding for one of them.

Ubuntu 

I never had it installed as I was never a fan of Ubuntu unlike many others one of the main reasons being Unity Environment had been applied by the time I had tried Ubuntu and I was far from loving it. But I’ll try not being partial and tell you that it is a pretty nice distro for beginners. It has a lot of  codecs ready and available. It also has the most active discussion communities. But if you are from the Geek planet this ain’t the right thing for you.

Linux Mint 

Linux Mint is said to be “Ubuntu made right”. This is my recommended distro all non geeky people willing to use Linux. It has almost all music and video codecs(the packages required to play music and video files). And it has some beauty. And when it came out with Cinnamon Environment, my love for the Linux Mint community just doubled. Linux Mint has both the looks and the ease of users for regular users and I see a bright future for it.

Fedora 

Although I installed fedora much later in my own system, this was my first interaction with Linux in college. Pretty geeky and the Gnome 3 Environment(themes as in “Bill Gates Users” language) released back then just blew my head off. Barring Ubuntu no other Linux distribution is marketed the way Fedora is. Its However, it was only around 6 months ago that I had installed it. It is a very well upgraded distro with the latest of packages but little buggy. It is considered the test-bed project for RHEL by Red Hat and hence has a community that is very very dedicated to its project.

Debian

Whenever I think of Debian, it makes me feel like Gandalf or Albus Dumbledore. There’s nothing you can’t do with Debian. It has the widest range of software available in its repositories(mirrors that host packages of software), Its known for its stability as well as versatility. Debian has three different releases available at any moment. Stable, Testing, Unstable, unstable providing the latest of softwares. Each has their own merits and demerits but being the most popular distro for Linux based servers you can certainly bank on its stability. Debian is relatively easy to use, highly stable and suitable for all kinds of users. The only demerit Debian has is its two year long release cycle where it is tested to the point of destruction, makes its stable version a bit obsolete.

The list ends here as I am yet to play with other distros but I do have little knowledge of a few others too so I’d like to mention them as guest appearances:

Scientific Linux: Based on RHEL, used at research places like CERN.

Gentoo: If you want to truly learn Linux and how it works, this is how you do it. compile individually and install.

Slackware: Developed by Linus Torvalds in 1991, it is very effective for running old hardware and is one of the oldest distributions available.

Mandriva: Formerly Mandrake, it offers a quite pleasant Linux Operating System.

Mageia: Made in France(not China), its forked out from Mandriva. Its an upcoming distro having come up in 2010 and is already very popular.

PCLinuxOS: Another fork of Mandriva, its popular for its support of wide range of video cards.

Puppy Linux: Originating in Australia, it is extraordinarily small and hence the name. Its so small that it’ll boot from a 256 MB USB stick.

Having mentioned so many, there are still hundred more out there. You just have to choose what fits you. I feel my experience might be of some help solving the question “Which distro should I install?”