Difference between revisions of "Beginners' guide (Indonesia)"

From ArchWiki
Jump to navigation Jump to search
(Tambahan..yang terlewati bagian network dan beberapa driver)
Line 11: Line 11:
 
{{i18n_links_end}}
 
{{i18n_links_end}}
 
==Pendahuluan==
 
==Pendahuluan==
=====Segala hal yang ingin kamu tanyakan tentang instalasi Arch Linux, tapi takut untuk menanyakannya.=====
+
=====Segala hal yang ingin kamu tanyakan tentang instalasi Arch Linux, tapi
Dokumen ini akan membimbing kamu dalam menginstalasi dan mengkonfigurasi Arch Linux. Walau petunjuk ini ditujukan untuk membimbing kamu mendapatkan sistem Arch yang terkonfigurasi seluruhnya (desktop environment, menonton DVD/Video, mendengarkan musik, Internet, mail) namun tidak berisi langkah-langkah terperinci untuk memperoleh sistem yang lengkap. Petunjuk ini difokuskan pada beberapa langkah-langkah penting/dasar saja; jika kamu ingin bahasan yang lebih dalam kamu bisa mengunjungi [[Main Page|Arch Linux Wiki]] atau [http://bbs.archlinux.org/ Arch Linux Forums]. Kamu juga bisa membaca [[The Arch Way]] untuk mengetahui prinsip-prinsip dasar Arch Linux.
+
takut untuk menanyakannya.=====
 +
Dokumen ini akan membimbing kamu dalam menginstalasi dan mengkonfigurasi Arch
 +
Linux. Walau petunjuk ini ditujukan untuk membimbing kamu mendapatkan sistem
 +
Arch yang terkonfigurasi seluruhnya (desktop environment, menonton DVD/Video,
 +
mendengarkan musik, Internet, mail) namun tidak berisi langkah-langkah
 +
terperinci untuk memperoleh sistem yang lengkap. Petunjuk ini difokuskan pada
 +
beberapa langkah-langkah penting/dasar saja; jika kamu ingin bahasan yang lebih
 +
dalam kamu bisa mengunjungi [[Main Page|Arch Linux Wiki]] atau  
 +
[http://bbs.archlinux.org/ Arch Linux Forums]. Kamu juga bisa membaca [[The Arch
 +
Way]] untuk mengetahui prinsip-prinsip dasar Arch Linux.
  
 
=====JANGAN PANIK!=====
 
=====JANGAN PANIK!=====
Harap disadari bahwa instalasi Arch Linux mungkin sangat berbeda dengan distro lain yang pernah kamu coba, khususnya bagi pemula. Sistem Arch Linux dibangun oleh '''pengguna''', dari installer, sampai ''base system'' dengan hanya menggunakan shell bash dan beberapa tools dasar sistem saja. dari ''command line'', kamu dapat menambahkan paket dari ''Arch repositories'' menggunakan [[pacman]] melalui sambungan internet, sampai sistem kamu sesuai dengan kebutuhanmu. Dengan hal ini kamu akan mendapatkan sistem yang fleksibel, sesuai pilihan dan dapat kamu kendalikan karena '''kamu''' sendiri yang membangunnya, kamu akan mengetahui apa yang ada di dalam sistem kamu.
+
Harap disadari bahwa instalasi Arch Linux mungkin sangat berbeda dengan distro
 +
lain yang pernah kamu coba, khususnya bagi pemula. Sistem Arch Linux dibangun
 +
oleh '''pengguna''', dari installer, sampai ''base system'' dengan hanya
 +
menggunakan shell bash dan beberapa tools dasar sistem saja. dari ''command
 +
line'', kamu dapat menambahkan paket dari ''Arch repositories'' menggunakan
 +
[[pacman]] melalui sambungan internet, sampai sistem kamu sesuai dengan
 +
kebutuhanmu. Dengan hal ini kamu akan mendapatkan sistem yang fleksibel, sesuai
 +
pilihan dan dapat kamu kendalikan karena '''kamu''' sendiri yang membangunnya,
 +
kamu akan mengetahui apa yang ada di dalam sistem kamu.
  
Jika kamu merasa ada yang kurang dari wiki ini silahkan ditambahkan, atau kamu bisa juga mengunjungi forum Arch ini [http://bbs.archlinux.org/viewtopic.php?t=29055 yang ditujukan untuk pemula.  
+
Jika kamu merasa ada yang kurang dari wiki ini silahkan ditambahkan, atau kamu
 +
bisa juga mengunjungi forum Arch ini
 +
[http://bbs.archlinux.org/viewtopic.php?t=29055 yang ditujukan untuk pemula.  
  
 
Selamat datang di Arch! Mari kita mulai :)
 
Selamat datang di Arch! Mari kita mulai :)
Line 23: Line 42:
 
==Dapatkan ISO terbaru==
 
==Dapatkan ISO terbaru==
  
Kamu dapat mengunduh rilis Arch resmi terbaru dari [http://www.archlinux.org/download/ www.archlinux.org/download/].
+
Kamu dapat mengunduh rilis Arch resmi terbaru dari
 +
[http://www.archlinux.org/download/ www.archlinux.org/download/].
  
 
Sangat direkomendasikan untuk memilih '''base-CD''', untuk beberapa alasan.
 
Sangat direkomendasikan untuk memilih '''base-CD''', untuk beberapa alasan.
  
 
# Waktu/bandwidth yang dibutuhkan lebih sedikit untuk kamu dan server,
 
# Waktu/bandwidth yang dibutuhkan lebih sedikit untuk kamu dan server,
# Paket di versi full mungkin nantinya akan ada yang konflik ketika kamu melakukan update.
+
# Paket di versi full mungkin nantinya akan ada yang konflik ketika kamu
 +
melakukan update.
 
# Base system lebih mudah dan cepat untuk up-to-date, dan,
 
# Base system lebih mudah dan cepat untuk up-to-date, dan,
 
# Petunjuk ini lebih ditujukan untuk installasi dari base-CD.  
 
# Petunjuk ini lebih ditujukan untuk installasi dari base-CD.  
Line 34: Line 55:
 
==Instalasi sistem dasar==
 
==Instalasi sistem dasar==
  
Selain petunjuk ini, kamu juga dapat menggunakan petunjuk resmi ini [[Official Arch Linux Install Guide]] atau [http://www.archlinux.org/static/docs/arch-install-guide.html versi yang dapat di print] juga tersedia.
+
Selain petunjuk ini, kamu juga dapat menggunakan petunjuk resmi ini [[Official
 +
Arch Linux Install Guide]] atau
 +
[http://www.archlinux.org/static/docs/arch-install-guide.html versi yang dapat
 +
di print] juga tersedia.
  
 
===Boot CD Arch Linux===
 
===Boot CD Arch Linux===
  
Masukkan CD dan boot dari CD-ROM, kamu mungkin perlu mengganti urutan boot pada bios komputer kamu (biasanya dengan menekan F11 atau F12).
+
Masukkan CD dan boot dari CD-ROM, kamu mungkin perlu mengganti urutan boot pada
 +
bios komputer kamu (biasanya dengan menekan F11 atau F12).
  
 
Beberapa pilihan pada saat booting Arch Linux CD yang dapat kamu gunakan:
 
Beberapa pilihan pada saat booting Arch Linux CD yang dapat kamu gunakan:
Line 45: Line 70:
 
* memtest86+ if jika kamu ingin memeriksa memorimu.
 
* memtest86+ if jika kamu ingin memeriksa memorimu.
  
Pilih "Arch Linux Installation / Rescue System". Jika kamu ingin merubah opsi boot tekan e.
+
Pilih "Arch Linux Installation / Rescue System". Jika kamu ingin merubah opsi
 +
boot tekan e.
  
 
===Mengganti keymap===
 
===Mengganti keymap===
Line 67: Line 93:
  
 
====Pilih sumber instalasi====
 
====Pilih sumber instalasi====
Pilih CD jika kamu menggunakan base atau full (current) ISO, atau pilih FTP jika kamu menggunakan FTP ISO.
+
Pilih CD jika kamu menggunakan base atau full (current) ISO, atau pilih FTP jika
 +
kamu menggunakan FTP ISO.
  
 
====Menyiapkan Hard Drive====
 
====Menyiapkan Hard Drive====
Pada menu pilihann,pilih "Prepare Hard Drive". Hati-hati, jika memilih "Auto-prepare", seluruh hard drive mu akan dihapus.
+
Pada menu pilihann,pilih '''Prepare Hard Drive'''. Hati-hati, jika memilih
Pada contoh ini,kita memilih opsi mengatur partisi hard drive secara manual. Pilih "2. Partition Hard Drives", pilih hard drive yang kamu inginkan (/dev/sdx), dan buatlah beberapa partisi.
+
'''Auto-prepare''', seluruh hard drive mu akan dihapus.
 +
Pada contoh ini,kita memilih opsi mengatur partisi hard drive secara manual.
 +
Pilih '''2. Partition Hard Drives''', pilih hard drive yang kamu inginkan
 +
(/dev/sdx), dan buatlah beberapa partisi.
  
 
=====Partisi=====
 
=====Partisi=====
  
Sebuah partisi adalah bagian dari hard disk yang tampil sebagai ruang yang terpisah, dan dapat ditambahkan ke dalam sistem Arch Linuxmu. Partisi hard disk terbagi ke dalam "Primary", "Extended", dan "Logical".
+
Sebuah partisi adalah bagian dari hard disk yang tampil sebagai ruang yang
Sebuah partisi "primary" dapat diboot. Jumlah maksimalnya 4. Jadi, jika kamu menggunakan sebuah PC dengan drive SATA, partisi "primary" pertama dikenal sebagai sda1. Partisi "primary" kedua dreferensikan sebagai sda2, kemudian sda3 dan sda4. Jika terdapat lebih dari 4 partisi "primary", maka yang terpaksa digunakan untuk partisi ini adalah "extended", yang dimana partisi ini menampung partisi "logical".
+
terpisah, dan dapat ditambahkan ke dalam sistem Arch Linuxmu. Partisi hard disk
 +
terbagi ke dalam "Primary", "Extended", dan "Logical".
 +
Sebuah partisi "primary" dapat diboot. Jumlah maksimalnya 4. Jadi, jika kamu
 +
menggunakan sebuah PC dengan drive SATA, partisi "primary" pertama dikenal
 +
sebagai sda1. Partisi "primary" kedua dreferensikan sebagai sda2, kemudian sda3
 +
dan sda4. Jika terdapat lebih dari 4 partisi "primary", maka yang terpaksa
 +
digunakan untuk partisi ini adalah "extended", yang dimana partisi ini menampung
 +
partisi "logical".
 
   
 
   
Partisi ''extended'' bersifat sebagai "penampung" untuk partisi logical. Partisi logical harus berada dalam partisi extended. Contohnya, ketika mempartisi, kita dapat melihat penomoran partisi dengan memberi nomor sda1-3 pada partisi primary, diikuti dengan nomor sda4 pada partisi extended, kemudian membuat partisi logical dengan penomoran sda5,sda6 dst.
+
Partisi ''extended'' bersifat sebagai "penampung" untuk partisi logical. Partisi
 +
logical harus berada dalam partisi extended. Contohnya, ketika mempartisi, kita
 +
dapat melihat penomoran partisi dengan memberi nomor sda1-3 pada partisi
 +
primary, diikuti dengan nomor sda4 pada partisi extended, kemudian membuat
 +
partisi logical dengan penomoran sda5,sda6 dst.
  
Banyak user memiliki pendapat yang berbeda-beda mengenai bagaimana cara terbaik untuk mempartisi hard disk. Yang perlu diketahui adalah bahwa syarat minimal adalah adanya satu partisi primary yang dijadikan sebagai root [http://en.wikipedia.org/wiki/File_system Filesystem] ( / ) dan satu partisi lagi sebagai swap. Beberapa pilihan lain untuk dipasang pada partisi yang berbeda adalah /boot (yang secara garis besar menampung kernel) dan /home (menampung data user). Adalah ide yang bagus untuk memisahkan root (/) dan /home pada partisi yang berbeda. Ini memungkinkan untuk melakukan instlasi kembali sistem Arch Linux mu, atau distro lainnya, sementara itu data-data dan konfigurasi ''desktop environment'' tetap terjaga.
+
Banyak user memiliki pendapat yang berbeda-beda mengenai bagaimana cara terbaik
 +
untuk mempartisi hard disk. Yang perlu diketahui adalah bahwa syarat minimal
 +
adalah adanya satu partisi primary yang dijadikan sebagai root
 +
[http://en.wikipedia.org/wiki/File_system Filesystem] ( / ) dan satu partisi
 +
lagi sebagai swap. Beberapa pilihan lain untuk dipasang pada partisi yang
 +
berbeda adalah /boot (yang secara garis besar menampung kernel) dan /home
 +
(menampung data user). Adalah ide yang bagus untuk memisahkan root (/) dan /home
 +
pada partisi yang berbeda. Ini memungkinkan untuk melakukan instlasi kembali
 +
sistem Arch Linux mu, atau distro lainnya, sementara itu data-data dan
 +
konfigurasi ''desktop environment'' tetap terjaga.
  
Pada contoh ini, kita akan meletakkan root (/), /home dan swap pada partisi yang berbeda.
+
Pada contoh ini, kita akan meletakkan root (/), /home dan swap pada partisi yang
 +
berbeda.
  
 
=====Swap Partition=====
 
=====Swap Partition=====
Sebuah partisi swap adalah tempat dalam hard disk yang dapat menampung "virtual ram". Partisi swap digunakan ketika jumlah RAM yang dibutuhkan melebihi daya tampung dari memori RAM yang dimiliki mesin anda.
+
Sebuah partisi swap adalah tempat dalam hard disk yang dapat menampung ''virtual
 +
ram''. Partisi swap digunakan ketika jumlah RAM yang dibutuhkan melebihi daya
 +
tampung dari memori RAM yang dimiliki mesin anda.
  
Mengenai ukuran dari partisi swap ini, terdapat beberapa pendapat. Jika kapasitas memory RAM anda besar (lebih besar dari 1024 MB), anda bisa saja tidak menggunakan partisi swap sama sekali. Namun ada pula yang mengusulkan menyediakan ruang bagi partisi swap sebesar 2 kali kapasitas memory RAM mesin anda. Sementara itu ada yang mengusulkan ruang yang dialokasikan tidak lebih dari 1024 MB.
+
Mengenai ukuran dari partisi swap ini, terdapat beberapa pendapat. Jika
 +
kapasitas memory RAM anda besar (lebih besar dari 1024 MB), anda bisa saja tidak
 +
menggunakan partisi swap sama sekali. Namun ada pula yang mengusulkan
 +
menyediakan ruang bagi partisi swap sebesar 2 kali kapasitas memory RAM mesin
 +
anda. Sementara itu ada yang mengusulkan ruang yang dialokasikan tidak lebih
 +
dari 1024 MB.
  
Mari kita mulai dari membuat sebuah '''primary partition'''. Partisi ini akan menjadi tempat bagi '''root'''. Pilih New -> Primary, kemudian tentukan ukuran yang anda inginkan (ukuran yang umum adalah 4 hingga 8 GB). Letakkan partisi ini pada bagian pertama disk anda. Pilih partisi baru ini dan jadikan partisi ini "Bootable".  
+
Mari kita mulai dari membuat sebuah '''primary partition'''. Partisi ini akan
 +
menjadi tempat bagi '''root'''. Pilih New -> Primary, kemudian tentukan ukuran
 +
yang anda inginkan (ukuran yang umum adalah 4 hingga 8 GB). Letakkan partisi ini
 +
pada bagian pertama disk anda. Pilih partisi baru ini dan jadikan partisi ini
 +
"Bootable".  
  
Tambahkan '''partition for your home directory'''. Untuk partisi ini, pilihlah partisi primary lainnya dan tentukan ukurannya sesuai dengan kebutuhan anda. Ukuran ini tergantung dengan apa yang akan anda simpan dalam partisi tersebut.
+
Tambahkan '''partition for your home directory'''. Untuk partisi ini, pilihlah
 +
partisi primary lainnya dan tentukan ukurannya sesuai dengan kebutuhan anda.
 +
Ukuran ini tergantung dengan apa yang akan anda simpan dalam partisi tersebut.
  
Terakhir, ciptakan partisi ketiga yaitu '''partition for swap'''. Pilihlah ukuran antara 512 MB dan 1 GB (sebagai contoh dalam tutorial ini), dan ganti tipenya menjadi 82 (Linux swap / Solaris).
+
Terakhir, ciptakan partisi ketiga yaitu '''partition for swap'''. Pilihlah
 +
ukuran antara 512 MB dan 1 GB (sebagai contoh dalam tutorial ini), dan ganti
 +
tipenya menjadi 82 (Linux swap / Solaris).
  
 
Inilah hasil dari pengaturan partisi (ukuran akan tergantung pilihan anda).
 
Inilah hasil dari pengaturan partisi (ukuran akan tergantung pilihan anda).
Line 103: Line 169:
 
  sda3          Primary    Linux swap / Solaris            (512 - 1024)
 
  sda3          Primary    Linux swap / Solaris            (512 - 1024)
  
Pilih write dan ketikkan yes. Hati-hati, langkah ini akan menghapus data dari hard disk anda jika sebelumnya anda menindih atau menghapus partisi yang ada. Pilih Quit untuk meninggalkan bagian konfigurasi partisi.
+
Pilih write dan ketikkan yes. Hati-hati, langkah ini akan menghapus data dari
 +
hard disk anda jika sebelumnya anda menindih atau menghapus partisi yang ada.
 +
Pilih Quit untuk meninggalkan bagian konfigurasi partisi.
  
Pilih Done untuk keluar dari menu ini dan kita lanjutkan pada "Set Filesystem Mountpoints".
+
Pilih Done untuk keluar dari menu ini dan kita lanjutkan pada "Set Filesystem
 +
Mountpoints".
  
 
====Set File system Mountpoints====
 
====Set File system Mountpoints====
  
=====A few brief words about '''filesystems''' and "file systems":=====
+
=====Penjelasan singkat mengenai '''filesystems''' dan  ''file systems'':=====
  
Technically, and for accuracy, a '''filesystem''' is a data format for information throughput, whereas a "file system" (notice the space) is a term referring to the layout of all files and directories on a given system. (In our case, the hierarchical UNIX file system.) Therefore, when you are asked if you want to create a '''filesystem''', you are being asked if you want to '''format''' the particular partition... but when you are asked for mount points, you are providing where the given partition will reside in your Arch Linux "file system". Let's begin.
+
Secara teknis, sebuah '''filesystem''' adalah format data untuk ''data throughput'', sementara itu ''file system'' (dengan spasi), adalah istilah yang menunjukkan tata letak dari seluruh file dan direktori pada sebuah sistem. Jadi, ketika ada pertanyaan apakah anda mau membuat sebuah '''filesystem''', ini berarti anda ditanya untuk '''memformat''' sebuah partisi. Sedangkan jika anda ditanya mengenai lokasi ''mounting'' sebuah partisi, anda diminta untuk menentukan di lokasi mana pada ''file system'' partisi ini akan diletakkan. Mari kita mulai.
  
First you will be asked for your swap partition. Choose the appropriate partition (sda3 in this example). You will be asked if you want to create a swap filesystem; select yes. Next, choose where to mount the / (root) directory (sda1 in the example). You will be asked what kind of filesystem you want.
+
Pertama, anda akan ditanya mengenai partisi swap. Pilih lokasi yang sesuai (dalam contoh ini adalah sda3). Anda akan ditanya apakah anda ingin menciptakan sebuah ''filesystem'', pilih ''yes''. Kemudian, tentukan lokasi ''mounting'' direktori / (root) (dalam contoh ini adalah sda1). Anda akan ditanya tipe ''filesystem'' yang anda inginkan.
  
Again, ask two people which filesystem to choose and you will get five different answers. Each one has its advantages and disadvantages. Here is a very brief overview of supported filesystems.
+
Dalam menentukan tipe ''filesystem'', terdapat pula perbedaan pendapat. Masing-masing ada kelebihan dan kekurangannya. Di bawah ini adalah sebuah ringkasan sederhana.
  
1. '''ext2''' - Old, reliable GNU/Linux filesystem. Fast, and very stable, but without journaling.
+
1. '''ext2''' - Lebih tua, ''filesystem'' yang dapat dihandalkan. Cepat dan sangat stabil, namun tidak memiliki kemampuan ''journaling''.
  
2. '''ext3''' - Essentially the ext2 system, but with journaling support. ''Slightly'' slower than ext2 and other filesystems. '''Extremely''' stable and the most widely used, supported, and developed.
+
2. '''ext3''' - Sama seperti ''ext2'', namun dengan tambahan kemampuan ''journaling''. Agak lambat bila dibandingkan dengan ''ext2''. ''Swangat'' stabil, lebih banyak digunakan dan dikembangkan.
  
3. '''ReiserFS''' - Hans Reiser's high-performance journaling FS uses a very interesting method of data throughput. ReiserFS is very fast, especially when dealing with many small files. ReiserFS is quite well established and stable.
+
3. '''ReiserFS''' - ''Hans Reiser's high-performance journaling FS'' menggunakan metode yang menarik terkait ''data throughput''. ''ReiserFS'' sangat cepat, terutama ketika menangani file-file kecil.
  
4. '''JFS''' - IBM's Journaling FS. JFS is quite well established, fast, and stable.
+
4. '''JFS''' - ''IBM's Journaling FS''. JFS cukup dikenal, cepat dan stabil.
  
5. '''XFS''' - is a fast journaling filesystem which is best suited for large files, greater than 1 GB in size. Slower with small files. Quite stable.
+
5. '''XFS''' - adalah ''journaling filesystem'' yang cepat dan lebih cocok untuk file dengan ukuran yang besar(lebih besar dari 1 GB). Lebih lambat untuk file berukuran kecil. Cukup stabil.
 
   
 
   
A major difference is [http://en.wikipedia.org/wiki/Journaling_file_system journaling] (something similar to transaction logs in database environments). All filesystems except ext2 use journaling. ext3 is completely compatible with ext2, so you can mount it even with very-old rescue CDs. A safe choice for the root partition is ext3. ReiserFS, XFS, and JFS are also OK to use because GRUB (the boot manager which we will install later) can boot from them too. Create the filesystem (format the partition) by selecting yes. You will now be prompted to add any additional partitions. In our example, only sda2 is remaining. Choose a filesystem type and mount it as /home. Again, create the filesystem and choose Done. Return to main menu.
+
Perbedaan utamanya dapat dilihat di [http://en.wikipedia.org/wiki/Journaling_file_system
 +
journaling].
  
===Select Packages===
+
Semua ''filesystem'' menggunakan journaling, kecuali ext2. ext3 kompatibel dengan ext2. Pilihan yang aman untuk sebuah partisi root adalah ext3.
Now we shall select packages to install in our system. Choose CD as source and select the appropriate CD drive if you have more than one.
 
Since this guide is geared toward a '''base''' installation, choose the base category (keeping all base packages selected is a safe choice). If you chose the current ISO rather than the base ISO, it is up to you if you want to select more packages, but we will show you later how to install additional, up-to-date software more easily, rather than installing and reinstalling. (Since the install CD you are using has been created, there are no doubt numerous updates available for packages contained therein, and installing additional up-to-date software via pacman will be covered below.) If you are '''sure''' you will not be needing certain packages (for instance, a filesystem type you don't need, ISDN, or PPPoE support), feel free to remove them from the base package selection.  
 
  
Step forward to "Install Packages".
+
Kemudian buatlah partisi ini denga memilih yes. Anda akan ditanya apakah akan membuat partisi baru.
  
===Install Packages===
+
Pada contoh ini, hanya ada partisi sda2 yang tersisa. Pilih sebuah tipe ''filesystem'', dan ''mount'' sebagai /home. Kemudian ciptakan partisi ini dan pilih Done. Kembalilah ke menu utama.
Ini adalah tahapan termudah, karena semua proses berjalan secara otomatis. Buatlah secangkir kopi dan tunggu sampai proses instalasi selesai (tekan tombol "Continue" jika diperlukan). Minumnya jangan kelamaan, karena instalasi sistem dasar Arch Linux hanya berberapa menit saja :P .
 
  
===Configure The System===
+
===Memilih Packages===
Anda akan ditanyakan apakah ingin agar hwdetect mengumpulkan informasi untuk konfigurasi anda. Opsi ini sangat direkomendasikan untuk dipilih.  
+
Sekarang kita akan memilih packages untuk diinstalasi pada sistem. Pilih CD sebagai sumber. Jika anda memiliki lebih dari satu drive CD, pilih yang memuat CD Archlinux.
Sekarang anda akan ditanyakan apakah anda butuh support untuk booting dari perangkat USB, perangkat FireWire, perangkat PCMCIA, jaringan NFS, software RAID arrays, LVM2 volumes, and encrypted volumes. Pilih Yes jika anda mebutuhkannya; dalam contoh ini, tidak ada yang diperlukan. Sekarang anda akan ditanya penyunting teks mana yang ingin anda pilih, [http://en.wikipedia.org/wiki/Nano_%28text_editor%29 nano] atau [http://en.wikipedia.org/wiki/Vim_%28text_editor%29 vi/vim]. Sekarang Anda akan menemukan menu yang penting untuk mengkonfigurasi sistem anda. Kami hanya melakukan perubahan kecil disini. Jika anda ingin tahu opsi apa saja yang terdapat di rc.conf, tekanlah Alt+F2 untuk masuk shell, dan kembali ke installer dengan Alt+F1.  
+
 
 +
Karena tutorial ini ditujukan sebagai instalasi dasar, pilihlah katagori '''base'''. Adalah pilihan yang aman untuk mencentang semua package dalam '''base'''.
 +
 
 +
===Instalasi Packages===
 +
Ini adalah tahapan termudah, karena semua proses berjalan secara otomatis.
 +
Buatlah secangkir kopi dan tunggu sampai proses instalasi selesai (tekan tombol
 +
"Continue" jika diperlukan). Minumnya jangan kelamaan, karena instalasi sistem
 +
dasar Arch Linux hanya berberapa menit saja :P .
 +
 
 +
===Konfigurasi Sistem===
 +
 
 +
Anda akan ditanyakan apakah ingin agar ''hwdetect'' mengumpulkan informasi untuk
 +
konfigurasi anda. Opsi ini sangat direkomendasikan untuk dipilih.  
 +
Sekarang anda akan ditanyakan apakah anda butuh support untuk booting dari
 +
perangkat USB, perangkat FireWire, perangkat PCMCIA, jaringan NFS, software RAID
 +
arrays, LVM2 volumes, and encrypted volumes. Pilih Yes jika anda mebutuhkannya;
 +
dalam contoh ini, tidak ada yang diperlukan. Sekarang anda akan ditanya
 +
penyunting teks mana yang ingin anda pilih,
 +
[http://en.wikipedia.org/wiki/Nano_%28text_editor%29 nano] atau
 +
[http://en.wikipedia.org/wiki/Vim_%28text_editor%29 vi/vim]. Sekarang Anda akan
 +
menemukan menu yang penting untuk mengkonfigurasi sistem anda. Kami hanya
 +
melakukan perubahan kecil disini. Jika anda ingin tahu opsi apa saja yang
 +
terdapat di rc.conf, tekanlah Alt+F2 untuk masuk shell, dan kembali ke installer
 +
dengan Alt+F1.  
  
 
=====/etc/rc.conf=====
 
=====/etc/rc.conf=====
  
* Ubah LOCALE anda jika diperlukan (Misalnya: "de_DE.utf8") (Lokal ini harus sesuai pada /etc/locale.gen. '''Lihat di bawah ini'''.)
+
* Ubah LOCALE anda jika diperlukan (Misalnya: "de_DE.utf8") (Lokal ini harus
 +
sesuai pada /etc/locale.gen. '''Lihat di bawah ini'''.)
 
* Ubah zona waktu anda jika diperlukan pada TIMEZONE (e.g. "Asia/Jakarta")
 
* Ubah zona waktu anda jika diperlukan pada TIMEZONE (e.g. "Asia/Jakarta")
 
* Ubah KEYMAP anda jika diperlukan (e.g. "de-latin1-nodeadkeys")
 
* Ubah KEYMAP anda jika diperlukan (e.g. "de-latin1-nodeadkeys")
  
* Tambahkan bagian MODULES jika anda modul penting yang tidak otomatis diaktifkan oleh hwdetect  
+
* Tambahkan bagian MODULES jika anda modul penting yang tidak otomatis
 +
diaktifkan oleh hwdetect  
 
* Ubah HOSTNAME anda
 
* Ubah HOSTNAME anda
 
* Ubah pengaturan jaringan anda:
 
* Ubah pengaturan jaringan anda:
** Don't modify the lo line
+
** Jangan ubah lo line
** Adjust the IP address, netmask and broadcast address if you are using a static IP
+
** Atur ''IP address'', ''netmask'' dan ''broadcast address'' jika anda menggunakan ''static IP''.
** Set eth0="dhcp" if you have a router which dynamically assigns an IP address
+
** Tetapkan eth0="dhcp" jika anda menggunakan metode DHCP dalam menentukan alamat IP anda.
** If you have a static IP set the gateway address to the one of your router and remove the ! in front of the ROUTES entry
+
** Jika anda memiliki ''static IP'', tetapkan ''gateway address'' sesuai dengan router anda dan hapuskan ! dari baris ROUTES.
=====About DAEMONS=====
+
 
Anda tak perlu mengubah baris [[daemons]] saat ini, tapi penting untuk menjelaskan ini, karena kita membutuhkannya di bagian lain panduan ini. mirip dengan service pada Windows, daemon adalah program yang berjalan background untuk melayani program. Salah satu contoh adalah webserver yang menunggu request untuk mengirimkan halaman atau server SSH yang menunggu orang untuk masuk. Selain daemon yang berupa aplikasi yang terlihat nyata layanannya, ada berberapa daemon yang bekerja tanpa terlihat. Contohnya ada daemon yang menulis pesan pada file log (misalnya: syslog, metalog), ada daemon yang menurunkan frekuensi CPU anda jika tak ada yang perlu dilakukan, dan daemon yang menyajikan anda login grafis (misalnya: gdm, kdm). Semua program ini dapat ditambahkan ke baris daemons dan akan dijalankan saat sistem mulai. Daemon-daemon penting akan disajikan dalam panduan ini.
+
=====Mengenai DAEMONS=====
 +
 
 +
Anda tak perlu mengubah baris [[daemons]] saat ini, tapi penting untuk
 +
menjelaskan ini, karena kita membutuhkannya di bagian lain panduan ini. mirip
 +
dengan service pada Windows, daemon adalah program yang berjalan background
 +
untuk melayani program. Salah satu contoh adalah webserver yang menunggu request
 +
untuk mengirimkan halaman atau server SSH yang menunggu orang untuk masuk.
 +
Selain daemon yang berupa aplikasi yang terlihat nyata layanannya, ada berberapa
 +
daemon yang bekerja tanpa terlihat. Contohnya ada daemon yang menulis pesan pada
 +
file log (misalnya: syslog, metalog), ada daemon yang menurunkan frekuensi CPU
 +
anda jika tak ada yang perlu dilakukan, dan daemon yang menyajikan anda login
 +
grafis (misalnya: gdm, kdm). Semua program ini dapat ditambahkan ke baris
 +
daemons dan akan dijalankan saat sistem mulai. Daemon-daemon penting akan
 +
disajikan dalam panduan ini.
  
 
Gunakan Ctrl+X untuk keluar dari editor.
 
Gunakan Ctrl+X untuk keluar dari editor.
Line 164: Line 269:
 
  127.0.0.1  localhost.localdomain  localhost ''yourhostname''
 
  127.0.0.1  localhost.localdomain  localhost ''yourhostname''
 
Format ini, '''termasuk entri 'localhost' ''', diperlukan untuk kompatibilitas.
 
Format ini, '''termasuk entri 'localhost' ''', diperlukan untuk kompatibilitas.
Biasanya menambahkan ''hostname'' di akhir baris ini terbilang cukup. Namun, sebagian pengguna merekomendasikan:
+
Biasanya menambahkan ''hostname'' di akhir baris ini terbilang cukup. Namun,
  127.0.0.1  ''yourhostname''.domain.org localhost.localdomain  localhost ''yourhostname''
+
sebagian pengguna merekomendasikan:
Jika anda menggunakan IP statik, tambahkan baris lain menggunakan sintaks: <ip-statik> hostname.domainname.org  hostname,  
+
  127.0.0.1  ''yourhostname''.domain.org localhost.localdomain  localhost  
 +
''yourhostname''
 +
Jika anda menggunakan IP statik, tambahkan baris lain menggunakan sintaks:
 +
<ip-statik> hostname.domainname.org  hostname,  
 
e.g.:
 
e.g.:
 
  192.168.1.100 yourhostname.domain.org  yourhostname
 
  192.168.1.100 yourhostname.domain.org  yourhostname
  
 
===== /etc/fstab, mkinitcpio.conf and modprobe.conf=====
 
===== /etc/fstab, mkinitcpio.conf and modprobe.conf=====
Kita tidak perlu mengubah mkinitcpio.conf, or modprobe.conf saat ini. mkinitcpio mengatur ramdisk (misalnya: booting dari RAID, partisi terenkripsi), dan modprobe dapat digunakan untuk mengatur berberapa konfigurasi khusus pada modul-modul).
+
Kita tidak perlu mengubah mkinitcpio.conf, or modprobe.conf saat ini. mkinitcpio
 +
mengatur ramdisk (misalnya: booting dari RAID, partisi terenkripsi), dan
 +
modprobe dapat digunakan untuk mengatur berberapa konfigurasi khusus pada
 +
modul-modul).
  
Jika anda berencana menggunakan HAL daemon untuk mengautomatisasi pengaitan partisi-partisi, perangkat optik, perangkat USB, dll, Anda mungkin berkeinginan untuk mengubah /etc/fstab dengan menghilangkan tanda pagar (#) pada entri untuk cdrom, floppy, and dvd.
+
Jika anda berencana menggunakan HAL daemon untuk mengautomatisasi pengaitan
 +
partisi-partisi, perangkat optik, perangkat USB, dll, Anda mungkin berkeinginan
 +
untuk mengubah /etc/fstab dengan menghilangkan tanda pagar (#) pada entri untuk
 +
cdrom, floppy, and dvd.
  
 
=====/etc/resolv.conf (for Static IP)=====
 
=====/etc/resolv.conf (for Static IP)=====
If you use a static IP, set your DNS servers in /etc/[[resolv.conf]] (nameserver <ip-address>). You may have as many as you wish.
+
If you use a static IP, set your DNS servers in /etc/[[resolv.conf]]  
 +
(nameserver <ip-address>). You may have as many as you wish.
  
Jika anda menggunakan router, Anda mungkin ingin mengarahkan server DNS ke router anda (dimana juga merupakan gateway anda di /etc/rc.conf), misalnya:
+
Jika anda menggunakan router, Anda mungkin ingin mengarahkan server DNS ke
 +
router anda (dimana juga merupakan gateway anda di /etc/rc.conf), misalnya:
 
  nameserver 192.168.1.1
 
  nameserver 192.168.1.1
 
Selanjutnya, tambahkan server-server yang anda inginkan satu-per-satu. Misalnya:
 
Selanjutnya, tambahkan server-server yang anda inginkan satu-per-satu. Misalnya:
Line 185: Line 301:
  
 
=====/etc/locale.gen=====
 
=====/etc/locale.gen=====
Choose the locale(s) you need (remove the # in front of the lines you want), e.g.:
+
Pilih locale sesuai yang anda butuhkan (dengan menghapus # dari baris locale yang anda pilih)
 +
contoh:
 
  en_US ISO-8859-1
 
  en_US ISO-8859-1
 
  en_US.UTF-8
 
  en_US.UTF-8
('''Your locale must coincide with the one specified in /etc/rc.conf above.''')
+
('''Locale yang anda pilih harus sama dengan yang anda tentukan pada file /etc/rc.conf''')
 +
 
 
=====Root password=====
 
=====Root password=====
Finally, set a root password and make sure that you remember it later. Return to the main menu and continue with installing a kernel.
+
Tetapkan password bagi user root. Kemudian kembali ke menu utama dan lanjutkan dengan proses instalasi kernel.
 +
 
 +
===Instalasi Kernel===
 +
Tidak banyak pilihan disini. Pilih saja v2.6 dan lanjutkan.
 +
 
 +
===Instalasi Bootloader===
 +
 
 +
Karena dalam contoh ini, tidak terdapat sistem operasi lainnya pada mesin ini, kita membutuhkan sebuah ''bootloader''.
 +
[http://www.gnu.org/software/grub/ GNU GRUB] adalah ''bootloader'' yang direkomendasikan. Sebagai alternatif, anda dapat memilih LILO.
  
===Install Kernel===
+
Konfigurasi default terhadap GRUB sudah mencukupi. Namun, salah satu hal yang mungkin ingin anda ubah adalah resolusi console. Jika anda hendak merubah resolusi console, tambahkan ''vga=<jumlah>'' pada baris pertama kernel. Contoh dari file /boot/grub/menu.lst:
Not many choices here; choose v2.6 and continue. You may want to switch your kernel later. A fallback image will be created, keeping mkinitcpio as it is shown as a safe choice. Continue with installing a bootloader.
 
  
===Install Bootloader===
 
Because we have no secondary operating system in our example, we will need a bootloader. [http://www.gnu.org/software/grub/ GNU GRUB] is the recommended bootloader. Alternatively, you may choose [http://lilo.go.dyndns.org/ LILO]. The shown GRUB configuration (/boot/grub/menu.lst) should be sufficient. The only thing you may want to alter is the resolution of the console. Add
 
a vga=<number> to the first kernel line. (A table of resolutions and the corresponding numbers is printed in the menu.lst.)
 
 
  title  Arch Linux (Main)
 
  title  Arch Linux (Main)
 
  root  (hd0,0)
 
  root  (hd0,0)
 
  kernel /boot/vmlinuz26 root=/dev/sda1 ro vga=773
 
  kernel /boot/vmlinuz26 root=/dev/sda1 ro vga=773
 
  initrd /boot/kernel26.img
 
  initrd /boot/kernel26.img
The "vga=773" argument will give a 1024x768 framebuffer with 256 color depth.
 
  
Exit the install and type reboot.
+
Dengan memilih "vga=773" berarti ukuran resolusi sebesar 1024x768 dan ''color depth'' sebesar 256.
 +
 
 +
Keluar dari proses instalasi dan reboot.
 +
 
 +
Jika semua berjalan lancar, sistem Arch Linux baru anda akan di boot. Selamat datang pada sistem baru anda.
  
If everything goes well, your new Arch Linux system will boot up and finish with a login prompt (you may want to change the boot order in your BIOS back to booting from hard disk).
+
==Konfigurasi lebih lanjut sistem dasar Arch Linux==
  
Congratulations, and welcome to your shiny, new Arch Linux base system!
+
Dari titik ini, anda dapat mengatur lebih lanjut sistem dasar Arch Linux anda.
  
==Configuring the base system ==
 
Your new Arch Linux base system is now a functional GNU/Linux operating system ready for customization. From here, you may build this elegant set of tools into whatever you wish or require for your purposes!
 
Let's begin.
 
 
-----
 
-----
Login with your root account. We will configure pacman and update the system as root, then add a normal user.  
+
Login sebagai root. Kita akan mengatur pacman dan memperbaharui sistem.
  
===Configuring pacman===
+
===Konfigurasi pacman===
Edit /etc/pacman.conf
+
Edit /etc/pacman.conf:
 
  nano -w /etc/pacman.conf
 
  nano -w /etc/pacman.conf
and remove the # in front of the "Include = /etc/pacman.d/community" and "[community]" lines to enable Arch's community repository, which offers many useful applications. Now edit /etc/pacman.d/community and move the mirrors which are located nearest to you up (if you use nano, Alt+A starts selecting an area, cursor down marks the lines, Ctrl+K cuts the selected area and Ctrl+U uncuts it). Repeat this for all files in /etc/pacman.d/.
+
dan hilangkan # dari baris "Include = /etc/pacman.d/community" dan
 +
"[community]". Pada repositori ini terdapat banyak aplikasi yang bermanfaat.
 +
 
 +
Sekarang bukalah /etc/pacman.d/mirrorlist:
 +
  nano /etc/pacman.d/mirrorlist
 +
dan pilihlah lokasi mirror terdekat dengan anda.
  
===Configuring the network (if necessary)===
+
===Konfigurasi network jika dibutuhkan===
  
If everything went fine, you should have a working network. Try to ping www.google.com to verify this.
+
Jika semua berjalan lancar, maka sekarang seharusnya anda memiliki jaringan yang bekerja. Cobalah mem''ping'' www.google.com untuk memastikan ini.
 
  ping -c 3 www.google.com
 
  ping -c 3 www.google.com
  
If you have successfully established a network connection, continue with "Update, Sync and Upgrade the system with pacman".
+
Jika jaringan anda sudah berjalan, lanjutkan ke proses "Update, Sync dan Upgrade dengan pacman".
  
If, after trying to ping www.google.com, you get an "unknown host" error, you may conclude that your network is not configured. You may choose to double-check the following files for integrity and proper settings:
+
Namun jika setelah melakukan ''ping'' di atas anda mendapatkan pesan "unknown host", dapat disimpulkan bahwa jaringan belum berjalan. Anda dapat melihat berkas berikut dan atur konfigurasinya:
  
'''/etc/rc.conf''' # Specifically, check your HOSTNAME= and NETWORKING section
+
'''/etc/rc.conf''' # terutama periksa bagian HOSTNAME= dan NETWORKING
  
'''/etc/hosts'''  # Double-check your format. (See above.)
+
'''/etc/hosts'''  # Lihat format penulisannya.
  
'''/etc/resolv.conf''' # If you are using a static IP. If you are using DHCP, this file will be dynamically created and destroyed by default, but can be changed to your preference. (See [[Network]].)
+
'''/etc/resolv.conf''' # Jika anda menggunakan static IP. Jika menggunakan DHCP, berkas ini akan dibuat dan dihapus secara otomatis,tapi hal ini dapat diubah sesuai dengan keinginan anda. (Lihat [[Network]].)
  
Advanced instructions for configuring the network can be found in the [[Network]] article.
+
Petunjuk pengaturan lebih terperinci dapat dilihat pada artikel [[Network]].
  
 
====Wired LAN====
 
====Wired LAN====
  
Check your Ethernet with
+
Periksa Ethernet anda menggunakan perintah:
 
  ifconfig
 
  ifconfig
where you should see an entry for eth0. If required, you can set a new static IP with
+
Anda akan melihat baris untuk eth0. Jika diperlukan, anda dapat mengatur konfigurasi ''static IP'':
 
  ifconfig eth0 <ip address> netmask <netmask> up  
 
  ifconfig eth0 <ip address> netmask <netmask> up  
and the default gateway with
+
dan ''default gateway''
  route add default gw <ip address of the gateway>
+
  route add default gw <ip address gateway>
Check to see if /etc/resolv.conf contains your DNS server and add it if it is missing.  
+
periksa apakah /etc/resolv.conf memuat DNS server anda. Tambahkan jika tidak ada.
Check your network again with ping www.google.de. If everything is working now, adjust /etc/rc.conf as described in section 2.6 (static IP). If you have a DHCP server/router in your network try
+
 
 +
Periksa kembali jaringan anda dengan:
 +
ping -c 3 www.google.com
 +
Jika semua berjalan lancar, atur kembali /etc/rc.conf sesuai dengan pada bagian 2.6 (static IP). Jika anda memiliki server/router DHCP, cobalah:
 
  dhcpcd eth0
 
  dhcpcd eth0
If this is working, adjust /etc/rc.conf as described in section 2.6 (dynamic IP).
+
Jika perintah ini berjalan, aturlah /etc/rc.conf seperti yang dijelaskan pada bagian 2.6 (dynamic IP).
  
 
====Wireless LAN====
 
====Wireless LAN====
Line 256: Line 386:
  
 
====Analog Modem====
 
====Analog Modem====
To be able to use a Hayes-compatible, external, analog modem, you need to at least have the ppp package installed. Modify the file /etc/ppp/options to suit your needs and according to man pppd. You will need to define a chat script to supply your username and password to the ISP after the initial connection has been established. The manpages for pppd and chat have examples in them that should suffice to get a connection up and running if you're either experienced or stubborn enough. With udev, your serial ports usually are /dev/tts/0 and /dev/tts/1.
+
To be able to use a Hayes-compatible, external, analog modem, you need to at
 +
least have the ppp package installed. Modify the file /etc/ppp/options to suit
 +
your needs and according to man pppd. You will need to define a chat script to
 +
supply your username and password to the ISP after the initial connection has
 +
been established. The manpages for pppd and chat have examples in them that
 +
should suffice to get a connection up and running if you're either experienced
 +
or stubborn enough. With udev, your serial ports usually are /dev/tts/0 and
 +
/dev/tts/1.
 
Tip: Read [[Dialup without a dialer HOWTO]].
 
Tip: Read [[Dialup without a dialer HOWTO]].
  
Instead of fighting a glorious battle with the plain pppd, you may opt to install wvdial or a similar tool to ease the setup process considerably. In case you're using a so-called WinModem, which is basically a PCI plugin card working as an internal analog modem, you should indulge in the vast information found on the [http://www.linmodems.org/ LinModem] homepage.
+
Instead of fighting a glorious battle with the plain pppd, you may opt to
 +
install wvdial or a similar tool to ease the setup process considerably. In case
 +
you're using a so-called WinModem, which is basically a PCI plugin card working
 +
as an internal analog modem, you should indulge in the vast information found on
 +
the [http://www.linmodems.org/ LinModem] homepage.
  
 
====ISDN====
 
====ISDN====
Line 268: Line 409:
 
# Add settings for your ISP  
 
# Add settings for your ISP  
  
The current Arch stock kernels include the necessary ISDN modules, meaning that you won't need to recompile your kernel unless you're about to use rather odd ISDN hardware. After physically installing your ISDN card in your machine or plugging in your USB ISDN-Box, you can try loading the modules with modprobe. Nearly all passive ISDN PCI cards are handled by the hisax module, which needs two parameters: type and protocol. You must set protocol to '1' if your country uses the 1TR6 standard, '2' if it uses EuroISDN (EDSS1), '3' if you're hooked to a so-called leased-line without D-channel, and '4' for US NI1.
+
The current Arch stock kernels include the necessary ISDN modules, meaning that
 +
you won't need to recompile your kernel unless you're about to use rather odd
 +
ISDN hardware. After physically installing your ISDN card in your machine or
 +
plugging in your USB ISDN-Box, you can try loading the modules with modprobe.
 +
Nearly all passive ISDN PCI cards are handled by the hisax module, which needs
 +
two parameters: type and protocol. You must set protocol to '1' if your country
 +
uses the 1TR6 standard, '2' if it uses EuroISDN (EDSS1), '3' if you're hooked to
 +
a so-called leased-line without D-channel, and '4' for US NI1.
  
Details on all those settings and how to set them is included in the kernel documentation, more specifically in the isdn subdirectory, and available online. The type parameter depends on your card; a list of all possible types can be found in the README.HiSax kernel documentation. Choose your card and load the module with the appropriate options like this:
+
Details on all those settings and how to set them is included in the kernel
 +
documentation, more specifically in the isdn subdirectory, and available online.
 +
The type parameter depends on your card; a list of all possible types can be
 +
found in the README.HiSax kernel documentation. Choose your card and load the
 +
module with the appropriate options like this:
  
 
  modprobe hisax type=18 protocol=2
 
  modprobe hisax type=18 protocol=2
  
This will load the hisax module for my ELSA Quickstep 1000PCI, being used in Germany with the EDSS1 protocol. You should find helpful debugging output in your /var/log/everything.log file, in which you should see your card being prepared for action. Please note that you will probably need to load some USB modules before you can work with an external USB ISDN Adapter.
+
This will load the hisax module for my ELSA Quickstep 1000PCI, being used in
 +
Germany with the EDSS1 protocol. You should find helpful debugging output in
 +
your /var/log/everything.log file, in which you should see your card being
 +
prepared for action. Please note that you will probably need to load some USB
 +
modules before you can work with an external USB ISDN Adapter.
  
Once you have confirmed that your card works with certain settings, you can add the module options to your /etc/modprobe.conf:
+
Once you have confirmed that your card works with certain settings, you can add
 +
the module options to your /etc/modprobe.conf:
  
 
  alias ippp0 hisax
 
  alias ippp0 hisax
 
  options hisax type=18 protocol=2
 
  options hisax type=18 protocol=2
  
Alternatively, you can add only the options line here, and add hisax to your MODULES array in the rc.conf. It's your choice, really, but this example has the advantage that the module will not be loaded until it's really needed.
+
Alternatively, you can add only the options line here, and add hisax to your
 +
MODULES array in the rc.conf. It's your choice, really, but this example has the
 +
advantage that the module will not be loaded until it's really needed.
  
That being done, you should have working, supported hardware. Now you need the basic utilities to actually use it!
+
That being done, you should have working, supported hardware. Now you need the
 +
basic utilities to actually use it!
  
Install the isdn4k-utils package, and read the manpage to isdnctrl; it'll get you started. Further down in the manpage you will find explanations on how to create a configuration file that can be parsed by isdnctrl, as well as some helpful setup examples. Please note that you have to add your SPID to your MSN setting separated by a colon if you use US NI1.
+
Install the isdn4k-utils package, and read the manpage to isdnctrl; it'll get
 +
you started. Further down in the manpage you will find explanations on how to
 +
create a configuration file that can be parsed by isdnctrl, as well as some
 +
helpful setup examples. Please note that you have to add your SPID to your MSN
 +
setting separated by a colon if you use US NI1.
  
After you have configured your ISDN card with the isdnctrl utility, you should be able to dial into the machine you specified with the PHONE_OUT parameter, but fail the username and password authentication. To make this work add your username and password to /etc/ppp/pap-secrets or /etc/ppp/chap-secrets as if you were configuring a normal analogous PPP link, depending on which protocol your ISP uses for authentication. If in doubt, put your data into both files.
+
After you have configured your ISDN card with the isdnctrl utility, you should
 +
be able to dial into the machine you specified with the PHONE_OUT parameter, but
 +
fail the username and password authentication. To make this work add your
 +
username and password to /etc/ppp/pap-secrets or /etc/ppp/chap-secrets as if you
 +
were configuring a normal analogous PPP link, depending on which protocol your
 +
ISP uses for authentication. If in doubt, put your data into both files.
  
If you set up everything correctly, you should now be able to establish a dial-up connection with
+
If you set up everything correctly, you should now be able to establish a
 +
dial-up connection with
 
  isdnctrl dial ippp0
 
  isdnctrl dial ippp0
 
as root. If you have any problems, remember to check the logfiles!
 
as root. If you have any problems, remember to check the logfiles!
Line 295: Line 465:
 
====DSL (PPPoE)====
 
====DSL (PPPoE)====
  
These instructions are relevant to you only if your PC itself is supposed to manage the connection to your ISP. You do not need to do anything but define a correct default gateway if you are using a separate router of some sort to do the grunt work.
+
These instructions are relevant to you only if your PC itself is supposed to
 +
manage the connection to your ISP. You do not need to do anything but define a
 +
correct default gateway if you are using a separate router of some sort to do
 +
the grunt work.
  
Before you can use your DSL online connection, you will have to physically install the network card that is supposed to be connected to the DSL-Modem into your computer. After adding your newly installed network card to the modules.conf/modprobe.conf or the MODULES array, you should install the rp-pppoe package and run the pppoe-setup script to configure your connection. After you have entered all the data, you can connect and disconnect your line with
+
Before you can use your DSL online connection, you will have to physically
 +
install the network card that is supposed to be connected to the DSL-Modem into
 +
your computer. After adding your newly installed network card to the
 +
modules.conf/modprobe.conf or the MODULES array, you should install the rp-pppoe
 +
package and run the pppoe-setup script to configure your connection. After you
 +
have entered all the data, you can connect and disconnect your line with
  
 
  /etc/rc.d/adsl start
 
  /etc/rc.d/adsl start
Line 305: Line 483:
 
  /etc/rc.d/adsl stop
 
  /etc/rc.d/adsl stop
  
respectively. The setup usually is rather easy and straightforward, but feel free to read the manpages for hints. If you want to automatically dial in on boot-up, add adsl to your DAEMONS array.
+
respectively. The setup usually is rather easy and straightforward, but feel
 +
free to read the manpages for hints. If you want to automatically dial in on
 +
boot-up, add adsl to your DAEMONS array.
  
 
==Update, Sync and Upgrade the system with [[pacman]]==
 
==Update, Sync and Upgrade the system with [[pacman]]==
Now we will update the system using [[pacman]], the package manager of Arch Linux. Pacman is fast, simple, and extremely powerful. It manages your entire package system and allows installation, package removal, package downgrade (through cache), custom compiled package handling, automatic dependency resolution, and much more.
+
Sekarang kita akan memperbaharui sistem menggunakan [[pacman]]. Pacman adalah ''package manager'' bagi Arch Linux. Pacman adalah ''Package Manager'' yang cepat, simpel, dan tangguh. Dia mengelola seluruh sistem package sistem anda, dan memungkinkan adanya proses instalasi, ''downgrade'' (melalui cache),kompilasi package custom, pengaturan dependencies secara otomatis, dan banyak kemampuan lainnya.
 
    
 
    
Update, sync, and '''upgrade''' your entire new system with:
+
''Update'', ''sync'', dan '''upgrade''' sistem anda dengan:
 
  pacman -Syu
 
  pacman -Syu
pacman will now fetch the latest information about available packages and perform all available upgrades. (You may be prompted to upgrade pacman itself at this point. If so, say yes, and then reissue the pacman -Syu command when finished.)
+
pacman akan mengunduh informasi terbaru yang tersedia terkait semua package dan melakukan proses ''upgrade'' jika ada. Anda kemungkinan akan mendapatkan permintaan untuk meng''upgrade'' pacman, ketikkan "y" dan jalankan pacman -Syu jika sudah selesai.
  
=====''Take note as to whether a kernel upgrade is occurring!''=====
+
=====''Perhatikan pesan yang muncul ketika terjadi proses ''upgrading'' kernel!''=====
  
If the kernel is upgraded, modules such as nvidia will be rendered inoperable, since the new, upgraded versions will be built against the newer kernel, and your system is currently using an older one. A reboot will be necessary.
+
If the kernel is upgraded, modules such as nvidia will be rendered inoperable,
 +
since the new, upgraded versions will be built against the newer kernel, and
 +
your system is currently using an older one. A reboot will be necessary.
  
 
=====The beauty of the rolling release=====
 
=====The beauty of the rolling release=====
Keep in mind that Arch is a '''rolling release''' distribution. This means there is never a reason to reinstall or perform elaborate system rebuilds to upgrade to the newest version. Simply issuing '''pacman -Syu''' periodically keeps your entire system up-to-date and on the bleeding edge. At the end of this upgrade, your system is completely current.
+
Keep in mind that Arch is a '''rolling release''' distribution. This means there
 +
is never a reason to reinstall or perform elaborate system rebuilds to upgrade
 +
to the newest version. Simply issuing '''pacman -Syu''' periodically keeps your
 +
entire system up-to-date and on the bleeding edge. At the end of this upgrade,
 +
your system is completely current.
  
 
=====Get familiar with pacman=====
 
=====Get familiar with pacman=====
Pacman is the Arch user's best friend. It is highly recommended to study and learn how to use the pacman tool. Try:
+
Pacman is the Arch user's best friend. It is highly recommended to study and
 +
learn how to use the pacman tool. Try:
 
  man pacman
 
  man pacman
Check out the bottom of this article, and look up the [[pacman]] wiki entries at your leisure.
+
Check out the bottom of this article, and look up the [[pacman]] wiki entries at
 +
your leisure.
  
  
  
 
===Add a user and setup groups===
 
===Add a user and setup groups===
You should not do your everyday work using the root account. It is more than poor practice; it is dangerous. Root is for administrative tasks. Instead, add a normal user account using:
+
You should not do your everyday work using the root account. It is more than
 +
poor practice; it is dangerous. Root is for administrative tasks. Instead, add a
 +
normal user account using:
 
  adduser
 
  adduser
While most default options are safe to use, you may want to add at least audio and wheel to your additional groups.  
+
While most default options are safe to use, you may want to add at least audio
Audio allows your user to use the audio card, while wheel allows switching to the root account with su. Other groups to be added, (separated by a comma) include:
+
and wheel to your additional groups.  
 +
Audio allows your user to use the audio card, while wheel allows switching to
 +
the root account with su. Other groups to be added, (separated by a comma)
 +
include:
  
 
*disk - for managing disks, including USB flash drives and such
 
*disk - for managing disks, including USB flash drives and such
Line 346: Line 539:
 
*lp - for managing printing tasks
 
*lp - for managing printing tasks
  
You may also consider adding optical to your additional groups to enable CD/DVD recording from your user account.
+
You may also consider adding optical to your additional groups to enable CD/DVD
 +
recording from your user account.
  
See the [http://wiki.archlinux.org/index.php/Groups Groups] article to understand what groups you need to be a member of.  
+
See the [http://wiki.archlinux.org/index.php/Groups Groups] article to
 +
understand what groups you need to be a member of.  
 
You may also add your user to the desired groups like so, (as root):
 
You may also add your user to the desired groups like so, (as root):
 
  usermod -aG audio,video,floppy,lp,optical,network,storage,wheel USERNAME
 
  usermod -aG audio,video,floppy,lp,optical,network,storage,wheel USERNAME
Line 354: Line 549:
 
==Installing and configuring Hardware==
 
==Installing and configuring Hardware==
 
===Configure the audio card===
 
===Configure the audio card===
Your audio card should already be working, but you can't hear anything because it is muted by default. Install the alsa-utils  
+
Your audio card should already be working, but you can't hear anything because
 +
it is muted by default. Install the alsa-utils  
 
  pacman -S alsa-utils
 
  pacman -S alsa-utils
 
and use alsamixer to adjust the channels:  
 
and use alsamixer to adjust the channels:  
 
  alsamixer
 
  alsamixer
Unmute the Master and PCM channels by scrolling to them with cursor left/right and pressing '''M'''. Increase the volume levels with the cursor-up key. (70-90 Should be a safe range.) Leave alsamixer by pressing ESC and store the settings with
+
Unmute the Master and PCM channels by scrolling to them with cursor left/right
 +
and pressing '''M'''. Increase the volume levels with the cursor-up key. (70-90
 +
Should be a safe range.) Leave alsamixer by pressing ESC and store the settings
 +
with
 
  alsactl store
 
  alsactl store
If you plan on using a desktop environment such as GNOME or KDE and would prefer that alsa remember your settings when you change them, do not execute the above command--your volume settings will be remembered automatically.
+
If you plan on using a desktop environment such as GNOME or KDE and would prefer
Add alsa to your DAEMONS section in /etc/rc.conf to automatically restore the mixer on boot-up.
+
that alsa remember your settings when you change them, do not execute the above
 +
command--your volume settings will be remembered automatically.
 +
Add alsa to your DAEMONS section in /etc/rc.conf to automatically restore the
 +
mixer on boot-up.
 
  nano /etc/rc.conf
 
  nano /etc/rc.conf
  
Line 367: Line 569:
  
 
===Configuring CPU frequency scaling===
 
===Configuring CPU frequency scaling===
Modern processors can decrease their frequency and voltage to reduce heat and power consumption. Less heat leads to a quieter system; even a desktop system will benefit from it. Install cpufrequtils with
+
Modern processors can decrease their frequency and voltage to reduce heat and
 +
power consumption. Less heat leads to a quieter system; even a desktop system
 +
will benefit from it. Install cpufrequtils with
 
  pacman -S cpufrequtils
 
  pacman -S cpufrequtils
and add cpufreq to your daemons in /etc/rc.conf. Edit the config file /etc/conf.d/cpufreq and change  
+
and add cpufreq to your daemons in /etc/rc.conf. Edit the config file
 +
/etc/conf.d/cpufreq and change  
 
  governor="conservative"
 
  governor="conservative"
which dynamically increases the CPU frequency if needed (which is a safe choice on desktop systems too). Alter min_freq and max_freq to match your system's CPU spec. If you don't know the frequencies, run ''cpufreq-info'' after loading one of the frequency scaling modules.  Add the frequency scaling modules to your /etc/rc.conf modules line. Most modern notebooks and desktops can simply use the ''acpi-cpufreq'' driver, however other options include the ''p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino'' drivers. Load the module with
+
which dynamically increases the CPU frequency if needed (which is a safe choice
 +
on desktop systems too). Alter min_freq and max_freq to match your system's CPU
 +
spec. If you don't know the frequencies, run ''cpufreq-info'' after loading one
 +
of the frequency scaling modules.  Add the frequency scaling modules to your
 +
/etc/rc.conf modules line. Most modern notebooks and desktops can simply use the
 +
''acpi-cpufreq'' driver, however other options include the ''p4-clockmod,
 +
powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino'' drivers. Load
 +
the module with
 
  modprobe <modulname>  
 
  modprobe <modulname>  
 
and start cpufreq with
 
and start cpufreq with
Line 378: Line 590:
  
 
===Additional tweaks for laptops===
 
===Additional tweaks for laptops===
ACPI support is needed if you want to use some special functions on your notebook (e.g. sleep, sleep when lid is closed, special keys...). Install acpid  
+
ACPI support is needed if you want to use some special functions on your
 +
notebook (e.g. sleep, sleep when lid is closed, special keys...). Install acpid  
 
  pacman -S acpid
 
  pacman -S acpid
 
and add it to the daemons in /etc/rc.conf (acpid). Start it with
 
and add it to the daemons in /etc/rc.conf (acpid). Start it with
 
  /etc/rc.d/acpid start
 
  /etc/rc.d/acpid start
  
More-specific information about Arch Linux on various Laptops can be found at [[:Category:Laptops (English)]]
+
More-specific information about Arch Linux on various Laptops can be found at
 +
[[:Category:Laptops (English)]]
  
 
==Installing and configuring X==
 
==Installing and configuring X==
The X Window System (commonly X11, or just simply X) is a networking and display protocol which provides windowing on bitmap displays. It provides the standard toolkit and protocol to build graphical user interfaces (GUIs) on Unix-like operating systems.
+
The X Window System (commonly X11, or just simply X) is a networking and display
 +
protocol which provides windowing on bitmap displays. It provides the standard
 +
toolkit and protocol to build graphical user interfaces (GUIs) on Unix-like
 +
operating systems.
  
X provides the basic framework, or primitives, for building GUI environments: drawing and moving windows on the screen and interacting with a mouse and/or keyboard. X does not mandate the user interface — individual client programs handle this.  
+
X provides the basic framework, or primitives, for building GUI environments:
 +
drawing and moving windows on the screen and interacting with a mouse and/or
 +
keyboard. X does not mandate the user interface — individual client programs
 +
handle this.  
 
-----
 
-----
 
Now we will install the base Xorg packages using pacman.  
 
Now we will install the base Xorg packages using pacman.  
  
 
As root, do:
 
As root, do:
  pacman -S xorg-server xorg-xkb-utils xorg-xauth xorg-server-utils xorg-xinit xf86-video-vesa xf86-input-mouse xf86-input-keyboard
+
  pacman -S xorg-server xorg-xkb-utils xorg-xauth xorg-server-utils xorg-xinit
(The old xorg group package has been removed. If it reappears, the option to use it will be given here.)
+
xf86-video-vesa xf86-input-mouse xf86-input-keyboard
Now we have the base packages we need for running the X Server. You should add the driver for your graphics card now (e.g. xf86-video-<name>). If you need a list of all '''open-source''' video drivers, do:  
+
(The old xorg group package has been removed. If it reappears, the option to use
 +
it will be given here.)
 +
Now we have the base packages we need for running the X Server. You should add
 +
the driver for your graphics card now (e.g. xf86-video-<name>). If you need a
 +
list of all '''open-source''' video drivers, do:  
 
  pacman -Ss xf86-video | less
 
  pacman -Ss xf86-video | less
 
If you don't know what graphics card you are using, do:
 
If you don't know what graphics card you are using, do:
Line 411: Line 635:
 
*'''xf86-video-i740'''                    Intel i740 video driver
 
*'''xf86-video-i740'''                    Intel i740 video driver
 
*'''xf86-video-i810'''                    Intel i810/i830/i9xx video drivers
 
*'''xf86-video-i810'''                    Intel i810/i830/i9xx video drivers
*'''xf86-video-imstt'''                    Integrated Micro Solutions Twin Turbo vidoe driver
+
*'''xf86-video-imstt'''                    Integrated Micro Solutions Twin Turbo
*'''xf86-video-mga'''                      mga video driver  (Matrox Graphics Adapter)
+
vidoe driver
 +
*'''xf86-video-mga'''                      mga video driver  (Matrox Graphics
 +
Adapter)
 
*'''xf86-video-neomagic'''            neomagic video driver
 
*'''xf86-video-neomagic'''            neomagic video driver
 
*'''xf86-video-nv'''                        nvidia nv video driver
 
*'''xf86-video-nv'''                        nvidia nv video driver
Line 433: Line 659:
 
*'''xf86-video-voodoo    '''              voodoo video driver
 
*'''xf86-video-voodoo    '''              voodoo video driver
  
* Note that the '''vesa''' driver is the most generic, and should work with almost any modern video chipset. If you cannot find a suitable driver for your video chipset, vesa '''should''' work.
+
* Note that the '''vesa''' driver is the most generic, and should work with
 +
almost any modern video chipset. If you cannot find a suitable driver for your
 +
video chipset, vesa '''should''' work.
  
*If you have an nVIDIA or ATI video adapter, you may wish to install the proprietary nVIDIA or ATI drivers. '''Installing proprietary video drivers is covered below''' under "Using proprietary Graphics Driver (nVIDIA, ATI)"
+
*If you have an nVIDIA or ATI video adapter, you may wish to install the
 +
proprietary nVIDIA or ATI drivers. '''Installing proprietary video drivers is
 +
covered below''' under "Using proprietary Graphics Driver (nVIDIA, ATI)"
  
 
Install the appropriate video driver for your video card/onboard video. e.g.:
 
Install the appropriate video driver for your video card/onboard video. e.g.:
Line 443: Line 673:
 
==Create /etc/X11/xorg.conf==
 
==Create /etc/X11/xorg.conf==
 
=====What is /etc/X11/xorg.conf?=====
 
=====What is /etc/X11/xorg.conf?=====
/etc/X11/xorg.conf is the '''main configuration file''' for your '''X''' Window System, the foundation of your '''G'''raphical '''U'''ser '''I'''nterface. It is a plain text file ordered into sections and subsections. Important sections are ''Files, InputDevice, Monitor, Modes, Screen, Device, and ServerLayout''. Sections can appear in any order and there may be more than one section of each kind, for example, if you have more than one monitor, say a video projector and an on board LCD of a notebook.  
+
/etc/X11/xorg.conf is the '''main configuration file''' for your '''X''' Window
 +
System, the foundation of your '''G'''raphical '''U'''ser '''I'''nterface. It is
 +
a plain text file ordered into sections and subsections. Important sections are
 +
''Files, InputDevice, Monitor, Modes, Screen, Device, and ServerLayout''.
 +
Sections can appear in any order and there may be more than one section of each
 +
kind, for example, if you have more than one monitor, say a video projector and
 +
an on board LCD of a notebook.  
 
------
 
------
By default, you will not have an Xorg config file, and with the newest versions of Xorg, you don't need one ''if'' the autodetection ''works satisfactorily'' and you don't need to turn on features such as aiglx and so on. ''Most people will still find that they need to generate a config file, however.''
+
By default, you will not have an Xorg config file, and with the newest versions
 +
of Xorg, you don't need one ''if'' the autodetection ''works satisfactorily''
 +
and you don't need to turn on features such as aiglx and so on. ''Most people
 +
will still find that they need to generate a config file, however.''
  
 
There are several ways of creating /etc/X11/xorg.conf:
 
There are several ways of creating /etc/X11/xorg.conf:
Line 451: Line 690:
 
*The Xorg way to make a basic config file is to run
 
*The Xorg way to make a basic config file is to run
 
  Xorg -configure
 
  Xorg -configure
which will create /root/xorg.conf. Move the generated config file as appropriate, e.g.
+
which will create /root/xorg.conf. Move the generated config file as
 +
appropriate, e.g.
 
  mv /root/xorg.conf.new /etc/X11/xorg.conf
 
  mv /root/xorg.conf.new /etc/X11/xorg.conf
  
*Another way of making an xorg.conf without getting your hands dirty is Arch Linux's own developer tpowa's tool:
+
*Another way of making an xorg.conf without getting your hands dirty is Arch
 +
Linux's own developer tpowa's tool:
 
  hwd -xa
 
  hwd -xa
 
  hwd (to see the various options)
 
  hwd (to see the various options)
  
*The proprietary video drivers also have tools to edit xorg.conf to configure the drivers (see below). These are  
+
*The proprietary video drivers also have tools to edit xorg.conf to configure
 +
the drivers (see below). These are  
 
  aticonfig
 
  aticonfig
 
and
 
and
 
  nvidia-xconfig
 
  nvidia-xconfig
  
However, you should not be a stranger to editing the config file by hand (as this is usually needed to fix various issues from time to time):
+
However, you should not be a stranger to editing the config file by hand (as
 +
this is usually needed to fix various issues from time to time):
  
 
  nano /etc/X11/xorg.conf
 
  nano /etc/X11/xorg.conf
Line 473: Line 716:
 
=====Simple baseline X test=====
 
=====Simple baseline X test=====
  
At this point, you should have xorg installed, with a suitable video driver and an /etc/X11/xorg.conf configuration file. If you want to test your configuration quickly, before installing a complete desktop environment, install '''xterm'''. Xterm is a very simple terminal emulator which runs in the X Server environment. Xterm will allow us to effectively test if your video driver and /etc/X11/xorg.conf are properly configured. Alternatively, you may wish to test if the X autodetection works satisfactorily, in the absence of /etc/X11/xorg.conf.
+
At this point, you should have xorg installed, with a suitable video driver and
 +
an /etc/X11/xorg.conf configuration file. If you want to test your configuration
 +
quickly, before installing a complete desktop environment, install '''xterm'''.
 +
Xterm is a very simple terminal emulator which runs in the X Server environment.
 +
Xterm will allow us to effectively test if your video driver and
 +
/etc/X11/xorg.conf are properly configured. Alternatively, you may wish to test
 +
if the X autodetection works satisfactorily, in the absence of
 +
/etc/X11/xorg.conf.
 
  pacman -S xterm
 
  pacman -S xterm
Edit your /home/username/.xinitrc file, '''as normal user''', to dictate which X Server event is called upon with the 'startx' command:
+
Edit your /home/username/.xinitrc file, '''as normal user''', to dictate which X
 +
Server event is called upon with the 'startx' command:
  
 
  su yourusername
 
  su yourusername
Line 500: Line 751:
 
  # exec fluxbox
 
  # exec fluxbox
  
(Be sure to have only one uncommented line in your ~/.xinitrc ) If you do not have ~/.xinitrc, simply create one with the above information.
+
(Be sure to have only one uncommented line in your ~/.xinitrc ) If you do not
 +
have ~/.xinitrc, simply create one with the above information.
  
 
Start X Server as normal user, with:
 
Start X Server as normal user, with:
 
   
 
   
 
  startx
 
  startx
You should have an xterm session open up. You can exit the X Server with Ctrl+Alt+Backspace, or by typing "exit". If you have problems starting X, you can look for errors in the /var/log/Xorg.0.log file and on the console output of the console you started X from.
+
You should have an xterm session open up. You can exit the X Server with
 +
Ctrl+Alt+Backspace, or by typing "exit". If you have problems starting X, you
 +
can look for errors in the /var/log/Xorg.0.log file and on the console output of
 +
the console you started X from.
  
Now you might want to install a graphical login manager (to avoid having to type startx everytime you start the computer) like [[GDM]] or [[KDM]], but this ''could'' wait, and advanced instructions for Xorg configuration can be found in the [[Xorg]] article.
+
Now you might want to install a graphical login manager (to avoid having to type
 +
startx everytime you start the computer) like [[GDM]] or [[KDM]], but this
 +
''could'' wait, and advanced instructions for Xorg configuration can be found in
 +
the [[Xorg]] article.
  
 
===Adjusting Keyboard Layout===
 
===Adjusting Keyboard Layout===
You may want to change your keyboard layout. To do this edit your /etc/X11/xorg.conf and add these lines in the Input Section (keyboard0) (the example shows a German keyboard layout with no dead keys; alter this to fit your needs).
+
You may want to change your keyboard layout. To do this edit your
 +
/etc/X11/xorg.conf and add these lines in the Input Section (keyboard0) (the
 +
example shows a German keyboard layout with no dead keys; alter this to fit your
 +
needs).
 
         Option          "XkbLayout"    "de"
 
         Option          "XkbLayout"    "de"
 
         Option          "XkbVariant"    "nodeadkeys"
 
         Option          "XkbVariant"    "nodeadkeys"
  
 
===Adjusting Mouse for scroll wheel===
 
===Adjusting Mouse for scroll wheel===
While your mouse should be working out of the box, you may want to use your scroll wheel. Add this to your Input Section (mouse0):
+
While your mouse should be working out of the box, you may want to use your
 +
scroll wheel. Add this to your Input Section (mouse0):
 
         Option      "ZAxisMapping" "4 5 6 7"
 
         Option      "ZAxisMapping" "4 5 6 7"
  
 
===evdev===
 
===evdev===
If you have a modern USB mouse with several thumb buttons and/or functions, you will most likely want to install the evdev mouse driver, which will allow you to exploit the full functionality of your mouse:
+
If you have a modern USB mouse with several thumb buttons and/or functions, you
 +
will most likely want to install the evdev mouse driver, which will allow you to
 +
exploit the full functionality of your mouse:
  
 
  pacman -S xf86-input-evdev
 
  pacman -S xf86-input-evdev
Line 526: Line 790:
 
Find your mouse name:
 
Find your mouse name:
 
  cat /proc/bus/input/devices | egrep "Name"
 
  cat /proc/bus/input/devices | egrep "Name"
Using the mouse name, configure your /etc/X11/xorg.conf InputDevice section accordingly, e.g.:
+
Using the mouse name, configure your /etc/X11/xorg.conf InputDevice section
 +
accordingly, e.g.:
 
  Section "InputDevice"
 
  Section "InputDevice"
 
   Identifier      "Evdev Mouse"
 
   Identifier      "Evdev Mouse"
Line 533: Line 798:
 
   Option          "CorePointer"
 
   Option          "CorePointer"
 
  EndSection
 
  EndSection
You must have only '''one''' "CorePointer" device specified in /etc/X11/xorg.conf, so be sure to comment out any other mouse entries until you feel safe removing the old, unused entries.
+
You must have only '''one''' "CorePointer" device specified in
 +
/etc/X11/xorg.conf, so be sure to comment out any other mouse entries until you
 +
feel safe removing the old, unused entries.
  
Also edit the ServerLayout section to include Evdev Mouse as the CorePointer, e.g.:
+
Also edit the ServerLayout section to include Evdev Mouse as the CorePointer,
 +
e.g.:
 
  Section "ServerLayout"
 
  Section "ServerLayout"
 
     Identifier    "Layout0"
 
     Identifier    "Layout0"
Line 545: Line 813:
 
You may choose to use the proprietary video drivers from nVIDIA or ATI.   
 
You may choose to use the proprietary video drivers from nVIDIA or ATI.   
 
====nVIDIA Graphic Cards====
 
====nVIDIA Graphic Cards====
The nVIDIA proprietary drivers are generally considered to be of excellent quality, and offer superior 3D performance.
+
The nVIDIA proprietary drivers are generally considered to be of excellent
 +
quality, and offer superior 3D performance.
  
Before you configure your Graphics Card you will need to know which driver fits. Arch currently has 3 different drivers that each match a certain subset of Cards:  
+
Before you configure your Graphics Card you will need to know which driver fits.
 +
Arch currently has 3 different drivers that each match a certain subset of
 +
Cards:  
  
 
'''1. nvidia-71xx''' ''for very old Cards like TNT and TNT2''
 
'''1. nvidia-71xx''' ''for very old Cards like TNT and TNT2''
Line 555: Line 826:
 
'''3. nvidia'''      ''newest GPUs after the GF 4''
 
'''3. nvidia'''      ''newest GPUs after the GF 4''
  
Consult the nVIDIA-Homepage to see which one is for you. The difference is only for the installation; Configuration works the same with every driver.
+
Consult the nVIDIA-Homepage to see which one is for you. The difference is only
 +
for the installation; Configuration works the same with every driver.
  
 
Install the appropriate nvidia driver, e.g.:  
 
Install the appropriate nvidia driver, e.g.:  
Line 561: Line 833:
 
At this point, you have 3 choices as to how to proceed.
 
At this point, you have 3 choices as to how to proceed.
  
*'''1.''' If you have no xorg.conf at all, or if you have an existing xorg.conf and want to '''generate a completely new one''' with the nVIDIA utility, back up the old one:
+
*'''1.''' If you have no xorg.conf at all, or if you have an existing xorg.conf
 +
and want to '''generate a completely new one''' with the nVIDIA utility, back up
 +
the old one:
 
  mv /etc/X11/xorg.conf /etc/X11/xorg.old
 
  mv /etc/X11/xorg.conf /etc/X11/xorg.old
 
Then create the new /etc/X11/xorg.conf with
 
Then create the new /etc/X11/xorg.conf with
 
  nvidia-xconfig
 
  nvidia-xconfig
The nvidia-xconfig utility will usually create a very short, streamlined, easy-to-read xorg.conf
+
The nvidia-xconfig utility will usually create a very short, streamlined,
 +
easy-to-read xorg.conf
  
It also has several options which will further specify the contents and options of the xorg.conf file.
+
It also has several options which will further specify the contents and options
 +
of the xorg.conf file.
 
For example,
 
For example,
 
  nvidia-xconfig --composite --add-argb-glx-visuals
 
  nvidia-xconfig --composite --add-argb-glx-visuals
Line 573: Line 849:
 
For more detailed information, see nvidia-xconfig(1).
 
For more detailed information, see nvidia-xconfig(1).
  
*'''2.''' '''Expert Option:''' If you have an existing xorg.conf and want to keep it, edit your xorg manually as needed, and at the very least, adjust your '''Device''' Section by changing Driver "<olddrivername>" to Driver "nvidia".
+
*'''2.''' '''Expert Option:''' If you have an existing xorg.conf and want to
 +
keep it, edit your xorg manually as needed, and at the very least, adjust your
 +
'''Device''' Section by changing Driver "<olddrivername>" to Driver "nvidia".
 
  Section "Device"
 
  Section "Device"
 
      
 
      
 
  Driver  "nvidia"  
 
  Driver  "nvidia"  
*'''3.''' Alternatively, you may choose to keep your existing /etc/X11/xorg.conf, and run:
+
*'''3.''' Alternatively, you may choose to keep your existing
 +
/etc/X11/xorg.conf, and run:
 
  nvidia-xconfig
 
  nvidia-xconfig
which will automatically '''update''' your /etc/X11/xorg.conf for use with the nVIDIA proprietary driver.
+
which will automatically '''update''' your /etc/X11/xorg.conf for use with the
 +
nVIDIA proprietary driver.
  
Some useful tweaking options in the device section are (beware that these may not work on your system):
+
Some useful tweaking options in the device section are (beware that these may
 +
not work on your system):
 
         Option          "RenderAccel" "true"
 
         Option          "RenderAccel" "true"
 
         Option          "NoLogo" "true"
 
         Option          "NoLogo" "true"
Line 587: Line 868:
 
         Option          "EnablePageFlip" "true"
 
         Option          "EnablePageFlip" "true"
  
The nvidia-xconfig utility will automatically place the glx option in your xorg. If you did not use nvidia-xconfig, then you should add this to your module section:
+
The nvidia-xconfig utility will automatically place the glx option in your xorg.
 +
If you did not use nvidia-xconfig, then you should add this to your module
 +
section:
  
 
  Load "glx"
 
  Load "glx"
Double check your /etc/X11/xorg.conf to make sure your default depth, horizontal refresh, vertical refresh, and resolutions are acceptable.
+
Double check your /etc/X11/xorg.conf to make sure your default depth, horizontal
 +
refresh, vertical refresh, and resolutions are acceptable.
  
 
Logout and login.
 
Logout and login.
Line 597: Line 881:
 
  startx
 
  startx
  
Advanced instructions for nvidia configuration can be found in the [[NVIDIA]] article.
+
Advanced instructions for nvidia configuration can be found in the [[NVIDIA]]
 +
article.
  
 
====ATI Graphic Cards====
 
====ATI Graphic Cards====
ATI owners have two options for drivers. If you are unsure which driver to use, please try the open-source one first. The open-source driver will suit most needs along with being generally less problematic.
+
ATI owners have two options for drivers. If you are unsure which driver to use,
 +
please try the open-source one first. The open-source driver will suit most
 +
needs along with being generally less problematic.
  
 
Install the '''proprietary''' ATI Driver with
 
Install the '''proprietary''' ATI Driver with
 
  pacman -S fglrx
 
  pacman -S fglrx
Use the aticonfig tool to modify the xorg.conf. Note: The proprietary driver does not support [[AIGLX]]. To use [[Compiz]] or [[Beryl]] with this driver you would need to use [[XGL]].
+
Use the aticonfig tool to modify the xorg.conf. Note: The proprietary driver
 +
does not support [[AIGLX]]. To use [[Compiz]] or [[Beryl]] with this driver you
 +
would need to use [[XGL]].
  
 
Install the '''open-source''' ATI Driver with
 
Install the '''open-source''' ATI Driver with
 
  pacman -S xf86-video-ati
 
  pacman -S xf86-video-ati
Currently, the performance of the open-source driver is not on par with that of the proprietary one. It also lacks TV-out, dual-link DVI support, and possibly other features. On the other hand, it supports Aiglx and has better dual-head support.
+
Currently, the performance of the open-source driver is not on par with that of
 +
the proprietary one. It also lacks TV-out, dual-link DVI support, and possibly
 +
other features. On the other hand, it supports Aiglx and has better dual-head
 +
support.
  
Advanced instructions for ATI configuration can be found in the [[ATI | ATI wiki]].
+
Advanced instructions for ATI configuration can be found in the [[ATI | ATI
 +
wiki]].
  
 
==Installing and configuring a Desktop Environment ==
 
==Installing and configuring a Desktop Environment ==
If you ask two people what the best Desktop Environment or Window Manager is, you will get six different answers.  
+
If you ask two people what the best Desktop Environment or Window Manager is,
* If you want something  full-featured and similar to Windows and Mac OSX, '''KDE''' is a good choice
+
you will get six different answers.  
* If you want something more minimalist, which follows the K.I.S.S. principle more closely, '''GNOME''' is a good choice
+
* If you want something  full-featured and similar to Windows and Mac OSX,
* If you have an older machine or want something lighter, '''xfce4''' is a good choice, still giving you a complete environment
+
'''KDE''' is a good choice
* If you need something even lighter, '''openbox, fluxbox or fvwm2''' may be right (not to mention all other lightweight window managers like '''windowmaker and twm''').
+
* If you want something more minimalist, which follows the K.I.S.S. principle
 +
more closely, '''GNOME''' is a good choice
 +
* If you have an older machine or want something lighter, '''xfce4''' is a good
 +
choice, still giving you a complete environment
 +
* If you need something even lighter, '''openbox, fluxbox or fvwm2''' may be
 +
right (not to mention all other lightweight window managers like '''windowmaker
 +
and twm''').
 
* If you need something completely different, try '''ion, wmii, or dwm'''.
 
* If you need something completely different, try '''ion, wmii, or dwm'''.
  
 
===Install Fonts===
 
===Install Fonts===
At this point, you may want to install some good-looking fonts, '''before''' installing a desktop environment/window manager. Dejavu and bitstream-vera are nice font sets. For websites, you may want to have the Microsoft fonts too. Install with:
+
At this point, you may want to install some good-looking fonts, '''before'''
 +
installing a desktop environment/window manager. Dejavu and bitstream-vera are
 +
nice font sets. For websites, you may want to have the Microsoft fonts too.
 +
Install with:
 
  pacman -S ttf-ms-fonts ttf-dejavu ttf-bitstream-vera
 
  pacman -S ttf-ms-fonts ttf-dejavu ttf-bitstream-vera
  
 
===GNOME===
 
===GNOME===
 
====About GNOME====
 
====About GNOME====
The '''G'''NU '''N'''etwork '''O'''bject '''M'''odel '''E'''nvironment. The GNOME project provides two things: The GNOME desktop environment, an intuitive and attractive desktop for end-users, and the GNOME development platform, an extensive framework for building applications that integrate into the rest of the desktop.
+
The '''G'''NU '''N'''etwork '''O'''bject '''M'''odel '''E'''nvironment. The
 +
GNOME project provides two things: The GNOME desktop environment, an intuitive
 +
and attractive desktop for end-users, and the GNOME development platform, an
 +
extensive framework for building applications that integrate into the rest of
 +
the desktop.
  
 
====Installation====
 
====Installation====
Line 635: Line 941:
 
It's safe to choose all packages shown.  
 
It's safe to choose all packages shown.  
 
=====Useful DAEMONS for GNOME=====
 
=====Useful DAEMONS for GNOME=====
Recall from above that a daemon is a program that runs in the background, waiting for events to occur and offering services. The '''hal''' daemon, among other things, will automate the mounting of disks, optical drives, and USB drives/thumbdrives for use in the GUI. The '''fam''' daemon will allow real-time representation of file alterations in the GUI, allowing instant access to recently installed programs, or changes in the file system. Both '''hal''' and '''fam''' make life easier for the GNOME user.
+
Recall from above that a daemon is a program that runs in the background,
 +
waiting for events to occur and offering services. The '''hal''' daemon, among
 +
other things, will automate the mounting of disks, optical drives, and USB
 +
drives/thumbdrives for use in the GUI. The '''fam''' daemon will allow real-time
 +
representation of file alterations in the GUI, allowing instant access to
 +
recently installed programs, or changes in the file system. Both '''hal''' and
 +
'''fam''' make life easier for the GNOME user.
  
You may want to install a graphical login manager. For GNOME, the '''gdm''' daemon is a good choice. Install gdm with
+
You may want to install a graphical login manager. For GNOME, the '''gdm'''
 +
daemon is a good choice. Install gdm with
 
  pacman -S gdm
 
  pacman -S gdm
 
You will almost certainly want the '''hal''' and '''fam''' daemons.
 
You will almost certainly want the '''hal''' and '''fam''' daemons.
Line 650: Line 963:
  
 
  DAEMONS=(syslog-ng network crond alsa '''hal fam gdm''')
 
  DAEMONS=(syslog-ng network crond alsa '''hal fam gdm''')
(If you prefer to log into the console and manually start X in the 'Slackware tradition', leave out gdm.)
+
(If you prefer to log into the console and manually start X in the 'Slackware
 +
tradition', leave out gdm.)
  
 
====~/.xinitrc====
 
====~/.xinitrc====
Line 676: Line 990:
 
  # exec fluxbox
 
  # exec fluxbox
  
If you do not have a ~/.xinitrc file, simply create it with the above information. Remember, you must have only one uncommented line in your ~/.xinitrc.  
+
If you do not have a ~/.xinitrc file, simply create it with the above
 +
information. Remember, you must have only one uncommented line in your
 +
~/.xinitrc.  
  
 
Switch to normal user:
 
Switch to normal user:
Line 684: Line 1,000:
 
  startx
 
  startx
  
You may want to install a terminal and an editor. I would recommend gnome-terminal (part of the group gnome-extra) and geany:
+
You may want to install a terminal and an editor. I would recommend
 +
gnome-terminal (part of the group gnome-extra) and geany:
 
  pacman -S geany gnome-terminal
 
  pacman -S geany gnome-terminal
  
Advanced instructions for installing and configuring GNOME can be found in the [[Gnome]] article.
+
Advanced instructions for installing and configuring GNOME can be found in the
 +
[[Gnome]] article.
  
 
====Eye Candy====
 
====Eye Candy====
You may find the default GNOME theme and icons not very attractive. A nice gtk theme is murrine. Install it with
+
You may find the default GNOME theme and icons not very attractive. A nice gtk
 +
theme is murrine. Install it with
 
  pacman -S gtk-engine-murrine
 
  pacman -S gtk-engine-murrine
and select it with System->Preferences->Theme. You can find more themes, icons, and wallpaper at [http://www.gnome-look.org Gnome Look].
+
and select it with System->Preferences->Theme. You can find more themes, icons,
 +
and wallpaper at [http://www.gnome-look.org Gnome Look].
  
 
===KDE===
 
===KDE===
 
====About KDE====
 
====About KDE====
The '''K''' '''D'''esktop '''E'''nvironment. KDE is a powerful Free Software graphical desktop environment for Linux and Unix workstations. It combines ease of use, contemporary functionality, and outstanding graphical design with the technological superiority of UNIX-like operating systems.
+
The '''K''' '''D'''esktop '''E'''nvironment. KDE is a powerful Free Software
 +
graphical desktop environment for Linux and Unix workstations. It combines ease
 +
of use, contemporary functionality, and outstanding graphical design with the
 +
technological superiority of UNIX-like operating systems.
  
 
====Installation====
 
====Installation====
Arch offers several versions of kde: '''kde, kdebase, and KDEmod'''. Choose '''one''' of the following, and continue below with '''"Useful KDE DAEMONS"''':  
+
Arch offers several versions of kde: '''kde, kdebase, and KDEmod'''. Choose
 +
'''one''' of the following, and continue below with '''"Useful KDE DAEMONS"''':  
  
 
'''1.)''' Package '''kde''' is the complete, vanilla KDE, ~300MB.
 
'''1.)''' Package '''kde''' is the complete, vanilla KDE, ~300MB.
 
  pacman -S kde
 
  pacman -S kde
'''2.)''' Package '''kdebase''' is a slimmed-down version with less applications, ~80MB.
+
'''2.)''' Package '''kdebase''' is a slimmed-down version with less
 +
applications, ~80MB.
 
  pacman -S kdebase
 
  pacman -S kdebase
'''3.)''' Lastly, '''KDEmod''' is an Arch Linux exclusive, community-driven system which is modified for extreme performance and modularity. The KDEmod project website can be found at [http://kdemod.ath.cx/ http://kdemod.ath.cx/]. KDEmod is extremely fast, lightweight and responsive, with a pleasing, customized theme.  
+
'''3.)''' Lastly, '''KDEmod''' is an Arch Linux exclusive, community-driven
 +
system which is modified for extreme performance and modularity. The KDEmod
 +
project website can be found at [http://kdemod.ath.cx/ http://kdemod.ath.cx/].
 +
KDEmod is extremely fast, lightweight and responsive, with a pleasing,
 +
customized theme.  
  
To install KDEmod in 5 easy steps, just follow these installation instructions...
+
To install KDEmod in 5 easy steps, just follow these installation
Note: Before you start, please remember to read all of the install messages. They are fairly comprehensive and should solve any upcoming questions after the installation. If you cant scroll back to see all messages, just take a look into /var/log/pacman.log
+
instructions...
 +
Note: Before you start, please remember to read all of the install messages.
 +
They are fairly comprehensive and should solve any upcoming questions after the
 +
installation. If you cant scroll back to see all messages, just take a look into
 +
/var/log/pacman.log
 
    
 
    
 
*1. Add the kdemod repo to your /etc/pacman.conf:
 
*1. Add the kdemod repo to your /etc/pacman.conf:
Line 720: Line 1,053:
 
for 64 bit Arch.
 
for 64 bit Arch.
  
*2. You must also activate the [community] repository in /etc/pacman.conf because KDEmod needs some packages from this repository. Make sure the following lines are uncommented:
+
*2. You must also activate the [community] repository in /etc/pacman.conf
 +
because KDEmod needs some packages from this repository. Make sure the following
 +
lines are uncommented:
 
  [community]
 
  [community]
 
  Include = /etc/pacman.d/community
 
  Include = /etc/pacman.d/community
  
  
*3. Update your package database with pacman -Syu. Now you can choose between two installations:
+
*3. Update your package database with pacman -Syu. Now you can choose between
 +
two installations:
  
 
         pacman -S kdemod  ''- installs a light base system''
 
         pacman -S kdemod  ''- installs a light base system''
 
         pacman -S kdemod-complete  ''- installs the full KDE desktop''
 
         pacman -S kdemod-complete  ''- installs the full KDE desktop''
  
If you encounter any errors or conflicts at this step, check pacmans output, and if there are some unsolvable problems, tell us about them at the forums.
+
If you encounter any errors or conflicts at this step, check pacmans output, and
*4. Install your localization. Take a look at the list of packages or simply do a pacman -Ss kdemod-kde-i18n to see which of them are already included.
+
if there are some unsolvable problems, tell us about them at the forums.
 +
*4. Install your localization. Take a look at the list of packages or simply do
 +
a pacman -Ss kdemod-kde-i18n to see which of them are already included.
  
*5. Install all the extra apps you want. You can check out all available KDEmod packages by entering pacman -Sl kdemod
+
*5. Install all the extra apps you want. You can check out all available KDEmod
 +
packages by entering pacman -Sl kdemod
  
 
====Useful KDE DAEMONS====
 
====Useful KDE DAEMONS====
  
KDE will require the '''hal''' ('''H'''ardware '''A'''bstraction '''L'''ayer) and '''fam''' ('''F'''ile '''A'''lteration '''M'''onitor) daemons. The '''kdm''' daemon is the '''K''' '''D'''isplay '''M'''anager, which provides a '''graphical login''', if desired.
+
KDE will require the '''hal''' ('''H'''ardware '''A'''bstraction '''L'''ayer)
 +
and '''fam''' ('''F'''ile '''A'''lteration '''M'''onitor) daemons. The '''kdm'''
 +
daemon is the '''K''' '''D'''isplay '''M'''anager, which provides a '''graphical
 +
login''', if desired.
  
Recall from above that a daemon is a program that runs in the background, waiting for events to occur and offering services. The hal daemon, among other things, will automate the mounting of disks, optical drives, and USB drives/thumbdrives for use in the GUI. The fam daemon will allow real-time representation of file alterations in the GUI, allowing instant access to recently installed programs, or changes in the file system.. Both '''hal''' and '''fam''' make life easier for the KDE user, and are installed when you install KDE.
+
Recall from above that a daemon is a program that runs in the background,
 +
waiting for events to occur and offering services. The hal daemon, among other
 +
things, will automate the mounting of disks, optical drives, and USB
 +
drives/thumbdrives for use in the GUI. The fam daemon will allow real-time
 +
representation of file alterations in the GUI, allowing instant access to
 +
recently installed programs, or changes in the file system.. Both '''hal''' and
 +
'''fam''' make life easier for the KDE user, and are installed when you install
 +
KDE.
  
 
Start hal and fam:
 
Start hal and fam:
Line 749: Line 1,098:
 
Edit your DAEMONS section in /etc/rc.conf:
 
Edit your DAEMONS section in /etc/rc.conf:
 
  nano /etc/rc.conf
 
  nano /etc/rc.conf
Add '''hal''' and '''fam''' to your DAEMONS section, to start them on bootup. If you prefer a graphical login, add '''kdm''' as well:  
+
Add '''hal''' and '''fam''' to your DAEMONS section, to start them on bootup. If
 +
you prefer a graphical login, add '''kdm''' as well:  
 
  DAEMONS=(syslog-ng network crond alsa '''hal fam kdm''')
 
  DAEMONS=(syslog-ng network crond alsa '''hal fam kdm''')
(If you prefer to log into the '''console''' and manually start X in the 'Slackware tradition', leave out kdm.)
+
(If you prefer to log into the '''console''' and manually start X in the
 +
'Slackware tradition', leave out kdm.)
  
 
=====~/.xinitrc=====
 
=====~/.xinitrc=====
Line 772: Line 1,123:
 
  # exec blackbox
 
  # exec blackbox
 
  # exec fluxbox
 
  # exec fluxbox
If you do not have a ~/.xinitrc file, simply create it with the above information. Remember, you must have only '''one''' uncommented line in your ~/.xinitrc.
+
If you do not have a ~/.xinitrc file, simply create it with the above
 +
information. Remember, you must have only '''one''' uncommented line in your
 +
~/.xinitrc.
  
 
Switch to your normal user:
 
Switch to your normal user:
Line 779: Line 1,132:
 
  startx
 
  startx
  
Congratulations! Welcome to your KDE desktop environment on your new Arch Linux system! You may wish to continue by viewing [[Post Installation Tips]], or the rest of the information below.
+
Congratulations! Welcome to your KDE desktop environment on your new Arch Linux
Advanced instructions for installing and configuring KDE can be found in the [[KDE]] article.
+
system! You may wish to continue by viewing [[Post Installation Tips]], or the
 +
rest of the information below.
 +
Advanced instructions for installing and configuring KDE can be found in the
 +
[[KDE]] article.
  
 
===Xfce===
 
===Xfce===
 
====About Xfce====
 
====About Xfce====
Xfce is a Desktop Environment, like GNOME or KDE. It contains a suite of apps like a root window app, window manager, file manager, panel, etc. Xfce is written using the GTK2 toolkit and contains its own development environment (libraries, daemons, etc) similar to other big DEs. Unlike GNOME or KDE, Xfce is lightweight and designed more around CDE than Windows or Mac. It has a much slower development cycle, but is very stable and extremely fast. Xfce is great for older hardware.
+
Xfce is a Desktop Environment, like GNOME or KDE. It contains a suite of apps
 +
like a root window app, window manager, file manager, panel, etc. Xfce is
 +
written using the GTK2 toolkit and contains its own development environment
 +
(libraries, daemons, etc) similar to other big DEs. Unlike GNOME or KDE, Xfce is
 +
lightweight and designed more around CDE than Windows or Mac. It has a much
 +
slower development cycle, but is very stable and extremely fast. Xfce is great
 +
for older hardware.
  
 
====Installation====
 
====Installation====
Line 790: Line 1,152:
 
  pacman -S xfce4 xfce4-goodies  
 
  pacman -S xfce4 xfce4-goodies  
  
If you use kdm or gdm a new xfce session should have appeared. Alternatively, you can use
+
If you use kdm or gdm a new xfce session should have appeared. Alternatively,
 +
you can use
 
  startxfce4
 
  startxfce4
 
   
 
   
Advanced instructions for installing and configuring Xfce can be found in the [[Xfce]] article.
+
Advanced instructions for installing and configuring Xfce can be found in the
 +
[[Xfce]] article.
  
 
===*box===
 
===*box===
 
====Fluxbox====
 
====Fluxbox====
 
Fluxbox © is yet another windowmanager for X.
 
Fluxbox © is yet another windowmanager for X.
It's based on the Blackbox 0.61.1 code. Fluxbox looks like blackbox and handles styles, colors, window placement and similar things exactly like blackbox (100% theme/style compability).
+
It's based on the Blackbox 0.61.1 code. Fluxbox looks like blackbox and handles
 +
styles, colors, window placement and similar things exactly like blackbox (100%
 +
theme/style compability).
  
 
Install Fluxbox using  
 
Install Fluxbox using  
 
  pacman -S fluxbox fluxconf
 
  pacman -S fluxbox fluxconf
  
If you use gdm/kdm a new fluxbox session will be automatically added. Otherwise, you should modify your user's .xinitrc and add this to it:
+
If you use gdm/kdm a new fluxbox session will be automatically added. Otherwise,
 +
you should modify your user's .xinitrc and add this to it:
 
  exec startfluxbox  
 
  exec startfluxbox  
  
Line 811: Line 1,178:
 
Openbox is a standards compliant, fast, light-weight, extensible window manager.
 
Openbox is a standards compliant, fast, light-weight, extensible window manager.
  
Openbox works with your applications, and makes your desktop easier to manage. This is because the approach to its development was the opposite of what seems to be the general case for window managers. Openbox was written first to comply with standards and to work properly. Only when that was in place did the team turn to the visual interface.
+
Openbox works with your applications, and makes your desktop easier to manage.
 +
This is because the approach to its development was the opposite of what seems
 +
to be the general case for window managers. Openbox was written first to comply
 +
with standards and to work properly. Only when that was in place did the team
 +
turn to the visual interface.
  
Openbox is fully functional as a stand-alone working environment, or can be used as a drop-in replacement for the default window manager in the GNOME or KDE desktop environments.  
+
Openbox is fully functional as a stand-alone working environment, or can be used
 +
as a drop-in replacement for the default window manager in the GNOME or KDE
 +
desktop environments.  
  
 
Install openbox using
 
Install openbox using
 
  pacman -S openbox obconf obmenu
 
  pacman -S openbox obconf obmenu
  
Once openbox is installed you will get a message to move menu.xml & rc.xml to ~/.config/openbox/ in your home directory:
+
Once openbox is installed you will get a message to move menu.xml & rc.xml to
 +
~/.config/openbox/ in your home directory:
  
 
  mkdir -p ~/.config/openbox/
 
  mkdir -p ~/.config/openbox/
Line 824: Line 1,198:
 
  cp /etc/xdg/openbox/menu.xml ~/.config/openbox/
 
  cp /etc/xdg/openbox/menu.xml ~/.config/openbox/
  
In the file "rc.xml" you can change various settings for Openbox (or you can use OBconf). In "menu.xml" you can change your right-click menu.
+
In the file "rc.xml" you can change various settings for Openbox (or you can use
 +
OBconf). In "menu.xml" you can change your right-click menu.
  
To be able to log into openbox you can either go via graphical login using KDM/GDM or startx, in which case you will need to edit your ~/.xinitrc (as user) and add the following:
+
To be able to log into openbox you can either go via graphical login using
 +
KDM/GDM or startx, in which case you will need to edit your ~/.xinitrc (as user)
 +
and add the following:
  
 
  exec openbox
 
  exec openbox
  
For KDM there is nothing left to do; openbox is listed in the sessions menu in KDM.
+
For KDM there is nothing left to do; openbox is listed in the sessions menu in
 +
KDM.
  
 
Useful programs for openbox are:
 
Useful programs for openbox are:
Line 840: Line 1,218:
  
 
===fvwm2===
 
===fvwm2===
FVWM is an extremely powerful ICCCM-compliant multiple virtual desktop window manager for the X Window system. Development is active, and support is excellent.  
+
FVWM is an extremely powerful ICCCM-compliant multiple virtual desktop window
 +
manager for the X Window system. Development is active, and support is
 +
excellent.  
  
 
Install fvwm2 with
 
Install fvwm2 with
 
  pacman -S fvwm  
 
  pacman -S fvwm  
  
fvwm will automatically be listed in kdm/gdm in the sessions menu. Otherwise, add  
+
fvwm will automatically be listed in kdm/gdm in the sessions menu. Otherwise,
 +
add  
 
  exec fvwm  
 
  exec fvwm  
  
 
to your user's .xinitrc.
 
to your user's .xinitrc.
  
Note that this stable version of fvwm is a few years old. If you want a more recent version of fvwm, there is a fvwm-devel package in the unstable repo.
+
Note that this stable version of fvwm is a few years old. If you want a more
 +
recent version of fvwm, there is a fvwm-devel package in the unstable repo.
  
 
==HAL==
 
==HAL==
Since you have now installed a desktop environment now would be a good time to also install HAL. HAL allows plug-and-play for your mobile phone, your iPod, your external HD's, etc. It will mount the device and make a nice visual icon on your desktop and/or in 'My Computer', allowing you to access the device after you have plugged it in instead of having to manually configure the /etc/fstab file or udev rules for each and every new device.
+
Since you have now installed a desktop environment now would be a good time to
 +
also install HAL. HAL allows plug-and-play for your mobile phone, your iPod,
 +
your external HD's, etc. It will mount the device and make a nice visual icon on
 +
your desktop and/or in 'My Computer', allowing you to access the device after
 +
you have plugged it in instead of having to manually configure the /etc/fstab
 +
file or udev rules for each and every new device.
  
 
KDE, GNOME and XFCE uses HAL.
 
KDE, GNOME and XFCE uses HAL.
Line 861: Line 1,248:
  
 
==Useful Applications==
 
==Useful Applications==
This section will never be complete. It just shows some good applications for the everyday user.  
+
This section will never be complete. It just shows some good applications for
 +
the everyday user.  
 
===Internet===
 
===Internet===
  
Line 868: Line 1,256:
  
 
  pacman -S firefox
 
  pacman -S firefox
Be sure and install 'flashplugin', 'mplayer', 'mplayer-plugin', and the 'codecs' packages for a complete web experience:
+
Be sure and install 'flashplugin', 'mplayer', 'mplayer-plugin', and the 'codecs'
 +
packages for a complete web experience:
 
  pacman -S flashplugin mplayer mplayer-plugin codecs
 
  pacman -S flashplugin mplayer mplayer-plugin codecs
 
(The codecs package contains codecs for Quicktime and Realplayer content.)
 
(The codecs package contains codecs for Quicktime and Realplayer content.)
  
Thunderbird is useful for managing your emails. If you are using GNOME you may want to take a look at Epiphany and Evolution; if you are using KDE Konqueror and KMail could be your choice. If you want something completely different you can still use Opera.  Finally, if you are working on the system console - or in a terminal session - you could use various text-based browsers like ELinks, Links and Lynx, and manage your emails with [[Mutt]]. Pidgin (previously known as Gaim) and Kopete are good instant messengers for GNOME and KDE, respectively. PSI and Gajim are perfect if you are using only Jabber or Google Talk.
+
Thunderbird is useful for managing your emails. If you are using GNOME you may
 +
want to take a look at Epiphany and Evolution; if you are using KDE Konqueror
 +
and KMail could be your choice. If you want something completely different you
 +
can still use Opera.  Finally, if you are working on the system console - or in
 +
a terminal session - you could use various text-based browsers like ELinks,
 +
Links and Lynx, and manage your emails with [[Mutt]]. Pidgin (previously known
 +
as Gaim) and Kopete are good instant messengers for GNOME and KDE, respectively.
 +
PSI and Gajim are perfect if you are using only Jabber or Google Talk.
  
 
===Office===
 
===Office===
OpenOffice is a complete office suite (similar to Microsoft Office). Abiword is a good, small alternative word processor, and Gnumeric an Excel replacement for the GNOME desktop. KOffice is a complete office suite for the KDE Desktop. GIMP (or GIMPShop) is a pixel-based graphics program (similar to Adobe Photoshop), while Inkscape is a vector-based graphics program (like Adobe Illustrator). And, of course, Arch comes with a full set of LaTeX Programs.
+
OpenOffice is a complete office suite (similar to Microsoft Office). Abiword is
 +
a good, small alternative word processor, and Gnumeric an Excel replacement for
 +
the GNOME desktop. KOffice is a complete office suite for the KDE Desktop. GIMP
 +
(or GIMPShop) is a pixel-based graphics program (similar to Adobe Photoshop),
 +
while Inkscape is a vector-based graphics program (like Adobe Illustrator). And,
 +
of course, Arch comes with a full set of LaTeX Programs.
  
 
==Multimedia ==
 
==Multimedia ==
Line 882: Line 1,283:
 
===Video Player===
 
===Video Player===
 
====VLC====
 
====VLC====
VLC Player is a multimedia player for Linux.  To install it, simply type the code below.
+
VLC Player is a multimedia player for Linux.  To install it, simply type the
 +
code below.
  
 
  pacman -S vlc
 
  pacman -S vlc
Line 889: Line 1,291:
  
 
====Mplayer====
 
====Mplayer====
MPlayer is a multimedia player for Linux.  To install it, simply type the code below.
+
MPlayer is a multimedia player for Linux.  To install it, simply type the code
 +
below.
  
 
  pacman -S mplayer
 
  pacman -S mplayer
  
It also has a Mozilla plug-in for videos and streams embedded in web pages.  To install it, simply type the code below.
+
It also has a Mozilla plug-in for videos and streams embedded in web pages.  To
 +
install it, simply type the code below.
  
 
  pacman -S mplayer-plugin
 
  pacman -S mplayer-plugin
  
If you use KDE, KMplayer is a better choice.  It comes with a plug-in for videos and streams embedded in web pages, which works with Konqueror.  To install it, simply type the code below.
+
If you use KDE, KMplayer is a better choice.  It comes with a plug-in for videos
 +
and streams embedded in web pages, which works with Konqueror.  To install it,
 +
simply type the code below.
  
 
  pacman -S kmplayer
 
  pacman -S kmplayer
Line 905: Line 1,311:
 
====GNOME====
 
====GNOME====
 
=====Totem=====
 
=====Totem=====
[http://www.gnome.org/projects/totem/ Totem] is the official movie player of the GNOME desktop environment based on xine-lib or GStreamer (gstreamer is the default which installs with the arch totem package). It features a playlist, a full-screen mode, seek and volume controls, as well as keyboard navigation.
+
[http://www.gnome.org/projects/totem/ Totem] is the official movie player of the
 +
GNOME desktop environment based on xine-lib or GStreamer (gstreamer is the
 +
default which installs with the arch totem package). It features a playlist, a
 +
full-screen mode, seek and volume controls, as well as keyboard navigation.
 
It comes with added functionality such as:
 
It comes with added functionality such as:
  
Line 925: Line 1,334:
 
====KDE====
 
====KDE====
 
=====Kaffeine=====
 
=====Kaffeine=====
Kaffeine is a good option for KDE users.  To install it, simply type the code below.
+
Kaffeine is a good option for KDE users.  To install it, simply type the code
 +
below.
  
 
  pacman -S kaffeine
 
  pacman -S kaffeine
Line 932: Line 1,342:
 
====Gnome/Xfce====
 
====Gnome/Xfce====
 
=====Exaile=====
 
=====Exaile=====
[[Exaile]] is a music player written in Python that makes use of the GTK+ toolkit.
+
[[Exaile]] is a music player written in Python that makes use of the GTK+
 +
toolkit.
 
=====Rhythmbox=====
 
=====Rhythmbox=====
[http://www.gnome.org/projects/rhythmbox/ Rhythmbox] is an integrated music management application, originally inspired by Apple's iTunes. It is free software, designed to work well under the GNOME Desktop, and based on the powerful GStreamer media framework.
+
[http://www.gnome.org/projects/rhythmbox/ Rhythmbox] is an integrated music
 +
management application, originally inspired by Apple's iTunes. It is free
 +
software, designed to work well under the GNOME Desktop, and based on the
 +
powerful GStreamer media framework.
  
 
Rhythmbox has a number of features, including:
 
Rhythmbox has a number of features, including:
Line 947: Line 1,361:
 
  pacman -S rhythmbox
 
  pacman -S rhythmbox
  
Other good audio players are: Banshee, Quodlibet, and Listen. See [http://gnomefiles.org/ Gnomefiles] to compare them.
+
Other good audio players are: Banshee, Quodlibet, and Listen. See
 +
[http://gnomefiles.org/ Gnomefiles] to compare them.
  
 
====KDE====
 
====KDE====
 
=====Amarok=====
 
=====Amarok=====
[http://amarok.kde.org/ Amarok] is one of the best audio players and music library systems available for KDE. To install it, simply type the code below.
+
[http://amarok.kde.org/ Amarok] is one of the best audio players and music
 +
library systems available for KDE. To install it, simply type the code below.
  
 
  pacman -S amarok-base
 
  pacman -S amarok-base
Line 965: Line 1,381:
 
===Codecs and other multimedia content types===
 
===Codecs and other multimedia content types===
 
====DVD====
 
====DVD====
You can use totem-xine, mplayer or kaffeine (just to name three of the big ones) to watch DVDs. The only thing you may miss is libdvdcss. Beware that using it may be illegal in some countries.
+
You can use totem-xine, mplayer or kaffeine (just to name three of the big ones)
 +
to watch DVDs. The only thing you may miss is libdvdcss. Beware that using it
 +
may be illegal in some countries.
  
 
====Flash====
 
====Flash====
Line 979: Line 1,397:
 
The codec for Realplayer 9 is contained in the codecs package. Just type
 
The codec for Realplayer 9 is contained in the codecs package. Just type
 
  pacman -S codecs
 
  pacman -S codecs
to install them. Realplayer 10 is available as a binary package for Linux. You can get it from AUR [http://aur.archlinux.org/packages.php?do_Details=1&ID=1590&O=0&L=0&C=0&K=realplay&SB=&SO=&PP=25&do_MyPackages=0&do_Orphans=0&SeB=nd here].
+
to install them. Realplayer 10 is available as a binary package for Linux. You
 +
can get it from AUR
 +
[http://aur.archlinux.org/packages.php?do_Details=1&ID=1590&O=0&L=0&C=0&K=
 +
realplay&SB=&SO=&PP=25&do_MyPackages=0&do_Orphans=0&SeB=nd here].
  
 
===CD and DVD Burning===
 
===CD and DVD Burning===
 
====GNOME====
 
====GNOME====
 
=====Brasero=====
 
=====Brasero=====
[http://www.gnome.org/projects/brasero/ Brasero] is an application that burns CDs/DVDs for the GNOME Desktop. It is designed to be as simple as possible and has some unique features to enable users to create their discs easily and quickly.
+
[http://www.gnome.org/projects/brasero/ Brasero] is an application that burns
 +
CDs/DVDs for the GNOME Desktop. It is designed to be as simple as possible and
 +
has some unique features to enable users to create their discs easily and
 +
quickly.
  
 
To install:
 
To install:
Line 993: Line 1,417:
 
K3b - '''B'''urn, '''B'''aby, '''B'''urn in '''K'''DE
 
K3b - '''B'''urn, '''B'''aby, '''B'''urn in '''K'''DE
 
-----
 
-----
[http://k3b.plainblack.com/ K3B] - CD/DVD burning application for Linux - optimized for KDE - licensed under the GPL.
+
[http://k3b.plainblack.com/ K3B] - CD/DVD burning application for Linux -
 +
optimized for KDE - licensed under the GPL.
 
To install:
 
To install:
 
  pacman -S k3b
 
  pacman -S k3b
Line 1,009: Line 1,434:
 
  pacman -S cdrkit
 
  pacman -S cdrkit
  
If you install packages for CD/DVD burning applications like Brasero or K3B it also installs the CD/DVD burning library for it, like libburn or cdrkit.
+
If you install packages for CD/DVD burning applications like Brasero or K3B it
 +
also installs the CD/DVD burning library for it, like libburn or cdrkit.
  
 
A good command-line DVD-burning tool is growisofs:
 
A good command-line DVD-burning tool is growisofs:
Line 1,016: Line 1,442:
  
 
===TV-Cards===
 
===TV-Cards===
There are several things to do if you want to watch TV under (Arch) Linux. The most important task is to find out which chip your tuner is using. However, quite a bunch is supported. Be sure to check at a Hardware Database to be sure (e.g. [http://en.opensuse.org/HCL/TV_Cards]). Once you know your Model, there are just a few steps ahead to get you going.
+
There are several things to do if you want to watch TV under (Arch) Linux. The
 +
most important task is to find out which chip your tuner is using. However,
 +
quite a bunch is supported. Be sure to check at a Hardware Database to be sure
 +
(e.g. [http://en.opensuse.org/HCL/TV_Cards]). Once you know your Model, there
 +
are just a few steps ahead to get you going.
  
In most cases, you will need to use the bttv-drivers (other drivers exist, see [http://linux.bytesex.org/v4l2/drivers.html]) together with the I2C-modules. Configuring those is the hardest task. If you are lucky, a
+
In most cases, you will need to use the bttv-drivers (other drivers exist, see
 +
[http://linux.bytesex.org/v4l2/drivers.html]) together with the I2C-modules.
 +
Configuring those is the hardest task. If you are lucky, a
 
  modprobe bttv
 
  modprobe bttv
will autodetect the card (check dmesg for results). In that case, you need only to install an application to watch TV. We will look at that later, though.
+
will autodetect the card (check dmesg for results). In that case, you need only
If the autodetection did not work, you will need to check the file CARDLIST, which is included in the tarball of bttv[http://dl.bytesex.org/releases/video4linux/] to find out the right parameters for your card. A PV951 without radio support would need this line:
+
to install an application to watch TV. We will look at that later, though.
 +
If the autodetection did not work, you will need to check the file CARDLIST,
 +
which is included in the tarball of
 +
bttv[http://dl.bytesex.org/releases/video4linux/] to find out the right
 +
parameters for your card. A PV951 without radio support would need this line:
 
  modprobe bttv card=42 radio=0
 
  modprobe bttv card=42 radio=0
 
Some cards need the following line to produce sound:
 
Some cards need the following line to produce sound:
 
  modprobe tvaudio
 
  modprobe tvaudio
However, that varies. So just try it out. Some other cards demand the following line:
+
However, that varies. So just try it out. Some other cards demand the following
 +
line:
 
  modprobe tuner
 
  modprobe tuner
 
This is object to trial-and-error, too.
 
This is object to trial-and-error, too.
Line 1,035: Line 1,472:
 
and read its manpage.
 
and read its manpage.
  
TODO: clarify some possible problems and procedures. Introduction to XAWTV on another page?
+
TODO: clarify some possible problems and procedures. Introduction to XAWTV on
 +
another page?
  
 
===Digital Cameras===
 
===Digital Cameras===
Most newer digital cameras are supported as USB mass storage devices, which means that you can simply plug it in and copy the images. Older cameras may use the PTP (Picture Transfer Protocol) which requires a "special driver". gPhoto2 provides this driver and allows a shell-based transfer of the images; digikam (for KDE) and gthumb (for GNOME, gtkam would be another choice) use this driver and offer a nice GUI.
+
Most newer digital cameras are supported as USB mass storage devices, which
 +
means that you can simply plug it in and copy the images. Older cameras may use
 +
the PTP (Picture Transfer Protocol) which requires a "special driver". gPhoto2
 +
provides this driver and allows a shell-based transfer of the images; digikam
 +
(for KDE) and gthumb (for GNOME, gtkam would be another choice) use this driver
 +
and offer a nice GUI.
  
 
===USB Memory Sticks / Hard Disks===
 
===USB Memory Sticks / Hard Disks===
USB Memory Sticks and hard disks are supported out of the box with the USB mass storage device driver and will appear as a new SCSI device (/dev/sdX). If you are using KDE or GNOME you should use dbus and hal (add them to your daemons in /etc/rc.conf), and they will be automatically mounted. If you use a different Desktop Environment you may have a look at ivman.
+
USB Memory Sticks and hard disks are supported out of the box with the USB mass
 +
storage device driver and will appear as a new SCSI device (/dev/sdX). If you
 +
are using KDE or GNOME you should use dbus and hal (add them to your daemons in
 +
/etc/rc.conf), and they will be automatically mounted. If you use a different
 +
Desktop Environment you may have a look at ivman.
  
 
==Maintaining the system==
 
==Maintaining the system==
 
===Pacman===
 
===Pacman===
[[Pacman]] is both a binary and source package manager which is able to download, install, and upgrade packages from both remote and local repositories with full dependency handling, and has easy-to-understand tools for crafting your own packages too.
+
[[Pacman]] is both a binary and source package manager which is able to
 +
download, install, and upgrade packages from both remote and local repositories
 +
with full dependency handling, and has easy-to-understand tools for crafting
 +
your own packages too.
  
 
A more-detailed description of Pacman can be found in [[Pacman|its article]].
 
A more-detailed description of Pacman can be found in [[Pacman|its article]].
Line 1,051: Line 1,501:
 
==== Useful commands ====
 
==== Useful commands ====
  
To synchronize and update the local packages database with the remote repositories (it is a good idea to do this before installing and upgrading packages):
+
To synchronize and update the local packages database with the remote
 +
repositories (it is a good idea to do this before installing and upgrading
 +
packages):
 
  pacman -Sy
 
  pacman -Sy
  
Line 1,057: Line 1,509:
 
  pacman -Su
 
  pacman -Su
  
To sync, update, and '''upgrade''' all the packages on the system with one command:
+
To sync, update, and '''upgrade''' all the packages on the system with one
 +
command:
 
  pacman -Syu
 
  pacman -Syu
  
To install or upgrade a single package or list of packages (including dependencies):
+
To install or upgrade a single package or list of packages (including
 +
dependencies):
 
  pacman -S packageA packageB
 
  pacman -S packageA packageB
  
You can also sync, update the package database, and install packages in one command:
+
You can also sync, update the package database, and install packages in one
 +
command:
 
  pacman -Sy packageA packageB
 
  pacman -Sy packageA packageB
  
Line 1,069: Line 1,524:
 
  pacman -R package
 
  pacman -R package
  
To remove a package and all of the package's dependencies which aren't used by any other installed package:
+
To remove a package and all of the package's dependencies which aren't used by
 +
any other installed package:
 
  pacman -Rs package
 
  pacman -Rs package
  
To remove all of the package's dependencies now unneeded and do not make any backup of settings:
+
To remove all of the package's dependencies now unneeded and do not make any
 +
backup of settings:
 
  pacman -Rsn package
 
  pacman -Rsn package
  
To search the remote (repo) package database for a list of packages matching a given keyword:
+
To search the remote (repo) package database for a list of packages matching a
 +
given keyword:
 
  pacman -Ss keyword
 
  pacman -Ss keyword
  
Line 1,084: Line 1,542:
 
  pacman -Q package  
 
  pacman -Q package  
  
To search (query) the local (your machine) package database for a given package and list all pertinent information:
+
To search (query) the local (your machine) package database for a given package
 +
and list all pertinent information:
 
  pacman -Qi package
 
  pacman -Qi package
  
Line 1,096: Line 1,555:
 
  pacman -U packagename.pkg.tar.gz
 
  pacman -U packagename.pkg.tar.gz
  
Note: There are countless additional pacman functions and commands. Try man pacman and consult the [[pacman]] wiki entries.
+
Note: There are countless additional pacman functions and commands. Try man
 +
pacman and consult the [[pacman]] wiki entries.
  
 
==Polishing & Further information==
 
==Polishing & Further information==
If after you have read this you want to do a bit of polishing, head to [[Post Installation Tips]]. For further information and support you can go to the [http://www.archlinux.org homepage], search the wiki, the [http://bbs.archlinux.org forums], the [http://wiki.archlinux.org/index.php/ArchChannel IRC channel], and the [http://www.archlinux.org/mailman/listinfo/ mailing lists].
+
If after you have read this you want to do a bit of polishing, head to [[Post
 +
Installation Tips]]. For further information and support you can go to the
 +
[http://www.archlinux.org homepage], search the wiki, the
 +
[http://bbs.archlinux.org forums], the
 +
[http://wiki.archlinux.org/index.php/ArchChannel IRC channel], and the
 +
[http://www.archlinux.org/mailman/listinfo/ mailing lists].

Revision as of 17:46, 11 January 2010

Tango-preferences-desktop-locale.pngThis article or section needs to be translated.Tango-preferences-desktop-locale.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Beginners' guide (Indonesia)#)

Template:I18n links start Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n links end

Contents

Pendahuluan

=====Segala hal yang ingin kamu tanyakan tentang instalasi Arch Linux, tapi takut untuk menanyakannya.===== Dokumen ini akan membimbing kamu dalam menginstalasi dan mengkonfigurasi Arch Linux. Walau petunjuk ini ditujukan untuk membimbing kamu mendapatkan sistem Arch yang terkonfigurasi seluruhnya (desktop environment, menonton DVD/Video, mendengarkan musik, Internet, mail) namun tidak berisi langkah-langkah terperinci untuk memperoleh sistem yang lengkap. Petunjuk ini difokuskan pada beberapa langkah-langkah penting/dasar saja; jika kamu ingin bahasan yang lebih dalam kamu bisa mengunjungi Arch Linux Wiki atau Arch Linux Forums. Kamu juga bisa membaca [[The Arch Way]] untuk mengetahui prinsip-prinsip dasar Arch Linux.

JANGAN PANIK!

Harap disadari bahwa instalasi Arch Linux mungkin sangat berbeda dengan distro lain yang pernah kamu coba, khususnya bagi pemula. Sistem Arch Linux dibangun oleh pengguna, dari installer, sampai base system dengan hanya menggunakan shell bash dan beberapa tools dasar sistem saja. dari command line, kamu dapat menambahkan paket dari Arch repositories menggunakan pacman melalui sambungan internet, sampai sistem kamu sesuai dengan kebutuhanmu. Dengan hal ini kamu akan mendapatkan sistem yang fleksibel, sesuai pilihan dan dapat kamu kendalikan karena kamu sendiri yang membangunnya, kamu akan mengetahui apa yang ada di dalam sistem kamu.

Jika kamu merasa ada yang kurang dari wiki ini silahkan ditambahkan, atau kamu bisa juga mengunjungi forum Arch ini [http://bbs.archlinux.org/viewtopic.php?t=29055 yang ditujukan untuk pemula.

Selamat datang di Arch! Mari kita mulai :)

Dapatkan ISO terbaru

Kamu dapat mengunduh rilis Arch resmi terbaru dari www.archlinux.org/download/.

Sangat direkomendasikan untuk memilih base-CD, untuk beberapa alasan.

  1. Waktu/bandwidth yang dibutuhkan lebih sedikit untuk kamu dan server,
  2. Paket di versi full mungkin nantinya akan ada yang konflik ketika kamu

melakukan update.

  1. Base system lebih mudah dan cepat untuk up-to-date, dan,
  2. Petunjuk ini lebih ditujukan untuk installasi dari base-CD.

Instalasi sistem dasar

Selain petunjuk ini, kamu juga dapat menggunakan petunjuk resmi ini [[Official Arch Linux Install Guide]] atau [http://www.archlinux.org/static/docs/arch-install-guide.html versi yang dapat di print] juga tersedia.

Boot CD Arch Linux

Masukkan CD dan boot dari CD-ROM, kamu mungkin perlu mengganti urutan boot pada bios komputer kamu (biasanya dengan menekan F11 atau F12).

Beberapa pilihan pada saat booting Arch Linux CD yang dapat kamu gunakan:

  • ide-legacy jika IDE drive kamu bermasalah.
  • noapic acpi=off pci=routeirq nosmp jika sistem kamu hangs ketika boot.
  • memtest86+ if jika kamu ingin memeriksa memorimu.

Pilih "Arch Linux Installation / Rescue System". Jika kamu ingin merubah opsi boot tekan e.

Mengganti keymap

Tekan enter di welcome screen. Jika keyboard kamu non-US tekan

km

pada prompt dan pilih keymap yang sesuai.

Contoh(untuk keymap norwegia) :

Pada console keymap screen pilih

no-latin1

Pada console font screen pilih

lat0-16

Memilih "default8x16.psfu.gz" sebagai font console adalah pilihan aman.

Memulai instalasi

Pada console ketikkan

/arch/setup 

lalu tekan enter untuk memulai instalasi.

Pilih sumber instalasi

Pilih CD jika kamu menggunakan base atau full (current) ISO, atau pilih FTP jika kamu menggunakan FTP ISO.

Menyiapkan Hard Drive

Pada menu pilihann,pilih Prepare Hard Drive. Hati-hati, jika memilih Auto-prepare, seluruh hard drive mu akan dihapus. Pada contoh ini,kita memilih opsi mengatur partisi hard drive secara manual. Pilih 2. Partition Hard Drives, pilih hard drive yang kamu inginkan (/dev/sdx), dan buatlah beberapa partisi.

Partisi

Sebuah partisi adalah bagian dari hard disk yang tampil sebagai ruang yang terpisah, dan dapat ditambahkan ke dalam sistem Arch Linuxmu. Partisi hard disk terbagi ke dalam "Primary", "Extended", dan "Logical". Sebuah partisi "primary" dapat diboot. Jumlah maksimalnya 4. Jadi, jika kamu menggunakan sebuah PC dengan drive SATA, partisi "primary" pertama dikenal sebagai sda1. Partisi "primary" kedua dreferensikan sebagai sda2, kemudian sda3 dan sda4. Jika terdapat lebih dari 4 partisi "primary", maka yang terpaksa digunakan untuk partisi ini adalah "extended", yang dimana partisi ini menampung partisi "logical".

Partisi extended bersifat sebagai "penampung" untuk partisi logical. Partisi logical harus berada dalam partisi extended. Contohnya, ketika mempartisi, kita dapat melihat penomoran partisi dengan memberi nomor sda1-3 pada partisi primary, diikuti dengan nomor sda4 pada partisi extended, kemudian membuat partisi logical dengan penomoran sda5,sda6 dst.

Banyak user memiliki pendapat yang berbeda-beda mengenai bagaimana cara terbaik untuk mempartisi hard disk. Yang perlu diketahui adalah bahwa syarat minimal adalah adanya satu partisi primary yang dijadikan sebagai root Filesystem ( / ) dan satu partisi lagi sebagai swap. Beberapa pilihan lain untuk dipasang pada partisi yang berbeda adalah /boot (yang secara garis besar menampung kernel) dan /home (menampung data user). Adalah ide yang bagus untuk memisahkan root (/) dan /home pada partisi yang berbeda. Ini memungkinkan untuk melakukan instlasi kembali sistem Arch Linux mu, atau distro lainnya, sementara itu data-data dan konfigurasi desktop environment tetap terjaga.

Pada contoh ini, kita akan meletakkan root (/), /home dan swap pada partisi yang berbeda.

Swap Partition

Sebuah partisi swap adalah tempat dalam hard disk yang dapat menampung virtual ram. Partisi swap digunakan ketika jumlah RAM yang dibutuhkan melebihi daya tampung dari memori RAM yang dimiliki mesin anda.

Mengenai ukuran dari partisi swap ini, terdapat beberapa pendapat. Jika kapasitas memory RAM anda besar (lebih besar dari 1024 MB), anda bisa saja tidak menggunakan partisi swap sama sekali. Namun ada pula yang mengusulkan menyediakan ruang bagi partisi swap sebesar 2 kali kapasitas memory RAM mesin anda. Sementara itu ada yang mengusulkan ruang yang dialokasikan tidak lebih dari 1024 MB.

Mari kita mulai dari membuat sebuah primary partition. Partisi ini akan menjadi tempat bagi root. Pilih New -> Primary, kemudian tentukan ukuran yang anda inginkan (ukuran yang umum adalah 4 hingga 8 GB). Letakkan partisi ini pada bagian pertama disk anda. Pilih partisi baru ini dan jadikan partisi ini "Bootable".

Tambahkan partition for your home directory. Untuk partisi ini, pilihlah partisi primary lainnya dan tentukan ukurannya sesuai dengan kebutuhan anda. Ukuran ini tergantung dengan apa yang akan anda simpan dalam partisi tersebut.

Terakhir, ciptakan partisi ketiga yaitu partition for swap. Pilihlah ukuran antara 512 MB dan 1 GB (sebagai contoh dalam tutorial ini), dan ganti tipenya menjadi 82 (Linux swap / Solaris).

Inilah hasil dari pengaturan partisi (ukuran akan tergantung pilihan anda).

Name    Flags  Part Type   FS Type         [Label]         Size (MB)
-------------------------------------------------------------------------
sda1    Boot   Primary     Linux                           (4096 - 8192)
sda2           Primary     Linux                           (> 100)
sda3           Primary     Linux swap / Solaris            (512 - 1024)

Pilih write dan ketikkan yes. Hati-hati, langkah ini akan menghapus data dari hard disk anda jika sebelumnya anda menindih atau menghapus partisi yang ada. Pilih Quit untuk meninggalkan bagian konfigurasi partisi.

Pilih Done untuk keluar dari menu ini dan kita lanjutkan pada "Set Filesystem Mountpoints".

Set File system Mountpoints

Penjelasan singkat mengenai filesystems dan file systems:

Secara teknis, sebuah filesystem adalah format data untuk data throughput, sementara itu file system (dengan spasi), adalah istilah yang menunjukkan tata letak dari seluruh file dan direktori pada sebuah sistem. Jadi, ketika ada pertanyaan apakah anda mau membuat sebuah filesystem, ini berarti anda ditanya untuk memformat sebuah partisi. Sedangkan jika anda ditanya mengenai lokasi mounting sebuah partisi, anda diminta untuk menentukan di lokasi mana pada file system partisi ini akan diletakkan. Mari kita mulai.

Pertama, anda akan ditanya mengenai partisi swap. Pilih lokasi yang sesuai (dalam contoh ini adalah sda3). Anda akan ditanya apakah anda ingin menciptakan sebuah filesystem, pilih yes. Kemudian, tentukan lokasi mounting direktori / (root) (dalam contoh ini adalah sda1). Anda akan ditanya tipe filesystem yang anda inginkan.

Dalam menentukan tipe filesystem, terdapat pula perbedaan pendapat. Masing-masing ada kelebihan dan kekurangannya. Di bawah ini adalah sebuah ringkasan sederhana.

1. ext2 - Lebih tua, filesystem yang dapat dihandalkan. Cepat dan sangat stabil, namun tidak memiliki kemampuan journaling.

2. ext3 - Sama seperti ext2, namun dengan tambahan kemampuan journaling. Agak lambat bila dibandingkan dengan ext2. Swangat stabil, lebih banyak digunakan dan dikembangkan.

3. ReiserFS - Hans Reiser's high-performance journaling FS menggunakan metode yang menarik terkait data throughput. ReiserFS sangat cepat, terutama ketika menangani file-file kecil.

4. JFS - IBM's Journaling FS. JFS cukup dikenal, cepat dan stabil.

5. XFS - adalah journaling filesystem yang cepat dan lebih cocok untuk file dengan ukuran yang besar(lebih besar dari 1 GB). Lebih lambat untuk file berukuran kecil. Cukup stabil.

Perbedaan utamanya dapat dilihat di [http://en.wikipedia.org/wiki/Journaling_file_system journaling].

Semua filesystem menggunakan journaling, kecuali ext2. ext3 kompatibel dengan ext2. Pilihan yang aman untuk sebuah partisi root adalah ext3.

Kemudian buatlah partisi ini denga memilih yes. Anda akan ditanya apakah akan membuat partisi baru.

Pada contoh ini, hanya ada partisi sda2 yang tersisa. Pilih sebuah tipe filesystem, dan mount sebagai /home. Kemudian ciptakan partisi ini dan pilih Done. Kembalilah ke menu utama.

Memilih Packages

Sekarang kita akan memilih packages untuk diinstalasi pada sistem. Pilih CD sebagai sumber. Jika anda memiliki lebih dari satu drive CD, pilih yang memuat CD Archlinux.

Karena tutorial ini ditujukan sebagai instalasi dasar, pilihlah katagori base. Adalah pilihan yang aman untuk mencentang semua package dalam base.

Instalasi Packages

Ini adalah tahapan termudah, karena semua proses berjalan secara otomatis. Buatlah secangkir kopi dan tunggu sampai proses instalasi selesai (tekan tombol "Continue" jika diperlukan). Minumnya jangan kelamaan, karena instalasi sistem dasar Arch Linux hanya berberapa menit saja :P .

Konfigurasi Sistem

Anda akan ditanyakan apakah ingin agar hwdetect mengumpulkan informasi untuk konfigurasi anda. Opsi ini sangat direkomendasikan untuk dipilih. Sekarang anda akan ditanyakan apakah anda butuh support untuk booting dari perangkat USB, perangkat FireWire, perangkat PCMCIA, jaringan NFS, software RAID arrays, LVM2 volumes, and encrypted volumes. Pilih Yes jika anda mebutuhkannya; dalam contoh ini, tidak ada yang diperlukan. Sekarang anda akan ditanya penyunting teks mana yang ingin anda pilih, nano atau vi/vim. Sekarang Anda akan menemukan menu yang penting untuk mengkonfigurasi sistem anda. Kami hanya melakukan perubahan kecil disini. Jika anda ingin tahu opsi apa saja yang terdapat di rc.conf, tekanlah Alt+F2 untuk masuk shell, dan kembali ke installer dengan Alt+F1.

/etc/rc.conf
  • Ubah LOCALE anda jika diperlukan (Misalnya: "de_DE.utf8") (Lokal ini harus

sesuai pada /etc/locale.gen. Lihat di bawah ini.)

  • Ubah zona waktu anda jika diperlukan pada TIMEZONE (e.g. "Asia/Jakarta")
  • Ubah KEYMAP anda jika diperlukan (e.g. "de-latin1-nodeadkeys")
  • Tambahkan bagian MODULES jika anda modul penting yang tidak otomatis

diaktifkan oleh hwdetect

  • Ubah HOSTNAME anda
  • Ubah pengaturan jaringan anda:
    • Jangan ubah lo line
    • Atur IP address, netmask dan broadcast address jika anda menggunakan static IP.
    • Tetapkan eth0="dhcp" jika anda menggunakan metode DHCP dalam menentukan alamat IP anda.
    • Jika anda memiliki static IP, tetapkan gateway address sesuai dengan router anda dan hapuskan ! dari baris ROUTES.
Mengenai DAEMONS

Anda tak perlu mengubah baris daemons saat ini, tapi penting untuk menjelaskan ini, karena kita membutuhkannya di bagian lain panduan ini. mirip dengan service pada Windows, daemon adalah program yang berjalan background untuk melayani program. Salah satu contoh adalah webserver yang menunggu request untuk mengirimkan halaman atau server SSH yang menunggu orang untuk masuk. Selain daemon yang berupa aplikasi yang terlihat nyata layanannya, ada berberapa daemon yang bekerja tanpa terlihat. Contohnya ada daemon yang menulis pesan pada file log (misalnya: syslog, metalog), ada daemon yang menurunkan frekuensi CPU anda jika tak ada yang perlu dilakukan, dan daemon yang menyajikan anda login grafis (misalnya: gdm, kdm). Semua program ini dapat ditambahkan ke baris daemons dan akan dijalankan saat sistem mulai. Daemon-daemon penting akan disajikan dalam panduan ini.

Gunakan Ctrl+X untuk keluar dari editor.

/etc/hosts

Tambahkan hostname yang Anda tambahkan pada rc.conf sebelumnya:

127.0.0.1   localhost.localdomain   localhost yourhostname

Format ini, termasuk entri 'localhost' , diperlukan untuk kompatibilitas. Biasanya menambahkan hostname di akhir baris ini terbilang cukup. Namun, sebagian pengguna merekomendasikan:

127.0.0.1  yourhostname.domain.org localhost.localdomain   localhost 

yourhostname Jika anda menggunakan IP statik, tambahkan baris lain menggunakan sintaks: <ip-statik> hostname.domainname.org hostname, e.g.:

192.168.1.100 yourhostname.domain.org  yourhostname
/etc/fstab, mkinitcpio.conf and modprobe.conf

Kita tidak perlu mengubah mkinitcpio.conf, or modprobe.conf saat ini. mkinitcpio mengatur ramdisk (misalnya: booting dari RAID, partisi terenkripsi), dan modprobe dapat digunakan untuk mengatur berberapa konfigurasi khusus pada modul-modul).

Jika anda berencana menggunakan HAL daemon untuk mengautomatisasi pengaitan partisi-partisi, perangkat optik, perangkat USB, dll, Anda mungkin berkeinginan untuk mengubah /etc/fstab dengan menghilangkan tanda pagar (#) pada entri untuk cdrom, floppy, and dvd.

/etc/resolv.conf (for Static IP)

If you use a static IP, set your DNS servers in /etc/resolv.conf (nameserver <ip-address>). You may have as many as you wish.

Jika anda menggunakan router, Anda mungkin ingin mengarahkan server DNS ke router anda (dimana juga merupakan gateway anda di /etc/rc.conf), misalnya:

nameserver 192.168.1.1

Selanjutnya, tambahkan server-server yang anda inginkan satu-per-satu. Misalnya:

nameserver 4.2.2.1
nameserver 4.2.2.2
/etc/locale.gen

Pilih locale sesuai yang anda butuhkan (dengan menghapus # dari baris locale yang anda pilih) contoh:

en_US ISO-8859-1
en_US.UTF-8	

(Locale yang anda pilih harus sama dengan yang anda tentukan pada file /etc/rc.conf)

Root password

Tetapkan password bagi user root. Kemudian kembali ke menu utama dan lanjutkan dengan proses instalasi kernel.

Instalasi Kernel

Tidak banyak pilihan disini. Pilih saja v2.6 dan lanjutkan.

Instalasi Bootloader

Karena dalam contoh ini, tidak terdapat sistem operasi lainnya pada mesin ini, kita membutuhkan sebuah bootloader. GNU GRUB adalah bootloader yang direkomendasikan. Sebagai alternatif, anda dapat memilih LILO.

Konfigurasi default terhadap GRUB sudah mencukupi. Namun, salah satu hal yang mungkin ingin anda ubah adalah resolusi console. Jika anda hendak merubah resolusi console, tambahkan vga=<jumlah> pada baris pertama kernel. Contoh dari file /boot/grub/menu.lst:

title  Arch Linux (Main)
root   (hd0,0)
kernel /boot/vmlinuz26 root=/dev/sda1 ro vga=773
initrd /boot/kernel26.img

Dengan memilih "vga=773" berarti ukuran resolusi sebesar 1024x768 dan color depth sebesar 256.

Keluar dari proses instalasi dan reboot.

Jika semua berjalan lancar, sistem Arch Linux baru anda akan di boot. Selamat datang pada sistem baru anda.

Konfigurasi lebih lanjut sistem dasar Arch Linux

Dari titik ini, anda dapat mengatur lebih lanjut sistem dasar Arch Linux anda.


Login sebagai root. Kita akan mengatur pacman dan memperbaharui sistem.

Konfigurasi pacman

Edit /etc/pacman.conf:

nano -w /etc/pacman.conf

dan hilangkan # dari baris "Include = /etc/pacman.d/community" dan "[community]". Pada repositori ini terdapat banyak aplikasi yang bermanfaat.

Sekarang bukalah /etc/pacman.d/mirrorlist:

 nano /etc/pacman.d/mirrorlist

dan pilihlah lokasi mirror terdekat dengan anda.

Konfigurasi network jika dibutuhkan

Jika semua berjalan lancar, maka sekarang seharusnya anda memiliki jaringan yang bekerja. Cobalah memping www.google.com untuk memastikan ini.

ping -c 3 www.google.com

Jika jaringan anda sudah berjalan, lanjutkan ke proses "Update, Sync dan Upgrade dengan pacman".

Namun jika setelah melakukan ping di atas anda mendapatkan pesan "unknown host", dapat disimpulkan bahwa jaringan belum berjalan. Anda dapat melihat berkas berikut dan atur konfigurasinya:

/etc/rc.conf # terutama periksa bagian HOSTNAME= dan NETWORKING

/etc/hosts # Lihat format penulisannya.

/etc/resolv.conf # Jika anda menggunakan static IP. Jika menggunakan DHCP, berkas ini akan dibuat dan dihapus secara otomatis,tapi hal ini dapat diubah sesuai dengan keinginan anda. (Lihat Network.)

Petunjuk pengaturan lebih terperinci dapat dilihat pada artikel Network.

Wired LAN

Periksa Ethernet anda menggunakan perintah:

ifconfig

Anda akan melihat baris untuk eth0. Jika diperlukan, anda dapat mengatur konfigurasi static IP:

ifconfig eth0 <ip address> netmask <netmask> up 

dan default gateway

route add default gw <ip address gateway>

periksa apakah /etc/resolv.conf memuat DNS server anda. Tambahkan jika tidak ada.

Periksa kembali jaringan anda dengan:

ping -c 3 www.google.com

Jika semua berjalan lancar, atur kembali /etc/rc.conf sesuai dengan pada bagian 2.6 (static IP). Jika anda memiliki server/router DHCP, cobalah:

dhcpcd eth0

Jika perintah ini berjalan, aturlah /etc/rc.conf seperti yang dijelaskan pada bagian 2.6 (dynamic IP).

Wireless LAN

Wireless Setup (TODO) Simplify and generalize it, link only for more-advanced stuff

Analog Modem

To be able to use a Hayes-compatible, external, analog modem, you need to at least have the ppp package installed. Modify the file /etc/ppp/options to suit your needs and according to man pppd. You will need to define a chat script to supply your username and password to the ISP after the initial connection has been established. The manpages for pppd and chat have examples in them that should suffice to get a connection up and running if you're either experienced or stubborn enough. With udev, your serial ports usually are /dev/tts/0 and /dev/tts/1. Tip: Read Dialup without a dialer HOWTO.

Instead of fighting a glorious battle with the plain pppd, you may opt to install wvdial or a similar tool to ease the setup process considerably. In case you're using a so-called WinModem, which is basically a PCI plugin card working as an internal analog modem, you should indulge in the vast information found on the LinModem homepage.

ISDN

Setting up ISDN is done in three steps:

  1. Install and configure hardware
  2. Install and configure the ISDN utilities
  3. Add settings for your ISP

The current Arch stock kernels include the necessary ISDN modules, meaning that you won't need to recompile your kernel unless you're about to use rather odd ISDN hardware. After physically installing your ISDN card in your machine or plugging in your USB ISDN-Box, you can try loading the modules with modprobe. Nearly all passive ISDN PCI cards are handled by the hisax module, which needs two parameters: type and protocol. You must set protocol to '1' if your country uses the 1TR6 standard, '2' if it uses EuroISDN (EDSS1), '3' if you're hooked to a so-called leased-line without D-channel, and '4' for US NI1.

Details on all those settings and how to set them is included in the kernel documentation, more specifically in the isdn subdirectory, and available online. The type parameter depends on your card; a list of all possible types can be found in the README.HiSax kernel documentation. Choose your card and load the module with the appropriate options like this:

modprobe hisax type=18 protocol=2

This will load the hisax module for my ELSA Quickstep 1000PCI, being used in Germany with the EDSS1 protocol. You should find helpful debugging output in your /var/log/everything.log file, in which you should see your card being prepared for action. Please note that you will probably need to load some USB modules before you can work with an external USB ISDN Adapter.

Once you have confirmed that your card works with certain settings, you can add the module options to your /etc/modprobe.conf:

alias ippp0 hisax
options hisax type=18 protocol=2

Alternatively, you can add only the options line here, and add hisax to your MODULES array in the rc.conf. It's your choice, really, but this example has the advantage that the module will not be loaded until it's really needed.

That being done, you should have working, supported hardware. Now you need the basic utilities to actually use it!

Install the isdn4k-utils package, and read the manpage to isdnctrl; it'll get you started. Further down in the manpage you will find explanations on how to create a configuration file that can be parsed by isdnctrl, as well as some helpful setup examples. Please note that you have to add your SPID to your MSN setting separated by a colon if you use US NI1.

After you have configured your ISDN card with the isdnctrl utility, you should be able to dial into the machine you specified with the PHONE_OUT parameter, but fail the username and password authentication. To make this work add your username and password to /etc/ppp/pap-secrets or /etc/ppp/chap-secrets as if you were configuring a normal analogous PPP link, depending on which protocol your ISP uses for authentication. If in doubt, put your data into both files.

If you set up everything correctly, you should now be able to establish a dial-up connection with

isdnctrl dial ippp0

as root. If you have any problems, remember to check the logfiles!

DSL (PPPoE)

These instructions are relevant to you only if your PC itself is supposed to manage the connection to your ISP. You do not need to do anything but define a correct default gateway if you are using a separate router of some sort to do the grunt work.

Before you can use your DSL online connection, you will have to physically install the network card that is supposed to be connected to the DSL-Modem into your computer. After adding your newly installed network card to the modules.conf/modprobe.conf or the MODULES array, you should install the rp-pppoe package and run the pppoe-setup script to configure your connection. After you have entered all the data, you can connect and disconnect your line with

/etc/rc.d/adsl start

and

/etc/rc.d/adsl stop

respectively. The setup usually is rather easy and straightforward, but feel free to read the manpages for hints. If you want to automatically dial in on boot-up, add adsl to your DAEMONS array.

Update, Sync and Upgrade the system with pacman

Sekarang kita akan memperbaharui sistem menggunakan pacman. Pacman adalah package manager bagi Arch Linux. Pacman adalah Package Manager yang cepat, simpel, dan tangguh. Dia mengelola seluruh sistem package sistem anda, dan memungkinkan adanya proses instalasi, downgrade (melalui cache),kompilasi package custom, pengaturan dependencies secara otomatis, dan banyak kemampuan lainnya.

Update, sync, dan upgrade sistem anda dengan:

pacman -Syu

pacman akan mengunduh informasi terbaru yang tersedia terkait semua package dan melakukan proses upgrade jika ada. Anda kemungkinan akan mendapatkan permintaan untuk mengupgrade pacman, ketikkan "y" dan jalankan pacman -Syu jika sudah selesai.

Perhatikan pesan yang muncul ketika terjadi proses upgrading kernel!

If the kernel is upgraded, modules such as nvidia will be rendered inoperable, since the new, upgraded versions will be built against the newer kernel, and your system is currently using an older one. A reboot will be necessary.

The beauty of the rolling release

Keep in mind that Arch is a rolling release distribution. This means there is never a reason to reinstall or perform elaborate system rebuilds to upgrade to the newest version. Simply issuing pacman -Syu periodically keeps your entire system up-to-date and on the bleeding edge. At the end of this upgrade, your system is completely current.

Get familiar with pacman

Pacman is the Arch user's best friend. It is highly recommended to study and learn how to use the pacman tool. Try:

man pacman

Check out the bottom of this article, and look up the pacman wiki entries at your leisure.


Add a user and setup groups

You should not do your everyday work using the root account. It is more than poor practice; it is dangerous. Root is for administrative tasks. Instead, add a normal user account using:

adduser

While most default options are safe to use, you may want to add at least audio and wheel to your additional groups. Audio allows your user to use the audio card, while wheel allows switching to the root account with su. Other groups to be added, (separated by a comma) include:

  • disk - for managing disks, including USB flash drives and such
  • storage - for managing storage devices
  • video - for managing video tasks
  • optical - for managing tasks pertaining to the optical drive(s)
  • floppy - for access to a floppy if necessary
  • lp - for managing printing tasks

You may also consider adding optical to your additional groups to enable CD/DVD recording from your user account.

See the Groups article to understand what groups you need to be a member of. You may also add your user to the desired groups like so, (as root):

usermod -aG audio,video,floppy,lp,optical,network,storage,wheel USERNAME

Installing and configuring Hardware

Configure the audio card

Your audio card should already be working, but you can't hear anything because it is muted by default. Install the alsa-utils

pacman -S alsa-utils

and use alsamixer to adjust the channels:

alsamixer

Unmute the Master and PCM channels by scrolling to them with cursor left/right and pressing M. Increase the volume levels with the cursor-up key. (70-90 Should be a safe range.) Leave alsamixer by pressing ESC and store the settings with

alsactl store

If you plan on using a desktop environment such as GNOME or KDE and would prefer that alsa remember your settings when you change them, do not execute the above command--your volume settings will be remembered automatically. Add alsa to your DAEMONS section in /etc/rc.conf to automatically restore the mixer on boot-up.

nano /etc/rc.conf
DAEMONS=(syslog-ng network crond alsa)

Configuring CPU frequency scaling

Modern processors can decrease their frequency and voltage to reduce heat and power consumption. Less heat leads to a quieter system; even a desktop system will benefit from it. Install cpufrequtils with

pacman -S cpufrequtils

and add cpufreq to your daemons in /etc/rc.conf. Edit the config file /etc/conf.d/cpufreq and change

governor="conservative"

which dynamically increases the CPU frequency if needed (which is a safe choice on desktop systems too). Alter min_freq and max_freq to match your system's CPU spec. If you don't know the frequencies, run cpufreq-info after loading one of the frequency scaling modules. Add the frequency scaling modules to your /etc/rc.conf modules line. Most modern notebooks and desktops can simply use the acpi-cpufreq driver, however other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. Load the module with

modprobe <modulname> 

and start cpufreq with

/etc/rc.d/cpufreq start

For more details, see Cpufrequtils

Additional tweaks for laptops

ACPI support is needed if you want to use some special functions on your notebook (e.g. sleep, sleep when lid is closed, special keys...). Install acpid

pacman -S acpid

and add it to the daemons in /etc/rc.conf (acpid). Start it with

/etc/rc.d/acpid start

More-specific information about Arch Linux on various Laptops can be found at Category:Laptops (English)

Installing and configuring X

The X Window System (commonly X11, or just simply X) is a networking and display protocol which provides windowing on bitmap displays. It provides the standard toolkit and protocol to build graphical user interfaces (GUIs) on Unix-like operating systems.

X provides the basic framework, or primitives, for building GUI environments: drawing and moving windows on the screen and interacting with a mouse and/or keyboard. X does not mandate the user interface — individual client programs handle this.


Now we will install the base Xorg packages using pacman.

As root, do:

pacman -S xorg-server xorg-xkb-utils xorg-xauth xorg-server-utils xorg-xinit

xf86-video-vesa xf86-input-mouse xf86-input-keyboard (The old xorg group package has been removed. If it reappears, the option to use it will be given here.) Now we have the base packages we need for running the X Server. You should add the driver for your graphics card now (e.g. xf86-video-<name>). If you need a list of all open-source video drivers, do:

pacman -Ss xf86-video | less

If you don't know what graphics card you are using, do:

lspci | grep VGA

Here is a list of open source drivers, and corresponding video chipsets.

  • xf86-video-apm Alliance ProMotion video driver
  • xf86-video-ark ark video driver
  • xf86-video-ati ati video driver
  • xf86-video-chips Chips and Technologies video driver
  • xf86-video-cirrus Cirrus Logic video driver
  • xf86-video-dummy dummy video driver
  • xf86-video-fbdev framebuffer video driver
  • xf86-video-glint GLINT/Permedia video driver
  • xf86-video-i128 Number 0 i128 video driver
  • xf86-video-i740 Intel i740 video driver
  • xf86-video-i810 Intel i810/i830/i9xx video drivers
  • xf86-video-imstt Integrated Micro Solutions Twin Turbo

vidoe driver

  • xf86-video-mga mga video driver (Matrox Graphics

Adapter)

  • xf86-video-neomagic neomagic video driver
  • xf86-video-nv nvidia nv video driver
  • xf86-video-rendition Rendition video driver
  • xf86-video-s3 S3 video driver
  • xf86-video-s3virge S3 Virge video driver
  • xf86-video-savage savage video driver
  • xf86-video-siliconmotion siliconmotion video driver
  • xf86-video-sis SiS video driver
  • xf86-video-sisusb SiS USB video driver
  • xf86-video-tdfx tdfx video driver
  • xf86-video-trident Trident video driver
  • xf86-video-tseng tseng video driver
  • xf86-video-unichrome Unichrome video drivers
  • xf86-video-v4l v4l video driver
  • xf86-video-vesa vesa video driver
  • xf86-video-vga VGA 16 color video driver
  • xf86-video-via via video driver
  • xf86-video-vmware vmware video driver
  • xf86-video-voodoo voodoo video driver
  • Note that the vesa driver is the most generic, and should work with

almost any modern video chipset. If you cannot find a suitable driver for your video chipset, vesa should work.

  • If you have an nVIDIA or ATI video adapter, you may wish to install the

proprietary nVIDIA or ATI drivers. Installing proprietary video drivers is covered below under "Using proprietary Graphics Driver (nVIDIA, ATI)"

Install the appropriate video driver for your video card/onboard video. e.g.:

pacman -S xf86-video-i810

(for the intel 810 chipset driver.)

Create /etc/X11/xorg.conf

What is /etc/X11/xorg.conf?

/etc/X11/xorg.conf is the main configuration file for your X Window System, the foundation of your Graphical User Interface. It is a plain text file ordered into sections and subsections. Important sections are Files, InputDevice, Monitor, Modes, Screen, Device, and ServerLayout. Sections can appear in any order and there may be more than one section of each kind, for example, if you have more than one monitor, say a video projector and an on board LCD of a notebook.


By default, you will not have an Xorg config file, and with the newest versions of Xorg, you don't need one if the autodetection works satisfactorily and you don't need to turn on features such as aiglx and so on. Most people will still find that they need to generate a config file, however.

There are several ways of creating /etc/X11/xorg.conf:

  • The Xorg way to make a basic config file is to run
Xorg -configure

which will create /root/xorg.conf. Move the generated config file as appropriate, e.g.

mv /root/xorg.conf.new /etc/X11/xorg.conf
  • Another way of making an xorg.conf without getting your hands dirty is Arch

Linux's own developer tpowa's tool:

hwd -xa
hwd (to see the various options)
  • The proprietary video drivers also have tools to edit xorg.conf to configure

the drivers (see below). These are

aticonfig

and

nvidia-xconfig

However, you should not be a stranger to editing the config file by hand (as this is usually needed to fix various issues from time to time):

nano /etc/X11/xorg.conf

Edit your /etc/X11/xorg.conf to specify your video driver. e.g.:

Section "Device"
Driver  "i810"
Simple baseline X test

At this point, you should have xorg installed, with a suitable video driver and an /etc/X11/xorg.conf configuration file. If you want to test your configuration quickly, before installing a complete desktop environment, install xterm. Xterm is a very simple terminal emulator which runs in the X Server environment. Xterm will allow us to effectively test if your video driver and /etc/X11/xorg.conf are properly configured. Alternatively, you may wish to test if the X autodetection works satisfactorily, in the absence of /etc/X11/xorg.conf.

pacman -S xterm

Edit your /home/username/.xinitrc file, as normal user, to dictate which X Server event is called upon with the 'startx' command:

su yourusername
nano ~/.xinitrc

and add (or uncomment)

exec xterm

So that it looks like this:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#
exec xterm
# exec wmaker
# exec startkde
# exec icewm
# exec blackbox
# exec fluxbox

(Be sure to have only one uncommented line in your ~/.xinitrc ) If you do not have ~/.xinitrc, simply create one with the above information.

Start X Server as normal user, with:

startx

You should have an xterm session open up. You can exit the X Server with Ctrl+Alt+Backspace, or by typing "exit". If you have problems starting X, you can look for errors in the /var/log/Xorg.0.log file and on the console output of the console you started X from.

Now you might want to install a graphical login manager (to avoid having to type startx everytime you start the computer) like GDM or KDM, but this could wait, and advanced instructions for Xorg configuration can be found in the Xorg article.

Adjusting Keyboard Layout

You may want to change your keyboard layout. To do this edit your /etc/X11/xorg.conf and add these lines in the Input Section (keyboard0) (the example shows a German keyboard layout with no dead keys; alter this to fit your needs).

       Option          "XkbLayout"     "de"
       Option          "XkbVariant"    "nodeadkeys"

Adjusting Mouse for scroll wheel

While your mouse should be working out of the box, you may want to use your scroll wheel. Add this to your Input Section (mouse0):

       Option      "ZAxisMapping" "4 5 6 7"

evdev

If you have a modern USB mouse with several thumb buttons and/or functions, you will most likely want to install the evdev mouse driver, which will allow you to exploit the full functionality of your mouse:

pacman -S xf86-input-evdev

Load the driver:

modprobe evdev

Find your mouse name:

cat /proc/bus/input/devices | egrep "Name"

Using the mouse name, configure your /etc/X11/xorg.conf InputDevice section accordingly, e.g.:

Section "InputDevice"
 Identifier      "Evdev Mouse"
 Driver          "evdev"
 Option          "Name" "Logitech USB-PS/2 Optical Mouse"
 Option          "CorePointer"
EndSection

You must have only one "CorePointer" device specified in /etc/X11/xorg.conf, so be sure to comment out any other mouse entries until you feel safe removing the old, unused entries.

Also edit the ServerLayout section to include Evdev Mouse as the CorePointer, e.g.:

Section "ServerLayout"
   Identifier     "Layout0"
   Screen      0  "Screen0"
   InputDevice    "Keyboard0" "CoreKeyboard"
   InputDevice    "Evdev Mouse" "CorePointer"

Using proprietary Graphics Driver (nVIDIA, ATI)

You may choose to use the proprietary video drivers from nVIDIA or ATI.

nVIDIA Graphic Cards

The nVIDIA proprietary drivers are generally considered to be of excellent quality, and offer superior 3D performance.

Before you configure your Graphics Card you will need to know which driver fits. Arch currently has 3 different drivers that each match a certain subset of Cards:

1. nvidia-71xx for very old Cards like TNT and TNT2

2. nvidia-96xx slightly newer cards up to the GF 4

3. nvidia newest GPUs after the GF 4

Consult the nVIDIA-Homepage to see which one is for you. The difference is only for the installation; Configuration works the same with every driver.

Install the appropriate nvidia driver, e.g.:

pacman -S nvidia 

At this point, you have 3 choices as to how to proceed.

  • 1. If you have no xorg.conf at all, or if you have an existing xorg.conf

and want to generate a completely new one with the nVIDIA utility, back up the old one:

mv /etc/X11/xorg.conf /etc/X11/xorg.old

Then create the new /etc/X11/xorg.conf with

nvidia-xconfig

The nvidia-xconfig utility will usually create a very short, streamlined, easy-to-read xorg.conf

It also has several options which will further specify the contents and options of the xorg.conf file. For example,

nvidia-xconfig --composite --add-argb-glx-visuals

For more detailed information, see nvidia-xconfig(1).

  • 2. Expert Option: If you have an existing xorg.conf and want to

keep it, edit your xorg manually as needed, and at the very least, adjust your Device Section by changing Driver "<olddrivername>" to Driver "nvidia".

Section "Device"
   
Driver  "nvidia" 
  • 3. Alternatively, you may choose to keep your existing

/etc/X11/xorg.conf, and run:

nvidia-xconfig

which will automatically update your /etc/X11/xorg.conf for use with the nVIDIA proprietary driver.

Some useful tweaking options in the device section are (beware that these may not work on your system):

       Option          "RenderAccel" "true"
       Option          "NoLogo" "true"
       Option          "AGPFastWrite" "true"
       Option          "EnablePageFlip" "true"

The nvidia-xconfig utility will automatically place the glx option in your xorg. If you did not use nvidia-xconfig, then you should add this to your module section:

Load "glx"

Double check your /etc/X11/xorg.conf to make sure your default depth, horizontal refresh, vertical refresh, and resolutions are acceptable.

Logout and login.

Start X server as normal user, to test your configuration:

startx

Advanced instructions for nvidia configuration can be found in the NVIDIA article.

ATI Graphic Cards

ATI owners have two options for drivers. If you are unsure which driver to use, please try the open-source one first. The open-source driver will suit most needs along with being generally less problematic.

Install the proprietary ATI Driver with

pacman -S fglrx

Use the aticonfig tool to modify the xorg.conf. Note: The proprietary driver does not support AIGLX. To use Compiz or Beryl with this driver you would need to use XGL.

Install the open-source ATI Driver with

pacman -S xf86-video-ati

Currently, the performance of the open-source driver is not on par with that of the proprietary one. It also lacks TV-out, dual-link DVI support, and possibly other features. On the other hand, it supports Aiglx and has better dual-head support.

Advanced instructions for ATI configuration can be found in the ATI wiki.

Installing and configuring a Desktop Environment

If you ask two people what the best Desktop Environment or Window Manager is, you will get six different answers.

  • If you want something full-featured and similar to Windows and Mac OSX,

KDE is a good choice

  • If you want something more minimalist, which follows the K.I.S.S. principle

more closely, GNOME is a good choice

  • If you have an older machine or want something lighter, xfce4 is a good

choice, still giving you a complete environment

  • If you need something even lighter, openbox, fluxbox or fvwm2 may be

right (not to mention all other lightweight window managers like windowmaker and twm).

  • If you need something completely different, try ion, wmii, or dwm.

Install Fonts

At this point, you may want to install some good-looking fonts, before installing a desktop environment/window manager. Dejavu and bitstream-vera are nice font sets. For websites, you may want to have the Microsoft fonts too. Install with:

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

GNOME

About GNOME

The GNU Network Object Model Environment. The GNOME project provides two things: The GNOME desktop environment, an intuitive and attractive desktop for end-users, and the GNOME development platform, an extensive framework for building applications that integrate into the rest of the desktop.

Installation

Install GNOME with

pacman -S gnome

If you want a more-than-complete GNOME distribution with a lot of extras, do:

pacman -S gnome-extra

It's safe to choose all packages shown.

Useful DAEMONS for GNOME

Recall from above that a daemon is a program that runs in the background, waiting for events to occur and offering services. The hal daemon, among other things, will automate the mounting of disks, optical drives, and USB drives/thumbdrives for use in the GUI. The fam daemon will allow real-time representation of file alterations in the GUI, allowing instant access to recently installed programs, or changes in the file system. Both hal and fam make life easier for the GNOME user.

You may want to install a graphical login manager. For GNOME, the gdm daemon is a good choice. Install gdm with

pacman -S gdm

You will almost certainly want the hal and fam daemons.

Start hal and fam:

/etc/rc.d/hal start
/etc/rc.d/fam start

Add them to your /etc/rc.conf DAEMONS section, so they will start on bootup:

nano /etc/rc.conf
DAEMONS=(syslog-ng network crond alsa hal fam gdm)

(If you prefer to log into the console and manually start X in the 'Slackware tradition', leave out gdm.)

~/.xinitrc

This file controls what occurs when you type 'startx'.

Edit your /home/username/.xinitrc to utilize GNOME:

nano ~/.xinitrc

Uncomment the 'exec gnome-session' line so that it looks like this:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#
#exec xterm
#exec wmaker
# exec startkde
exec gnome-session
# exec icewm
# exec blackbox
# exec fluxbox

If you do not have a ~/.xinitrc file, simply create it with the above information. Remember, you must have only one uncommented line in your ~/.xinitrc.

Switch to normal user:

su username

And test it with:

startx

You may want to install a terminal and an editor. I would recommend gnome-terminal (part of the group gnome-extra) and geany:

pacman -S geany gnome-terminal

Advanced instructions for installing and configuring GNOME can be found in the Gnome article.

Eye Candy

You may find the default GNOME theme and icons not very attractive. A nice gtk theme is murrine. Install it with

pacman -S gtk-engine-murrine

and select it with System->Preferences->Theme. You can find more themes, icons, and wallpaper at Gnome Look.

KDE

About KDE

The K Desktop Environment. KDE is a powerful Free Software graphical desktop environment for Linux and Unix workstations. It combines ease of use, contemporary functionality, and outstanding graphical design with the technological superiority of UNIX-like operating systems.

Installation

Arch offers several versions of kde: kde, kdebase, and KDEmod. Choose one of the following, and continue below with "Useful KDE DAEMONS":

1.) Package kde is the complete, vanilla KDE, ~300MB.

pacman -S kde

2.) Package kdebase is a slimmed-down version with less applications, ~80MB.

pacman -S kdebase

3.) Lastly, KDEmod is an Arch Linux exclusive, community-driven system which is modified for extreme performance and modularity. The KDEmod project website can be found at http://kdemod.ath.cx/. KDEmod is extremely fast, lightweight and responsive, with a pleasing, customized theme.

To install KDEmod in 5 easy steps, just follow these installation instructions... Note: Before you start, please remember to read all of the install messages. They are fairly comprehensive and should solve any upcoming questions after the installation. If you cant scroll back to see all messages, just take a look into /var/log/pacman.log

  • 1. Add the kdemod repo to your /etc/pacman.conf:
nano /etc/pacman.conf

Add one of these entries at the top of your server list:

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

for 32 bit Arch, or

       [kdemod]
       Server = http://kdemod.ath.cx/repo/current/x86_64

for 64 bit Arch.

  • 2. You must also activate the [community] repository in /etc/pacman.conf

because KDEmod needs some packages from this repository. Make sure the following lines are uncommented:

[community]
Include = /etc/pacman.d/community


  • 3. Update your package database with pacman -Syu. Now you can choose between

two installations:

       pacman -S kdemod  - installs a light base system
       pacman -S kdemod-complete  - installs the full KDE desktop

If you encounter any errors or conflicts at this step, check pacmans output, and if there are some unsolvable problems, tell us about them at the forums.

  • 4. Install your localization. Take a look at the list of packages or simply do

a pacman -Ss kdemod-kde-i18n to see which of them are already included.

  • 5. Install all the extra apps you want. You can check out all available KDEmod

packages by entering pacman -Sl kdemod

Useful KDE DAEMONS

KDE will require the hal (Hardware Abstraction Layer) and fam (File Alteration Monitor) daemons. The kdm daemon is the K Display Manager, which provides a graphical login, if desired.

Recall from above that a daemon is a program that runs in the background, waiting for events to occur and offering services. The hal daemon, among other things, will automate the mounting of disks, optical drives, and USB drives/thumbdrives for use in the GUI. The fam daemon will allow real-time representation of file alterations in the GUI, allowing instant access to recently installed programs, or changes in the file system.. Both hal and fam make life easier for the KDE user, and are installed when you install KDE.

Start hal and fam:

/etc/rc.d/hal start
/etc/rc.d/fam start

Edit your DAEMONS section in /etc/rc.conf:

nano /etc/rc.conf

Add hal and fam to your DAEMONS section, to start them on bootup. If you prefer a graphical login, add kdm as well:

DAEMONS=(syslog-ng network crond alsa hal fam kdm)

(If you prefer to log into the console and manually start X in the 'Slackware tradition', leave out kdm.)

~/.xinitrc

This file controls what occurs when you type 'startx'.

Edit your /home/username/.xinitrc to utilize KDE:

nano ~/.xinitrc

Uncomment the 'exec startkde' line so that it looks like this:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#
#exec xterm
#exec wmaker
exec startkde
# exec gnome-session
# exec icewm
# exec blackbox
# exec fluxbox

If you do not have a ~/.xinitrc file, simply create it with the above information. Remember, you must have only one uncommented line in your ~/.xinitrc.

Switch to your normal user:

su username

Now try starting your X Server:

startx

Congratulations! Welcome to your KDE desktop environment on your new Arch Linux system! You may wish to continue by viewing Post Installation Tips, or the rest of the information below. Advanced instructions for installing and configuring KDE can be found in the KDE article.

Xfce

About Xfce

Xfce is a Desktop Environment, like GNOME or KDE. It contains a suite of apps like a root window app, window manager, file manager, panel, etc. Xfce is written using the GTK2 toolkit and contains its own development environment (libraries, daemons, etc) similar to other big DEs. Unlike GNOME or KDE, Xfce is lightweight and designed more around CDE than Windows or Mac. It has a much slower development cycle, but is very stable and extremely fast. Xfce is great for older hardware.

Installation

Install xfce with

pacman -S xfce4 xfce4-goodies 

If you use kdm or gdm a new xfce session should have appeared. Alternatively, you can use

startxfce4

Advanced instructions for installing and configuring Xfce can be found in the Xfce article.

*box

Fluxbox

Fluxbox © is yet another windowmanager for X. It's based on the Blackbox 0.61.1 code. Fluxbox looks like blackbox and handles styles, colors, window placement and similar things exactly like blackbox (100% theme/style compability).

Install Fluxbox using

pacman -S fluxbox fluxconf

If you use gdm/kdm a new fluxbox session will be automatically added. Otherwise, you should modify your user's .xinitrc and add this to it:

exec startfluxbox 

More information is available in the Fluxbox article.

Openbox

Openbox is a standards compliant, fast, light-weight, extensible window manager.

Openbox works with your applications, and makes your desktop easier to manage. This is because the approach to its development was the opposite of what seems to be the general case for window managers. Openbox was written first to comply with standards and to work properly. Only when that was in place did the team turn to the visual interface.

Openbox is fully functional as a stand-alone working environment, or can be used as a drop-in replacement for the default window manager in the GNOME or KDE desktop environments.

Install openbox using

pacman -S openbox obconf obmenu

Once openbox is installed you will get a message to move menu.xml & rc.xml to ~/.config/openbox/ in your home directory:

mkdir -p ~/.config/openbox/
cp /etc/xdg/openbox/rc.xml ~/.config/openbox/
cp /etc/xdg/openbox/menu.xml ~/.config/openbox/

In the file "rc.xml" you can change various settings for Openbox (or you can use OBconf). In "menu.xml" you can change your right-click menu.

To be able to log into openbox you can either go via graphical login using KDM/GDM or startx, in which case you will need to edit your ~/.xinitrc (as user) and add the following:

exec openbox

For KDM there is nothing left to do; openbox is listed in the sessions menu in KDM.

Useful programs for openbox are:

  • PyPanel or LXpanel if you want a panel
  • feh if you want to set the background
  • ROX if you want a simple file manager and desktop icons

More information is available in the Openbox article.

fvwm2

FVWM is an extremely powerful ICCCM-compliant multiple virtual desktop window manager for the X Window system. Development is active, and support is excellent.

Install fvwm2 with

pacman -S fvwm 

fvwm will automatically be listed in kdm/gdm in the sessions menu. Otherwise, add

exec fvwm 

to your user's .xinitrc.

Note that this stable version of fvwm is a few years old. If you want a more recent version of fvwm, there is a fvwm-devel package in the unstable repo.

HAL

Since you have now installed a desktop environment now would be a good time to also install HAL. HAL allows plug-and-play for your mobile phone, your iPod, your external HD's, etc. It will mount the device and make a nice visual icon on your desktop and/or in 'My Computer', allowing you to access the device after you have plugged it in instead of having to manually configure the /etc/fstab file or udev rules for each and every new device.

KDE, GNOME and XFCE uses HAL.

Refer to this article to install: HAL wikipedia: 1

Useful Applications

This section will never be complete. It just shows some good applications for the everyday user.

Internet

Firefox

The ever-popular Firefox web browser is available through pacman. Install with:

pacman -S firefox

Be sure and install 'flashplugin', 'mplayer', 'mplayer-plugin', and the 'codecs' packages for a complete web experience:

pacman -S flashplugin mplayer mplayer-plugin codecs

(The codecs package contains codecs for Quicktime and Realplayer content.)

Thunderbird is useful for managing your emails. If you are using GNOME you may want to take a look at Epiphany and Evolution; if you are using KDE Konqueror and KMail could be your choice. If you want something completely different you can still use Opera. Finally, if you are working on the system console - or in a terminal session - you could use various text-based browsers like ELinks, Links and Lynx, and manage your emails with Mutt. Pidgin (previously known as Gaim) and Kopete are good instant messengers for GNOME and KDE, respectively. PSI and Gajim are perfect if you are using only Jabber or Google Talk.

Office

OpenOffice is a complete office suite (similar to Microsoft Office). Abiword is a good, small alternative word processor, and Gnumeric an Excel replacement for the GNOME desktop. KOffice is a complete office suite for the KDE Desktop. GIMP (or GIMPShop) is a pixel-based graphics program (similar to Adobe Photoshop), while Inkscape is a vector-based graphics program (like Adobe Illustrator). And, of course, Arch comes with a full set of LaTeX Programs.

Multimedia

Video Player

VLC

VLC Player is a multimedia player for Linux. To install it, simply type the code below.

pacman -S vlc

(TODO) Instructions for VLC mozilla plug-in

Mplayer

MPlayer is a multimedia player for Linux. To install it, simply type the code below.

pacman -S mplayer

It also has a Mozilla plug-in for videos and streams embedded in web pages. To install it, simply type the code below.

pacman -S mplayer-plugin

If you use KDE, KMplayer is a better choice. It comes with a plug-in for videos and streams embedded in web pages, which works with Konqueror. To install it, simply type the code below.

pacman -S kmplayer

(TODO) GMPlayer instructions

GNOME

Totem

Totem is the official movie player of the GNOME desktop environment based on xine-lib or GStreamer (gstreamer is the default which installs with the arch totem package). It features a playlist, a full-screen mode, seek and volume controls, as well as keyboard navigation. It comes with added functionality such as:

  • Video thumbnailer for the file manager
  • Nautilus properties tab
  • Epiphany / Mozilla (Firefox) plugin to view movies inside your browser
  • Webcam utility (in development)

Totem-xine is still the better choice if you want to watch DVDs.

Totem is part of the gnome-extra group; the Totem webbrowser plugin isn't.

To install separately:

pacman -S totem

To install the Totem webbrowser plugin:

pacman -S totem-plugin

KDE

Kaffeine

Kaffeine is a good option for KDE users. To install it, simply type the code below.

pacman -S kaffeine

Audio Player

Gnome/Xfce

Exaile

Exaile is a music player written in Python that makes use of the GTK+ toolkit.

Rhythmbox

Rhythmbox is an integrated music management application, originally inspired by Apple's iTunes. It is free software, designed to work well under the GNOME Desktop, and based on the powerful GStreamer media framework.

Rhythmbox has a number of features, including:

  • Easy-to-use music browser
  • Searching and sorting
  • Comprehensive audio format support through GStreamer
  • Internet radio support
  • Playlists

To install rhythmbox:

pacman -S rhythmbox

Other good audio players are: Banshee, Quodlibet, and Listen. See Gnomefiles to compare them.

KDE

Amarok

Amarok is one of the best audio players and music library systems available for KDE. To install it, simply type the code below.

pacman -S amarok-base

Console

Moc is a ncurses-based audio player for the console; another good choice is mpd.

Another excellent choice is cmus[1].

Other X-based

(TODO) Xmms, audacious, bmpx.

Codecs and other multimedia content types

DVD

You can use totem-xine, mplayer or kaffeine (just to name three of the big ones) to watch DVDs. The only thing you may miss is libdvdcss. Beware that using it may be illegal in some countries.

Flash

Install the flash plugin using

pacman -S flashplugin

to enable Macromedia (now Adobe) Flash in your browser.

Quicktime

Quicktime codecs are contained in the codecs package. Just type

pacman -S codecs

to install them.

Realplayer

The codec for Realplayer 9 is contained in the codecs package. Just type

pacman -S codecs

to install them. Realplayer 10 is available as a binary package for Linux. You can get it from AUR [http://aur.archlinux.org/packages.php?do_Details=1&ID=1590&O=0&L=0&C=0&K= realplay&SB=&SO=&PP=25&do_MyPackages=0&do_Orphans=0&SeB=nd here].

CD and DVD Burning

GNOME

Brasero

Brasero is an application that burns CDs/DVDs for the GNOME Desktop. It is designed to be as simple as possible and has some unique features to enable users to create their discs easily and quickly.

To install:

pacman -S brasero

KDE

K3b

K3b - Burn, Baby, Burn in KDE


K3B - CD/DVD burning application for Linux - optimized for KDE - licensed under the GPL. To install:

pacman -S k3b



(Todo) cdrecord, graveman...



Most CD burners are wrappers for cdrecord:

pacman -S cdrkit

If you install packages for CD/DVD burning applications like Brasero or K3B it also installs the CD/DVD burning library for it, like libburn or cdrkit.

A good command-line DVD-burning tool is growisofs:

pacman -S dvd+rw-tools

TV-Cards

There are several things to do if you want to watch TV under (Arch) Linux. The most important task is to find out which chip your tuner is using. However, quite a bunch is supported. Be sure to check at a Hardware Database to be sure (e.g. [2]). Once you know your Model, there are just a few steps ahead to get you going.

In most cases, you will need to use the bttv-drivers (other drivers exist, see [3]) together with the I2C-modules. Configuring those is the hardest task. If you are lucky, a

modprobe bttv

will autodetect the card (check dmesg for results). In that case, you need only to install an application to watch TV. We will look at that later, though. If the autodetection did not work, you will need to check the file CARDLIST, which is included in the tarball of bttv[4] to find out the right parameters for your card. A PV951 without radio support would need this line:

modprobe bttv card=42 radio=0

Some cards need the following line to produce sound:

modprobe tvaudio

However, that varies. So just try it out. Some other cards demand the following line:

modprobe tuner

This is object to trial-and-error, too.

TODO: clarify the installation-procedure

To actually watch TV, install the xawtv-package with

pacman -S xawtv 

and read its manpage.

TODO: clarify some possible problems and procedures. Introduction to XAWTV on another page?

Digital Cameras

Most newer digital cameras are supported as USB mass storage devices, which means that you can simply plug it in and copy the images. Older cameras may use the PTP (Picture Transfer Protocol) which requires a "special driver". gPhoto2 provides this driver and allows a shell-based transfer of the images; digikam (for KDE) and gthumb (for GNOME, gtkam would be another choice) use this driver and offer a nice GUI.

USB Memory Sticks / Hard Disks

USB Memory Sticks and hard disks are supported out of the box with the USB mass storage device driver and will appear as a new SCSI device (/dev/sdX). If you are using KDE or GNOME you should use dbus and hal (add them to your daemons in /etc/rc.conf), and they will be automatically mounted. If you use a different Desktop Environment you may have a look at ivman.

Maintaining the system

Pacman

Pacman is both a binary and source package manager which is able to download, install, and upgrade packages from both remote and local repositories with full dependency handling, and has easy-to-understand tools for crafting your own packages too.

A more-detailed description of Pacman can be found in its article.

Useful commands

To synchronize and update the local packages database with the remote repositories (it is a good idea to do this before installing and upgrading packages):

pacman -Sy

To upgrade all packages on the system:

pacman -Su

To sync, update, and upgrade all the packages on the system with one command:

pacman -Syu

To install or upgrade a single package or list of packages (including dependencies):

pacman -S packageA packageB

You can also sync, update the package database, and install packages in one command:

pacman -Sy packageA packageB

To remove a single package, leaving all of its dependencies installed:

pacman -R package

To remove a package and all of the package's dependencies which aren't used by any other installed package:

pacman -Rs package

To remove all of the package's dependencies now unneeded and do not make any backup of settings:

pacman -Rsn package

To search the remote (repo) package database for a list of packages matching a given keyword:

pacman -Ss keyword

To list all packages on your system

pacman -Q

To search (query) the local (your machine) package database for a given package:

pacman -Q package 

To search (query) the local (your machine) package database for a given package and list all pertinent information:

pacman -Qi package

To defragment pacman's cache database and optimize for speed:

pacman-optimize

To count how many packages are currently on your system:

pacman -Q | wc -l

To install a package compiled from source using ABS and makepkg:

pacman -U packagename.pkg.tar.gz

Note: There are countless additional pacman functions and commands. Try man pacman and consult the pacman wiki entries.

Polishing & Further information

If after you have read this you want to do a bit of polishing, head to [[Post Installation Tips]]. For further information and support you can go to the homepage, search the wiki, the forums, the IRC channel, and the mailing lists.