Two blog readers (Edward2 y Kitty) I have been asked to write an installation guide for the distro I use, Arch LinuxLet's not get carried away by many of the things that are said about this distribution, it is not an easy distro to install, but it is not difficult either. It is a long process.
Arch Linux installation is divided into two parts:
- Base system
- Configuration
1: Base installation
Being a common step for all environments I leave a link to the companion guide elav <º Linux
2: Configuration
Once we have installed our Arch Linux we see that a console opens for us, that is because we have not installed anything apart from the base system.
We go into root mode and put our password.
We select the mirrors if we have not done so
nano /etc/pacman.d/mirrorlist
We choose the ones we want, but not because they are from our country they will be faster, personally I have the first two from Brazil
The next step is to update our system, for this we write the following
pacman -Syu
After updating I always clean the useless packages and the unused repositories with the following command
pacman -Scc
Once we have done this we configure our files in case we have not configured them
nano /etc/rc.conf
For those who are from Spain, the file has to be like this
LOCALE="es_ES.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Madrid"
KEYMAP="es-cp850"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
The next file to configure will be the pacman.conf
nano /etc/pacman.conf
core, extra and community are activated by default and we add the following repository
[archlinuxfr]
Server = http://repo.archlinux.fr/i686
this repository will allow us to install Yaourt.
The next step will be to create our user, we will create it as follows
adduser
we follow the steps for the configuration of the new user
Now we must add our user to the groups audio, power, wheel, storage, video, optical, floppy and lp as follows
gpasswd -a usuario audio
in each group we change «audio» for the corresponding
The next thing will be to install the sound
pacman -S alsa-utils alsa-oss
We add the demon Alsa
nano /etc/rc.conf
DAEMONS=(syslog-ng network netfs crond alsa gdm dbus ibus)
We install X.Org
pacman -S xorg
Now we install our graphical environment
Where
pacman -S kdebase kde-l10n-es
O well
pacman -S kde kde-l10n-es
I recommend the Kdebase option more, so we mount it as we want
Lxde
pacman -S lxde
The following will be our login screen, personally I use Gdm
pacman -S gdm
for Kde users the Kdm is installed together with the environment either Kde or Kdebase
We change the bootloader
nano /etc/inittab
now we leave the following line like this
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:
It depends on the manager we use we will leave the following line one way or another
gdm
#x:5:respawn:/usr/bin/xdm -nodaemon
x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >/dev/null 2>&1
kdm
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >/dev/null 2>&1
xdm
x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >/dev/null 2>&1
Slim
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
x:5:respawn:/usr/bin/slim >/dev/null 2>&1
If we want our system to work we add the dbus daemon
nano /etc/rc.conf
DAEMONS=(syslog-ng network netfs crond alsa gdm dbus ibus)
We install Yaourt
pacman -S yaourt
Ready, we already have our Arch Linux installed
Very good tutorial, I already have the documented steps to do the installation, but I don't know what daemons to add to mount usb and disk with ntfs partitions I think it is ntfs-3g. But I am missing some can tell me if it is hal, fam or gamin.
Hal and fam are specific to Gnome I think, that's why I haven't put them, I specifically don't have either one and it suits me perfectly
Thanks for your help.
To mount usb and ntfs partitioned disks i believe and correct me if i am wrong it is handled by udev now. In my Arch + gnome3 installation, the only daemon I put was dbus and the only module was fuse. and everything ok and without problems, I can read the partition that Winbug 7 has and mount usb's without even having done any configuration or installing something that was not dependency on the desktop or the base.
I think that with kde it is the same, so you have to add only the demons that they tell you in the wiki.
excellent tutorial courage thanks, but I have a question, pacman mirrors is fine if I add more than one mirror.
If it's ok you can actually uncomment all mirrors and use the rankmirrors script to choose the best ones.
To uncomment the mirrors, edit your /etc/pacman.d/mirrorlist file
# nano /etc/pacman.d/mirrorlist
for this you install curl with: (and python if you haven't installed it)
# pacman -S curl python
and then change to the /etc/pacman.d directory with:
# cd /etc/pacman.d
backup your mirrorlist file
# cp mirrorlist mirrorlist.backup
then it's time to rank (the more mirrors you uncomment, the longer it takes to find the best ones)
# rankmirrors -n 6 mirrorlist.backup> mirrorlist
this looks for the 6 best mirrors in the mirrorlist.backup file and when finished saves them in mirrorlist if you want them to be the best 8 "-n 8" and if you want more use common sense.
after that it remains to synchronize pacman with the new mirrors with:
#pacman-Syy
Thank you very much, I will take it into account to install my file. Regards.
Courage, I would like to know if possible why you use LXDE and what are the pros and cons. A few months ago I installed it from the Debian testing CD but the file manager had a bug and did not open by any means, therefore I proceeded to uninstall it and I was left without testing it.
Oscar, try Lubuntu and you will see that it is faster than lightning!
In my case it yields more because Arch uses KISS, those distros are very loaded (the * buntu)
But your installation is useless if you don't have internet. If you are going to tell me that I download them from a cyber internet, I better download a distro like opensuse or kubuntu.
I request permission from administrators to open an article about LXDE
Come on ... stop the nonsense HAHAHA, of course you can ... LOL
Let's see, in theory I take care of something else (although it's half dead) that's why I ask
You write what you want, that has no problem 😀
Just try to write something that is not repeated, for example if we already wrote a tutorial on how to install Debian + KDE, it doesn't make sense for you to do one of "Install KDE on Debian" 😉
If someone has installed arch linux in virtualbox and cannot update the repositories as it happened to me, the solution is:
In the etc / rc.conf, you only need to put in networking:
eth0 = »dhcp»
INTERFACES = (eth0)
And then pacman -Syu.
No, it doesn't work, at least it didn't work for me.
I have 3 days without being able to make arch work, it is definitely not for me.
Hi, I followed the guide installing kdebase and everything seemed quite simple to me, but when entering kde it was stuck in the splash and when double-clicking the screen blackened (gradually, as if it were a screensaver) and it has not the desktop appeared. Could it be something from the drivers?
And by the way, I cannot enter any other tty since giant stripes appear in the middle of the screen (?) And, entering in safe mode (failsafe), it does not ask for login in any of them.
Well, I already solved it. I had to reinstall everything and this time install the graphics drivers, before installing kde.
But I finally have my first Arch !! 🙂
Sure, the drivers go before
haha at good time, enjoy it 😀
With the arrival of "systemd" in ArchLinux (current ISO Dec 2012), there is no point talking about rc.conf.
I think this post should be updated. Do not take it bad.
Greetings…..
This post is more than a year old, gentleman, you cannot update every past post, but write new updated post if it is considered appropriate ...
useradd -m -g users -G audio, video, wheel, power, storage, optical, lp, games -s / bin / bash pedro
passwd pedro
and it tells me authentication failure can someone help me on this