Arch Linux - Tópico Geral

2009.02 ISO Release

We proudly announce the release of the new Arch Linux installation images, version 2009.02. It took us quite a while, but we think the result is worth it: we added some cool new things and ironed out some long-lasting imperfections. 2009.02 comes with the following features: - Kernel 2.6.28 - Ext4 support. Installation can be done on a ext4 root ...
 
Ainda tentei instalar o ARCH no meu portatil, mas mal meti o cd e ia dar inicio à instalação deu "Kernel panic" na drive de cds...
Como não podia perder tempo, resolvi a situação instalando Salckware...
 
Vou experimentar talvez no fim de semana.
Tenho instalado num charuto de teste com o Fluxbox mas aquilo leva muito tempo a configurar (o flux) e não tenho muito tempo e paciência para isso. Mas funcionava bem e rápido para a máquina que é.
Desta vez leva gnome :x2:
 
Vou experimentar talvez no fim de semana.
Tenho instalado num charuto de teste com o Fluxbox mas aquilo leva muito tempo a configurar (o flux) e não tenho muito tempo e paciência para isso. Mas funcionava bem e rápido para a máquina que é.
Desta vez leva gnome :x2:

Posso sugerir XFCE4?

-----

Já alguém experimentou o EXT4? Que tal?
 
Getting Started with Arch Linux

Posted by: Joshua Price on December 31st, 2009


archlinux-logo.png

We recently asked readers for requests on new articles you’d like to see (and thanks for all the great ideas!). One such request was a beginner’s guide to Arch Linux. As a Linux distro addict, I’ve heard of Arch many times over the years but for some reason, I’d never actually given it a shot. In particular, one aspect that’s always interested me has been Arch’s homegrown package management system, pacman. Today we’ll be finding out what Arch is all about, how to use it, and what makes it special.

About Arch

Arch does not come as a complete, all-in-one pre-built shiny desktop OS. This is on purpose. The idea behind Arch is that upon installation, you’ve got a fast, light, minimal OS to use as the base to make your own shiny desktop. If you don’t like the idea of putting together your own version of what Linux should be like, then Arch may not be for you.
Installation

The Arch website provides torrent links here. The FTP ISO is the “netinstall” version, where packages are downloaded as needed during the install. The Core ISOs include the core packages on the disc, so that you can complete an install without a working internet connection. Download whichever you like, and burn to CD to begin the install. I’ll be using the FTP ISO for this article. That’s the recommended method, as it will download the newest available versions of all packages, instead of installing old ones from the CD which must be upgraded later.
Once you boot the CD, you can begin the installation process by entering
Código:
  [COLOR=#000000][B]/[/B][/COLOR]arch[COLOR=#000000][B]/[/B][/COLOR]setup
at the command prompt. You’ll be taken to a text-based installer. Most of the installer should be fairly easy to navigate for an experienced Linux user (Arch’s target audience, and therefore the target audience of this article) so I won’t cover the installation in much detail. The Arch website offers a comprehensive install guide that you can use if you run into any trouble. I will, however, include some screenshots of the installer so you can see what you’re getting in to.


archlinux-install02.jpg
archlinux-install03-choosemirror.jpg
archlinux-install06-packageselection.jpg
Package Management

Once the install is complete, it’s likely the first thing you’ll want to do is install some new packages (like Xorg and a desktop environment). First, let’s make sure pacman is aware of all the available packages. By default, it will use whatever mirror you chose during installation. To tell pacman to refresh that list, enter


Código:
  pacman [COLOR=#660033]-Sy [/COLOR]
archlinux-pacmanSy.jpg
If you have any problems with that, try changing the mirror by editing /etc/pacman.d/mirrorlist. Comment out your current mirror and choose another from your region. Make sure that you see extra in the sync. That’s where you’ll find many of your common packages. If all went well, you’re ready to install some packages. The command to do that is


Código:
  pacman [COLOR=#660033]-S[/COLOR] [COLOR=#7a0874][B]([/B][/COLOR]package name[COLOR=#7a0874][B]) [/B][/COLOR]
Here’s an example of pacman installing my favorite window manager, Window Maker.
archlinux-pacmanS.jpg
Some common pacman options include..
Código:
  pacman [COLOR=#660033]-R[/COLOR] [COLOR=#7a0874][B]([/B][/COLOR]package name[COLOR=#7a0874][B])[/B][/COLOR]     [COLOR=#666666][I]#To remove a package[/I][/COLOR]

   pacman [COLOR=#660033]-Ss[/COLOR] [COLOR=#7a0874][B]([/B][/COLOR]package name[COLOR=#7a0874][B])[/B][/COLOR]    [COLOR=#666666][I]#To search for packages[/I][/COLOR]

   pacman [COLOR=#660033]-Si[/COLOR] [COLOR=#7a0874][B]([/B][/COLOR]package name[COLOR=#7a0874][B])[/B][/COLOR]    [COLOR=#666666][I]#To get info about a package[/I][/COLOR]

   pacman [COLOR=#660033]-Syu[/COLOR]                  [COLOR=#666666][I]#To sync with mirror and update system[/I][/COLOR]

   pacman [COLOR=#660033]-U[/COLOR] path[COLOR=#000000][B]/[/B][/COLOR]to[COLOR=#000000][B]/[/B][/COLOR]package    [COLOR=#666666][I]#To install a local package file
[/I][/COLOR]
System Config

Before starting X, there are a few things left to take care of. You may have noticed that the install never called for a non-root user to be created. Now’s a good time to create that user manually, and install some other useful apps like sudo.
There are a few packages you’ll probably want to install before starting X.

  • xf86-input-keyboard
  • xf86-input-mouse
  • hwdetect
  • xf86-video-(your video card type)
Finally, generate an X.org config by running
Código:
  X [COLOR=#660033]-configure
[/COLOR]
and copy the resulting config to /etc/X11/xorg.conf.
Also, it’s quite possible that you’ll need to tell X to load your desktop of choice by entering that executable into your new user’s .xinitrc file. On mine, for example, I had to include
Código:
  [COLOR=#7a0874][B]exec[/B][/COLOR] wmaker
Optional

Arch has a tool called hwd that does a great job of detecting hardware and configuring X. It’s part of a group of packages called AUR, which are unofficial and created by users. Unfortunately, getting AUR packages set up can be a rather complicated process. There’s a useful tool called aurbuild that makes the process much simpler, but that too is also an AUR package itself, so it’s kind of a chicken-and-egg situation. I’ll list out the process for acquiring aurbuild as well as I can here, but I make no promises as to whether or not it will work.
Código:
 pacman [COLOR=#660033]-S[/COLOR] python fakeroot [COLOR=#c20cb9][B]make[/B][/COLOR] [COLOR=#c20cb9][B]gcc[/B][/COLOR] [COLOR=#c20cb9][B]patch[/B][/COLOR]
[COLOR=#c20cb9][B]wget[/B][/COLOR] [COLOR=#c20cb9][B]ftp[/B][/COLOR]:[COLOR=#000000][B]//[/B][/COLOR]ftp.berlios.de[COLOR=#000000][B]/[/B][/COLOR]pub[COLOR=#000000][B]/[/B][/COLOR]aurbuild[COLOR=#000000][B]/[/B][/COLOR]aurbuild-1.8.8-[COLOR=#000000]1[/COLOR]-any.pkg.tar.gz
pacman [COLOR=#660033]-U[/COLOR] aurbuild-1.8.8-[COLOR=#000000]1[/COLOR]-any.pkg.tar.gz
aurbuild [COLOR=#660033]-s[/COLOR] ddcxinfo-arch
aurbuild [COLOR=#660033]-s[/COLOR] hwd
hwd [COLOR=#660033]-xa[/COLOR]
If I’ve missed any steps, please let me know in the comments and I’ll update this section.

Conclusion

It’s hard to come up with an opinion about Arch, since Arch is what you make of it. I like that it gives so much control to the user when it comes to system configuration, but at times it feels like a little too much control. There are a few things that make you think “come on, does this HAVE to be manual?” but the developers are clearly just trying to follow the Arch philosophy of giving the user all the control. In particular, it would be nice to have tools like hwd and aurbuild as part of the system, or at least available for installation through pacman. That may happen at some point as packages in AUR have a chance to be worked into the community repo eventually. Overall I think I like Arch and pacman, and I can see how it would make a great choice for systems that should be kept fast and clean.
Fonte
 
Back
Topo