Arch Linux

Ah, Arch Linux. You’ve probably heard about its intimidating installation process and its devout fans. Both are actually somewhat true. But hear me out right here: Arch might be difficult to set up, but once you do set it up, it is absolutely an amazing distro.

Overview

ArchLinux‘ philosophy is to make the user in complete control about the software he or she wants on the system. There will be absolutely no bloatware installed in your machine unless you choose to do so. This is achieved with a very verbose installation about which I will talk about later on in this post. ArchLinux is modular: pieces can be added to it to make it look good or do awesome things, but pieces can be taken away as well. It is important to know that ArchLinux is a rolling release distro – that means that you get updates all the time and that there is no real release cycle like we see with other distros (Fedora, Ubuntu). Once you install Arch and hit “update”, it will be as new as any Arch downloaded just now. That being said, they do occasionally release distro snapshots, but that is nothing more than an ISO with the software versions that were current at the point when the snapshot was released. In fact, the release snapshot they offer right now dates from May 2010. But as I said, once you update it, it’s as good as new. Click “continue reading” to…well, continue reading.

 

My configuration of Arch Linux with KDE4.6 on it

 

The Wiki and the BBS

The almighty ArchWiki is often praised as the most comprehensive wiki of all distros out there. If you’re Arch newbie, a definite must-read is Arch’s Beginner’s Guide. This leads you through the entire process of installation. If you want to install Arch, the best way to go about it is to have the Beginner’s Guide open on your computer/tablet/smartphone, and install the Arch on the other computer. I also recommend that you read ArchWiki’s General Recommendations. It is a collection of very good tips and tricks  and things to do once you have your Arch up and running.

The Arch BBS – Bulletin Board System – a.k.a. forums is another great resource for newbies and pros alike. Arch community is great, they are always there to respond to your questions and/or problems. I was recently looking for some help regarding custom keymapping for my keyboard; I posted it on the BBS and got a good response within 15 minutes.

Installation

Ah, the scariest part of Arch. To be honest with you, I can understand why this can be intimidating. There is no graphical installer available and no LiveCD like we see in almost all other distros out there. The distro is installed using a text-based installer, and you have to manually edit most of the configuration files. You will also have to manually add which kernel modules (in addition to those recognized by udev) you want to load, which daemons you want to start, what nameservers you want to use … all this using vim or nano. Actually, in the end, you will also have to install X server and the desktop environment of your choice. Again, if you’re just starting with Arch, I cannot stress enough the importance of the Beginner’s Guide on ArchWiki – RTFM! Albeit intimidating, if you follow the guide, you should have no problems installing this whatsoever.

The "Welcome" screen of Arch linux installation

After you had installed your system and the Desktop Enviroment of your choice, you’ll notice that Arch comes with everything set by default. GNOME uses the default GNOME theme and settings; so does KDE, OpenBox, AwesomeWM etc. There is no software installed atop of your rig other than the software that came with the DE.

General Use

First let me say, Arch is the distro of my choice. This distro is running as the main distro on the rig that will test all the other distributions for you. So I might be a bit biased. But I really do think Arch is one of the best distros out there. It is true when they say that it’s a pain to set it up, but once you do have it set up to your liking, it is simply amazing. Do I recommend it to a complete linux newbie? Absolutely not. You will still be using the Terminal quite a bit and if you don’t know a whole lot about linux commands, I suggest you use a different distro to learn, and then move to Arch. Being as that I picked it for my main distro, I obviously think that it is very good for general use – rock solid, great performance, very little issues, and very modular.

ArchLinux Pros:

One thing I really like about ArchLinux is its package manager (not the official one; the official one is pacman, which, albeit very good, is not the one I am talking about here) or rather this thing called AUR – the ArchLinux User Repository. This is something I have not seen with any other distro so far (bear with me, this site just started!) and it is insanely useful. What is AUR? Well, we all know how useful repositories are. Ubuntu comes with a bunch of them plus there is launchpad and PPA support, and adding a new PPA in order to install a new piece of software is a click or a command away.  AUR is, as its name implies, user repository: users submit software to the repository that they maintain. This is not the software that they created (although you can submit that too), but rather any software that you want. Well, what’s so good about AUR? Two main things: first, there are THOUSANDS of software packages available – I really can’t remember the last time I looked for an app and that it wasn’t in the AUR. Second, the fact that often these apps come with patches to make it work better on your Arch system. And even though it is users just like you and me who maintain this software of their liking, I’ve found that the software is usually very much so up to date. Of course, there are some apps that are “orphans”.

To best way to install software from AUR is to install a package manager called yaourt. Yaourt can search, install, and remove the software from AUR. Installing yaourt is easy – first, add this to your /etc/pacman.conf file (at the end):

[archlinuxfr]
Server = http://repo.archlinux.fr/i686 #replace i686 with x86_64 if needed

Then just run pacman -Syu as root and finally pacman -S yaourt. Note that you need to have base-devel package installed to make this work.

This is just one of the ArchLinux pros, there are many. But in every post I’ll try to outline one thing that I really like about a distro and one that I don’t.

ArchLinux Cons:

ArchLinux does not come with a support to install .deb or .rpm files. While this is not a problem most of the time due to the wide range of software available from the AUR plus the fact that most of the software comes as a tarball as well, it can be a problem sometimes. I mean, sure, I like messing around with linux stuff, but I don’t want to compile every single program out there. A good example would be Chromium (development version) – it is not available as a tarball but rather only as .deb and .rpm. It is available in the AUR which is where I installed it from, but it literally took me 2 hours to compile – and this is on a relatively good rig. Firefox4 also took me about an hour to compile.

However, on the other hand, the dpkg package (the .deb installer) is available from AUR and users have reported success with it, but I could never make it work. Also, the rpmextract is available as well.

Another bad thing about ArchLinux (thanks Archuser for pointing this out!) is the lack of package signing. Now you may be a person who doesn’t care at all about this, or the one who cares quite a bit about this. With other distros, this is how it works: all the packages uploaded to repositories are digitally signed. If they are tampered with, the signature is “lost”, and your system will refuse installation (asking you for a different key). This is not the case with Arch, where digital signing does not exist. What that means is that potentially someone could upload malicious packages to the official repositories and incidentally “hack” your computer if you download the package. While this seems like a huge issue, I have never heard of anyone who has had problems because of this.

Conclusion:

ArchLinux is a great distro and the distro of my choice. I like the fact that it is very modular, very lightweight, and very stable. I also agree with ArchLinux philosophy that everything should be user’s choice – no software should come pre-installed. As I said earlier, I do not recommend it to complete Linux newbies, but if you’ve already experimented with Ubuntu or any other linux distro and gotten tired of it, I urge you to try ArchLinux. Arch is one of those “love it or hate it” distros. To recap:

Distro name: ArchLinux
Version: n/a, rolling release. Occasional snapshots provided
Base distro: none
Pros: stable, modular, completely user oriented; package manager, user repository
Cons: a PIA to install for a newbie, requires a bit more terminal knowledge, lack of digital package signing
Rating: 8/10

 

Please register on our forums to discuss Arch Linux and other Linux things!
  • archuser

    Another problem is the lack of signed packages. And I say this as an Arch user and fan.

    • http://www.bogmil.com/ Bo

      Very good point! This was only recently brought to my attention. I will edit the article. Thank you!

      • mnemonic

        Rating: 8/10 ???

        Try 9/10 please! :)

      • Arch4Life

        Please!  Package signing is such an idealog’s wet dream.  People forget that security is about trust (or they don’t forget, they just like to crow about bogus fear-based crap).  Do you trust the total stranger at Arch Linux who put together the package in the first place?  Yes?  Then how about the .edu or other trusted mirror?  Are there “bad people” at your local mirror?  Oh no!  How do we protect ourselves against the “bad people”?  Package signing?  Right.  Good luck leaning too hard on that fragile instrument.  Here’s hoping people see this red herring for what it really is: Lots of aggrandizing.

        • Miss. Ing Trust

          Package signing (or any kind of signature for that matter – digital or not) is not about validating trust in a person.
          Signing is about validating the person who made the package. It tells me that Mr Tux published the package I am about to install and that no one has tampered with. Whether I choose to trust Mr Tux is different issue.
          Security is about MAINTAINING trust – not building or destroying – and signing systems are designed to ensure that.

  • http://twitter.com/magma_camel Kaleb Porter

    i dont think its all that difficult to install however ive installed it a million and a half times. ive been with arch for a long time now and its my primary and if thats really your only issue with it thats fine. good article

    • http://www.bogmil.com/ Bo

      I’ve recently installed Arch on a friend’s laptop and the installation for me was a complete breeze – however, I too have installed it countless times. But my friend, who is also a linux user, had no idea what I was doing. You gotta admit, compared to all those graphical installs out there, this is a bit more difficult.

  • Chris

    A few words to the AUR:

    You can download every PKGBUILD from there and change it. For example if a new firefox beta comes out and you don’t want to wait until it is updated in the AUR you download the PKGBUILD and change the version number in there. Thanks to consistent numbering and directories on the mozilla website it will just work (though you also have to update the hashes).

    Talking about firefox there is the package firefox-beta-bin. This is the precompiled firefox from the mozilla website and I am using that.

    For many packages on the AUR there’s also a package ending with -bin meaning it probably doesn’t need extensive compilation, for example virtualbox_bin (it will only compile the kernel module) (and also virtualbox is in the official repositories so you probably won’t need it anyway).

    Directly installing .deb would be extremely hard since dependency check will probably fail due to other naming convention of library packages. Also Archlinux may use far newer or incompatible libraries than any debian-based distribution.

    Though there is “alien” available and it is used for example for google-chrome-dev (which is probably statically compiled) and there it works well.

    • http://www.bogmil.com/ Bo

      Thank you Chris, I had no idea about the -bin packages. This will definitely save some time in future.

    • Alex

      Thanks fo the “bin tip”. I did’nt know it too!
      Nice review by the way, and interesting blog.
      You’ve got a lot of work to do with the long list of linux’s distributions…..
      Added to my Rss list !

  • Moose

    I would love to try Arch, but I simply can not get wifi working. Without wifi I can’t install X or anything that might help get Wifi up. Were I to get X working in Arch I would most likely love it.

    • http://twitter.com/drewofdoom Drew DeVore

      Wifi can be a pain. Surely you’ve been to https://wiki.archlinux.org/index.php/Wifi already. Which means that your wireless is one of those special cases which doesn’t work with a standard setup.

      Have you tried asking people in the forum about your particular wireless card? Or perhaps checked to see if your card is supported under ndiswrapper? Google and the forums/wiki are your friend. And yes, you can do anything under the command-line that you can do in X…

    • http://www.bogmil.com/ Bo

      While I’ve never had to use this under Arch, back when I was running Ubuntu I also had wireless issues. I installed WicD and my wireless issues were magically gone. I suggest you try that.

    • Shazzam

      Wireless can definitely be a pain. I remember when I started using Arch I didn’t actually figure out my wireless for a few weeks. The flip side of that is, that I still have no idea how to get my wireless working in any distro other than Arch, and even on a fresh install it takes me no time at all to get it up and running now. I just had to figure out what the problem was.

    • Fred

      All wifi firmware are in the package linux-firmware
      http://www.archlinux.org/packages/core/any/linux-firmware/
      (comparing with other distros, which provides 1 package per firmware…)

      This package is located in the core repository, and you may need to use core cd install, instead of net install, as it is included in default core install.

      Just for you installation, if you want to be sure to install Arch, disable (temporarily) Wifi encryption (wep or wpa) as basic network installation included in the installer is not that easy to configure.

      Furthermore, once the installation is done, using wicd or networkmanager will help you to use wifi with WPA.

  • http://pulse.yahoo.com/_XRIUEGXF3MZOCP3YITIQGX62IA John Adven

    Arch has a great community, #archlinux@freenode.net is always full of helping people, arch wiki is the best written wiki on planet and replies all your questions. Arch has a huge software bank, AUR, yaourt, packer are great , rolling release with stability is all I always wanted and ever since I started using Arch I never looked back at any other distro.

  • Sdf

    The major issue with Arch right now is the lack of signed packages. Waiting for that to happen before I completely switch back.

  • mandog

    Arch is simple to install I really do not understand people. A 60 year old dyslexic person can install the core xorg nvidia gnome firefox that’s a complete desktop including basic permissions, downloading the net install disk in 90mins, Then listen to people complain about the text based installer is hard it is so simple I find it easier to use than the total abortion of Ubuntu that just wants you to wipe your hardrive. Arch was my 1st venture into Linux 4 years ago its fast stable and best of all never breaks your system. You do as you don’t have to upgrade, it will run faultlessly till you decide to upgrade just like Debian.

  • Tkozaczewski

    I’ve been using linux for about 2 and a half years now. Started with Ubuntu and after that Mint which quickly appeared to be way too heavy and complicated, then tried Crunchbang which is just awesome. After toying with #! for some time I decided I’m ready to try Arch. I’m running it now with Fluxbox as my primary DE – after boot-up it takes up 47MB of RAM – absolutely amazing. I do admit that to begin with the whole setup process was a bit hard but, bear in mind I was only ever using OB or Fluxbox, so there are a lot of things there to be configured and you spend a lot of time in console mode. I imagine though that if you decide to go for something like GNOME or KDE your life will be a bit easier.
    I do not have to say how happy I am with Arch, do I. The wiki is just amazing, forums as well, AUR gives you access to majority of apps you might want. In my opinion, if you looking for a distro with great stability and a very high amount of user control Arch is the way to go, plus you will learn a lot about linux every day. Not for the lazy or faint hearted though;)

  • http://twitter.com/epitygxanwn Matthew Johnson

    The lack of digital signing for packages makes this the least secure of all distros. A pity, since the elegant simplicity could have made it one of the most secure.

  • Tux

    Hi,
    Can you tell me what is name of theme and icon’s you are using?
    It’s very nice.
    Thanks.

    • http://www.bogmil.com/ Bo

      Absolutely, the theme is standard Oxygen, and the icons are called Faenza.

  • oboedad55

    After distro-hopping for a long time I gave Arch a try and haven’t looked back. Package management is great and I love the rolling-release concept. I’m running KDE on one hard drive and Gnome 3 on the other and they both work quite well. I thought I was going to hate Gnome 3, but have gotten used to it and am happy with it. Arch with KDE runs better for me than Xubuntu.  Beats Unity too…

  • Jamie Mcauslane

    Ha ha!! Someone else has a folder entitled ‘crap’ on their desktop!!

  • Spitfire

    Arch Linux has package signing. We can all sleep tight now.

Help us!

Ads


Poll

Video reviews?

View Results

Loading ... Loading ...

Upcoming Reviews

Gentoo - being worked on
Puppy Linux

Google Friend Connect

Facebook page