Brief installation tutorial for ArchLinux

Source: Internet
Author: User
Tags gtk

The ArchLinux concise installation tutorial ArchLinux is an excellent release with extremely high customization and does not spend as much time compiling as Gentoo does. Installing ArchLinux is undoubtedly a familiarity and learning of the Linux release architecture. At present, the relevant online tutorials have basically expired, and there is no detailed description of the related software on the official wiki. Follow the steps in this article and you will eventually get an ArchLinux KDE environment. However, I have not configured a printer. For details, refer to Wikipedia cups. The installation can be divided into three parts: the installation of the driver of the basic system to install the desktop environment 1. there are many solutions for installing hard disk partitions in the basic system. If you are a newbie, you can divide it into only one partition. My solution is/boot ,/, the/home partition does not use swap because my notebook has 8 GB memory. 1 fdisk/dev/sda2 #/boot is sda1,/is sda2,/home is sda3 Install file system in sda {1, 2, 3} install ext4 File System 1mkfs. ext4/dev/sda12mkfs. ext4/dev/sda23mkfs. ext4/dev/sda3 mount partition 1 # mount/2 mount/dev/sda2/mnt3 # create boot and home to mount sda1 and sda34cd/mnt5mkdir boot6mkdir home7mount/dev/sda1/mnt/ boot8mount/dev/sda3/mnt/home to update the rule list. We recommend that you use mirrors.163.com in China, however, I found a problem with the 163 source during installation. Therefore, we recommend that you enable mirrors.ustc.edu.cn's default replica list to enable all source sources, therefore, we use sed to add # 1cd/etc/pacman to the front of all sources. d sed-I "s/^ \ B/#/g" audio list2nano audio list3 # Remove the # Above mirrors.ustc.edu.cn and mirrors.ustc.edu.cn 4 pacman-Syy install base system we only need to install base and base-devel1pacstrap /mnt base base-devel2 # If you want to use tools like ifconfig, add net-tools above to generate fstab. when starting the system, we need to mount the partition correctly, this requires fstab. Here I use UUID to identify 1 genfstab-U-p/mnt>/mnt/etc/fstab to change the directory 1arch-chroot/mnt/bin/bash to configure locale. open locale. gen 1cd/etc nano locale. gen2 # en_US.UTF-8, zh_CN.GBK, zh_CN.GB2312, zh_CN.GB18030, zh_CN.UTF-8 before # Remove 3locale-gen4echo LANG = zh_CN.UTF-8> locale. conf5nano vconsole. conf6 # input # KEYMAP = us # FONT = set the time zone 1ln-s/usr/share/zoneinfo/Asia/Shanghai/etc/localtime2 # the previous manjaro bug seems to affect my hardware clock read, if you have encountered some time problems, you can set the host name 1 echo Host Name>/etc/hostname to generate ramdisk. If you use/usr as an independent partition, you also need to configure mkinitcpio. conf, note 1 mkinitcpio-p linux User Configuration 1passwd2 # modify root Password 3 useradd-m-g users-G wheel-s/bin/bash username 4 passwd username install GRUB (non-UEFI) 1 pacman-S grub-bios2grub-install/dev/sda3cp/usr/share/locale/en \ @ quot/LC_MESSAGES/grub.mo/boot/grub/locale/en. mo4 # It is said that this step is to solve an unrepaired bug5grub-mkconfig-o/boot/grub. cfg restart 1 exit # Release chroot2umount/mnt/{home, boot} 3 umount/mnt4reboot2. driver Installation and installation ALSA (Sound Card) 1 pacman-S alsa-utils2alsamixer # adjust the volume to install the video card driver I use snb series processor core display 1 pacman-S mesa xf86-video-intel2 # I use intel Core display, install the synaptics driver 1 pacman-S xf86-input-synaptics3 on your wiki. install and install xorg1pacman-S xorg-server xorg-xinit xorg-utils xorg-server-utils In the desktop environment. Install KDE In the desktop environment. Here, KDE is used, of course, it is to minimize the installation of 1 pacman-S kdebase # all the way to the enter line 2 pacman-S kdemultimedia-kmix # volume adjustment 3 pacman-S kdeplasma-applets network- management # Network Management 4 systemctl enable networkManager. service # enable Network Management service 5 systemctl enable kdm. service # enable kdm to install common software 1 pacman-S synaptiks # touchpad Manager 2 pacman-S kde-gtk-config # gtk Theme Management 3 pacman-S kcm-fcitx-qt # fcitx Input Method 4 pacman-S kdeutils-ark kdeutils-kwallet # Install ark and kwallet, both of these are known.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.