Wednesday, June 13, 2007

Arch Voodoo Install

Arch has been my primary Linux distribution for two years and I dual boot it
with Windows XP on my Thinkpad. I like Arch for its KISS principle, good speed and repository full of latest stable packages. According to
Arch Wiki , Arch Linux is an independent i686-optimized community distribution for intermediate and advanced Linux users.

I wanted to check what it takes to build a highly usable Arch desktop from
scratch, so when my father asked me to teach him how to use e-mail, I got the
opportunity to revive my old Athlon XP 2400+ desktop and install Arch on it.

This document details my efforts to build a basic e-mailing and chatting Arch
Desktop system (or is it much more than that ?) and to help others install a
normal Arch desktop. Much has been said about Arch basic installation so I'll
stress on the configurations which I did in order to customize my system.

Unique Features Of Arch
First let me list some unique features of Arch Linux :

  1. i686 optimized
    packages
    . This provides performance enhancement on modern hardware.

  2. Rolling Release System. Arch packages are regularly updated and an ISO release is just a snapshot to the stable packages at that time. Users need not reinstall (rpm based) or do an
    ‘apt-get dist-upgrade’ (debian, Ubuntu) when a new ISO CD is released. Arch can be easily updated by a single command ‘pacman –Syu’.
  3. Pacman . Arguably one of the most advanced package manager. Software pundits have always praised pacman and even dubbed it as the next generation package manager. It is so good that many other distributions, like Frugalware, have adopted it.

  4. ABS (Arch Build System). This enables users to build and install their
    custom packages. It is easier to write custom ABS PKGBUILDs than installing from source on other distributions like rpm-based, deb-based or even gentoo.

  5. AUR (Arch User Repository) . This showcases the community powers of Arch. Here users upload their custom PKGBUILD for other users to download and use. AUR gives Arch a huge number of packages, though they are not officially supported by Arch.


Basic Installation

Coming back to the installation procedure, on the
Arch download website Arch offers three type of ISO to be downloaded

  1. Full ISO. This has all the packages in the current database
    including Xorg.

  2. Base ISO. This has the base packages required for minimal Arch
    install.

  3. FTP ISO. Useful when doing ftp install


    I downloaded FULL ISO 561 MB using Ktorrent and was amused at the number of seeders (75), this resulted in a good download speed. Its
    noteworthy that this number of seeders is one month after the ISO release. The basic installation is fairly simple and is well documented in the
    Installation Guide. The installation requires to set a root password,
    however, no user account is setup during install. The default grub
    menu.lst file had a masked entry for dual booting windows, which had
    to be enabled manually. This is clearly documented in the install guide.
    The basic installation takes about five minutes and is the fastest I have
    seen.


Initial Configuration

On the first boot after install I saw udev in action, reached the
login prompt in no time and logged in as root. I know it is not a good idea to
use the system as root so the first thing I did was to add a new user, set the
password, and add the user to sudoers group.

# useradd -m -s /bin/bash abhayks

# passwd abhayks

# vim /etc/sudoers, and add the
following line

abhayks ALL=(ALL) ALL

You may need to replace ‘abhayks’ with any username of your
choice.


After that I logged out and logged in using my new user ‘abhayks’.
I was delighted to see that my network was auto configured through dhcp.

Bring up KDE

The next step was to configure Xorg. As per Arch Xorg Wiki I installed and
used hwd for auto hardware detection.

# sudo pacman –Sy hwd

# sudo hwd –xa

This command auto detected my hardware and created a /etc/X11/xorg.conf file. The default window manager is twm, which is very basic and not easy to use. I like KDE and Arch had a modular and modified version called
kdemod. The installation is fairly simple.
I just added kdemod repo to my /etc/pacman.conf.

# sudo vim /etc/pacman.conf

And Added the following lines

[kdemod]

Server =
http://kdemod.ath.cx/repo/current/i686


#
sudo pacman –Sy kdemod

It downloaded and installed a subset of KDE including kdebase, kdepim,
kdelibs, kdearts, KDM and qt.

Some more KDE applications

# sudo pacman -S
kdemod/kdemod-kdegraphics-ksnapshot


# sudo pacman -S ktorrent

#sudo pacman -S kdewebdev

I wanted to enable GUI login at bootup, for that I edited /etc/inittab

# sudo vim /etc/inittab

Searched the line

id:3:initdefatul:

And changed ‘3’ to ‘5’, so now that line looks like

id:5:initdefault:

Also I modified the default display manager. In /etc/inittab

Searched the line

x:5:respawn:/usr/bin/xdm
–nodaemon


and changed it to

x:5:respawn:/opt/kde/bin/kdm
–nodaemon


then I saved the file and rebooted.

Final Touches

On reboot I was greeted with a shiny KDM login window with ‘abhayks’ as a
highlighted user. The default KDE has got a very good look and feel.
Kickoff is the default KDE start menu, which has many design and functionality improvements over standard KDE menu. However, the menu style is easily configurable and can be set to standard KDE menu.
I wanted some better looking fonts, so I did

#sudo pacman -S ttf-ms-fonts
ttf-dejavu ttf-bitstream-vera


I am from India, so installed indic fonts

#sudo pacman -S extra/ttf-indic-otf

To add Firefox and Gaim, along with plugins, I just typed in

# sudo pacman –Sy firefox gaim
flashplugin acroread j2re mplayer-plugin


Why not konqueror or kopete ? Well its my personal choice.

Open Office

# sudo pacman -S openoffice-base

# sudo pacman -S openoffice-spell-en

Though the second command itself will install openoffice-base too, but here I
am mentioning it for illustration purpose.

I ran
'/opt/openoffice/program/soffice'
to setup OpenOffice as abhayks.


I also want audio and video capabilities and went ahead with configuring ALSA.
# sudo pacman -Sy alsa-lib alsa-utils

# sudo amixer set Master 75% unmute

# sudo amixer set PCM 90% unmute

# sudo alsactl store

Optionally, this can be done with KMix too, but hey this is Arch Linux and
command line is the order of the day.

For installing Music and video applications
# sudo pacman –Sy amarok-base
amarok-xine gstreamer0.10-mad kmplayer kaffine libdvdcss


Also I had to add my user to the audio and video group

# sudo gpasswd -a abhayks optical

# sudo gpasswd -a abhayks audio

My father has a digital camera and a video camera so here comes

# sudo pacman -S digikam

# sudo pacman -S gimp

# sudo pacman -S kino

# sudo pacman -S cinelerra-cv

To access the windows (NTFS and FAT )drives

#sudo pacman –S ntfs-3g

# sudo chmod u+s /usr/bin/ntfs-3g

# sudo mkdir /mnt/windows

# sudo mkdir /mnt/backup

To enable auto mount of windows drives at boot and usable by all users, I
edited the /etc/fstab file

# sudo vim /etc/fstab

And Added the lines

/dev/sda1 /mnt/windows ntfs-3g users,defaults 0 0

/dev/sda5 /mnt/backup vfat users,defaults 0 0

Lastly I want a good personal finance manager, so I downloaded and installed
Buddi. This is a single jar file and requires java. I have created a desktop shortcut for it, the command line reads as

'java -jar Buddi.jar'

I know that this is a lot of command line configuration, but is that really
tough? This is a one time configuration and any updates to this is as simple
as
# sudo pacman -Syu
Personally I would rather do this, than work on a bloated and slow system,
which needs to do a full system upgrade with each ISO release.
Here I have a complete desktop system that can perform most common tasks. I
can access web, chat, use office documents, keep track of my finances, listen
to songs, watch video, read/write to my windows partitions, capture media from cameras and edit videos and photographs. The best part is that even after so many applications, the system appears very snappy and responsive. OpenOffice and Gimp both open very fast. The total hard disk space used is around 2.2 GB, now that’s fantastic. This can even be reduced further by 500MB if I clear the downloaded package cache. Not many distributions can boast of being so frugal.

Cons:
Every coin has two sides, though in Arch's case its advantages totally dwarf
the disadvantages. Arch community has an answer to almost all the negatives I
have mentioned here

  1. Very few people know it, even lesser use it (Is it bad? )

  2. Too much initial configuration (but that’s easy if we read docs, also we
    have Arch Linux Office Install CD which automates initial configurations)

  3. No official GUI package manager (Many non-official ones like ‘jacman’ exist in the community repository and AUR)

  4. No official GUI configuration Tool (But that’s Arch principle)

  5. Poor Documentation. The documents are there but scattered either throughout the wiki or in the Arch forums. Very few integrated docs exists.(That’s why this document, though I admit that Arch wiki is the base for this doc.)


My Take:

I would recommend Arch Linux to anyone who can read documents. Arch is a very simple, fast and clean Linux distribution and installs only the required
applications. This philosophy goes to the extent that KDE is heavily
modularized, enabling optional installs and making it highly customizable.
This is illustrated by the package kdemod-kdegraphics-ksnapshot,
normally we need to install entire kdegraphics package to get ksnapshot, with
Arch, modularity and minimal install is the name of the game.
People have said enough about pacman, still I cannot resist saying that I
found it to be the fastest and easiest packages manager.
I have been using Arch since long and am all praises for the Arch community.
People simply want to help others and contribute to the community in any way
possible. The forums are very active and highly informative. Whenever I asked
any query, I got multiple ways of solving my problem.
There is a huge number of packages available through community and an even
larger number through AUR. One remarkable thing about Arch is that though it has the latest version of software in its repositories, Arch is amazingly
stable. This indicates the inherent modular architecture of Arch and the
amount of testing that packages undergo.

33 comments:

Anonymous said...

I like Arch as well and used it for half a year or so. But it does have two big drawbacks in my books.

1) pacman -Suy update is not always as painless as it should be. You better check the website before doing it, since sometimes something breaks and you have to figure out what happened. In the end, you have to "look after" your Arch installation quite a lot.

2) still small package repos. Many less common tools are not available. I admit being lazy and not rolling my own ABS's, but this is the reason why something like debian would be preferred to Arch, it's also minimal if you want it to be..

But I've probably learned more about linux by using Arch than any other distro.. so yes, it's worth checking out.

finferflu said...

Very well said. I can see only pros in Arch and I think I'll stick to it for life :)

Renan Birck said...

I have used a lot of Linux distros, was using Ubuntu but got sick of its slowness for some stuff, and decided to stick with Arch.

Being i686-based, and so deliciously simple to use and configure, beats pretty much everything.

Almost any distro looks bloated if compared to Arch.

Anonymous said...

Your review is the best!
It's sort of a tutorial!
It helped me a lot with Arch.

And Arch rocks!

Thank you.

Anonymous said...

Fiyat say it this comment; thanks you very much.

Anonymous said...

レーシック
消費者金融
家庭教師 姫路
キャッシング
プロミス
FX
ゴールドカード
静岡県 墓石
県民プラザ
通信講座
栄松堂書店東京駅1F
セントラル短資
縮毛矯正
新潟 家庭教師
健康食品
クレジットカード
自分発見の部屋
fx
愛知県 墓石
FX スプレッド 比較

Anonymous said...

レーシック 保険
水道橋博士 育毛
FX初心者
ゴールドカード比較ランキング
錦糸眼科
神奈川クリニック眼科
筋トレ
ガソリンカード
レーシック 失敗
レーシック 手術
ゴールドカード
視力回復 レーザー治療
神奈川クリニック眼科
FX 比較
イントラレーシック
近視矯正手術
レーシック 失敗

Anonymous said...

シャークスチームモップ 口コミ シャークスチームモップ 感想 トゥルースリーパープレミアム トゥルースリーパー トゥルースリーパ パワージューサー マジックブレット フードセーバー つやぐらアイロン つやぐら ヘアアイロン ツヤグラ ツヤグラ 楽天 プラシータ チェストベリーE パールホワイトPRO 皇潤 トゥルースリーパー コンフォート トゥルースリーパー 楽天 口コミ トゥルースリーパー トゥルースリーパー ツヤグラ アイロン ツヤグラ くつろぎ指定席 ロイヤルプレミアム 青汁三昧 皇潤(こうじゅん) エバーライフ 皇潤 スリム&ラッシュ アイナソープ アイナソープ400 ブラッシュクリアジェル ミルグロー ツルースリーパー マットレス トゥルースイーパー プレミアム フードセーバ 評判 スタイルジューサー ツヤグラ ツヤぐら マイクロバブル ベスティ 感想 マイクロバブル ベスティ 口コミ

söve said...

boya
söve
dış cephe
mantolama
dış cephe kaplama
boya
izolasyon
e-ticaret

Anonymous said...

ノニ
ノニ ダイエット
ノニ 効果
ノニ 成分
ノニ 糖尿病
ノニ 肌
ノニとは

Anonymous said...

社労士 評判・口コミ
行政書士 通信講座 評判
社労士(社会保険労務士) 通信講座
宅建(宅地建物取引主任者) 試験
簿記(日商簿記) 過去問
社労士(社会保険労務士) 合格率
FP(ファイナンシャルプランナー) 通信講座
通信講座 評判
通信教育のフォーサイト

Anonymous said...

禁煙 江原道化粧品お試しセット トリニティーライン ブロードイオン 通販 ウィ アピシア 三七石鹸 ナノアクア ナチュラルソープ オフィス家具 通販 リバイタラッシュ ベアミネラル:baremineral アンプルール アスタリフト 茶のしずくお試しセット アムラエッセンス レディースプエラリア レディースプエラリア ムチャチャ グラグラ 二重まぶたにする(なる)方法 セルブライト セルブライト リバイタラッシュ フェブリナ(フェヴリナ)ジェルパック まつげエクステ「アイラッシュ」通販 アイホーン 茶のしずく石鹸 茶のしずく石鹸 吉野家 牛丼通販 即日発行 クレジットカード クレジットカード 即日発行 皇潤 皇潤 皇潤 皇潤 ベトナム株の口座開設 酸素カプセル カルジェルナビ スパリゾート 加圧トレーニング オーベルジュ ダイエット食品 通販 外反母趾の予防と矯正ミニガイド H&M(へネス&モーリッツ)ミニガイド O脚の改善と矯正ミニガイド 電動自転車ミニガイド フーレセラピーミニガイド シロアリ対策ミニガイド 鈴虫寺 カルニチンクイーン カルニチンクイーン にんにく注射 質屋 大阪 質屋 東京 質屋 名古屋 借金相談 別れ方 湯たんぽ トモセラピー 歯並び 矯正 アートメイク 日焼けサロン 超音波エクステ TOIEC 勉強法 借金 無料相談 ベランダ ハト対策 黒鯛の釣り方 少年野球 ピッチング指導法 スノボー(スノーボード)の滑り方 薄毛対策・抜け毛対策 やずやの香酢 フーディア アルジルリン 化粧品お試しセット EGF化粧品パソアパソ アスタキュア 皇潤 ビーグレン(ビバリーグレン):b-glen 造顔マッサージ用クリーム 茶のしずく

Anonymous said...

クレジットカード 比較
カードローン 即日
優雅
女性専用キャッシング
カー用品
パチンコ 攻略法
アイテム
便利なキャッシング
キャッシング 初めて
ボールペンデッサン
車好き
おすすめ通販
不眠症
ビリヤード 上達
クレジットカードを作る

商標註冊/專利申請達人 said...

當舖專利商標存證信函都歡迎討論。專利商標存證信函當舖都很重要。
關鍵字:當舖,當舖,專利,專利,商標,商標,存證信函,存證信函,商標設計,自創品牌,關鍵字

SeoManagerr said...

Thanks

Polietilen su deposuUcuz kabin

Anonymous said...

オリックス生命

商標註冊/專利申請達人 said...

有關專利的取得,各國立法例有別,有採『先申請主義』,亦有採『先發明主義』者。
依我國專利法第二十三條規定,二人以上有相同發明者,由先申請之人取得專利權。另外,參照專利法第九十五條規定,申請專利之新型,與申請在先而在其申請後始公開或公告之發明或新型專利申請案所附說明書或圖式載明之內容相同者,不得取得新型專利。再參酌專利法第一百十一條規定,申請專利之新式樣,與申請在先而在其申請後始公告之新式樣專利申請案所附圖說之內容相同或近似者,不得取得新式樣專利。可知,我國專利法就專利之取得係採『先申請主義』,也就是說,如果有二人以上有相同之發明,由先申請專利之人取得專利權。
然而,如果專利申請人是竊取他人的技術資料申請專利,則情況有所不同。蓋竊取者並非真正的發明人,依法並沒有專利申請權,縱使其先行搶先申請專利,真正發明人可以經由專利法所賦予的舉發撤銷制度,撤銷其取得之專利權(專利法第六十七條第一項第三款、第一百零七條第一項第三款、第一百二十八條第一項第三款),並以舉發撤銷後援用非專利申請人之申請日作為專利申請權人之申請日,以避免技術因被他人竊取專利申請公開,而被智慧局認為喪失新穎性,不願給予真正專利申請權人專利權(專利法第三十四條第一項參照)。
就貴公司所發生的案例以觀,貴公司可依照前揭專利舉發撤銷制度相關規定行使專利撤銷權,俾確保貴公司合法專利權益。
惟貴公司日後若有研發任何新技術,宜儘快專利申請,避免類似糾紛的發生,而徒增困擾。

msn nickLeri said...

cambalkon
seriilan
cumhuriyet
ankara

hanly said...

Excellent post,thanks for sharing.
pdf to tiff
ipod manager
Perfect !! Now i add it to bookmark!
YouTube to MP4 Converter

Unknown said...

designer sunglasses
Cheap shoes online
Wholesale Polo Shirts
Chaussures Sport
MBT shoes
cheap cell phones
sports shoes
nike tn air ma
clothes jeans
nike shoes

Anonymous said...

Thank you for your information
by anaokulu

Unknown said...

Black GHD that don't fit properly only CHI hair straightener but they are not returnable GHD IV Salon Styler GHD Rare Styler Gold GHD Gray GHD Kiss GHD

Styler
Pink GHD Pure Black GHDPure White

GHD
Purple GHD The qualities that make a cheap bourke dooney handbags running shoe with a good grip authentic dooney

bourke bags
and material that breathes easily newest dooney bourke handbags They should be sure that

moncler vest light enough to do sports dooney bourke new

purses
but still give enough support to discount dooney bourke handbags outlet around the ankles to

avoid injury wholesale Rolex watches you want a high quality moncler we can provide many moncler t-shirts moncler jackets does spend a

lot of money moncler coats choose us and you will not regret.dooney bourke totes cheap ugg boots discount

ugg boots
ugg boots classic ugg

boots
ugg classic tall boots

Anonymous said...

男人频道
饰品鞋包
商城频道
女人频道
电器城频道
食品频道

Mehak said...
This comment has been removed by the author.
Online Medical Transcription said...

Been looking for this article for long time ago and finally found here. thanks for sharing this post. appreciate!

Dongya Xia said...

fairy tales list
fairy tales
privo shoes
xbox 360 wireless adapter

roger vivier said...

I'inevitable Roger Vivier vous invitent à bien faire vos lacets cet hiver !Blog-chaussures dans Mode le 25 juillet 2011.Originally, Roger Vivier was a appealing baddest customer admirers with Roger Vivier women and roger vivier chaussures humans now.Magasin de chaussures et d'articles de voyages. vivier shoes , Ferme le dimanche,roger rivier.Plan interactif ou Itineraire.Le meilleur moment pour acquerir les chaussures de vos reves roger vivier heels ! Sur les sites de degriffe les prix sont encore plus bas question.Roger Vivier viviane blassel ines fressange mode chaussures julien louet. roger vivier chaussures Intervalle de temps: Derniere heure, Dernier jour.Chaussures Marque : Hogan Livre pour : 21.5. Chaussures Suede belle de nuit flat - Roger vivier. Chaussures scarpe femmes roger vivier.Marque de chaussures roger vivier : infos mode, codes de reduction vzkjvnzk , soldes chaussures roger vivier.Luo Jianch Roger vivier uan also said that the current global financial crisis will affect the consumption of alum shox chaussures.

Frank said...

Hey,
Loving your blog, awesome tips on blog you have here. I
would just like to ask you some questions privately, mindWinRaR Free Download,IDM Free Download,function venues geelong,la Fitness,Mobile Prices in Pakistan

Football Equipment said...

Ah good exciting content! Will always come to our attention. To bring you good news-works perfect! Nike soccer cleats best shoes 2011!! And the most beautiful New nike soccer shoes . with the most fashionable nike mercurial superfly.

boby said...

Coach Outlet Stores are incredibly well-known all around the world, and 1 of the preferred designer brands of many men and women. As soon as an individual buys a Coach purse, they usually will not turn to other brands! Though, buyers need to be conscious. Due to the brands popularity, a lot more and far more replicas are becoming designed. In other words, counterfeit items. They may well appear actual, but right after employing a replica for a when, you will notice the difference in top quality. Coach Handbags

Uggs clearance said...

2011 Uggs clearance you to Own Suede Tall Boots,the genuine sheepskin and lightweight sole bring the warm and relief feeling to you,Ugg Australia Boots online store for you to Buy excellent one to adjust to meet your shape of your feet, much sale price in Uggs nederland online for you Enjoy!UGGS are also in all size that will fit every member of your family both from the very young to the very old. Although you may have no difficulty in finding the perfect size boot for you, you may have difficulty in deciding what color you want. In this paragraph of snow ugg australia boots are very ladies like. This type of boots have prevent slippery, warm and wear-resisting function. Especially in the cold winter, can be Ugg outlet store sudden them out to keep warm and comfortable characteristics. They are your best companion in winter.


Cheap Moncler Online Shop is very modest,because the discount Moncler Outlet Store,can help you grasp the beauty of a woman's eye,you collect a lot of online Moncler Boots,your whole world seems warm and stylish.In the winter,Womens Moncler always seize the audience's attention,there is no beautiful style,both warm and comfortable,classic. Moncler sale Therefore,the soft winter fashion discount Moncler Online become the first choice and a single product.Moncler 2011 will not let you down for sure. Our Moncler Outlet Store presents many different products.

Anonymous said...

What to buy Christmas gifts for friends: The lasting for Mercurial Vapor Superfly Football is on the way to be to hold on to innovate. As Nike’s CEO Mark Parker mentioned “The obsession for innovations is frequently duty amount one for Nike Mercurial Superfly.” Nike Football exists to create Mercurial Vapors football boots and products near to the player, in accordance with his man or ladies demands – speed, power, accuracy, to name only a few.

nikeairmaxshoe said...

uggs clearance Ugg boots are Australian sheep skin boots made out of double confronted sheep skin. They are incredibly preferred amid each males and females these days. Uggs Outlet These boots are available in a range of shades and models and will be worn with any sort of informal dressing ugg boots clearance.

Google
 
Techzone