arch
Розбіжності
Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.
| Порівняння попередніх версійПопередня ревізіяНаступна ревізія | Попередня ревізія | ||
| arch [2015/03/17 22:55] – [ArchLinux] systemd link added wombat | arch [2015/12/02 17:01] (поточний) – Установка программ wombat | ||
|---|---|---|---|
| Рядок 1: | Рядок 1: | ||
| ====== ArchLinux ====== | ====== ArchLinux ====== | ||
| + | |||
| + | ====== Установка ====== | ||
| + | |||
| + | ===== Из bootstrap ===== | ||
| + | |||
| + | cd / | ||
| + | wget http:// | ||
| + | |||
| + | gparted - создаём корневой раздел | ||
| + | |||
| + | < | ||
| + | user@desktop ~ $ sudo mkdir /mnt/tmp | ||
| + | user@desktop ~ $ sudo mount /dev/sda8 /mnt/tmp | ||
| + | user@desktop /mnt/tmp $ cd /mnt/tmp | ||
| + | user@desktop /mnt/tmp $ sudo tar -xvf / | ||
| + | user@desktop /mnt/tmp $ sudo mv < | ||
| + | user@desktop /mnt/tmp $ cd | ||
| + | user@desktop ~ $ sudo mount -o bind /dev / | ||
| + | user@desktop ~ $ sudo mount -t proc none / | ||
| + | user@desktop ~ $ sudo mount -o bind /sys / | ||
| + | user@desktop ~ $ sudo chroot /mnt/tmp | ||
| + | </ | ||
| + | |||
| + | <konsole root> | ||
| + | < | ||
| + | root@localhost / # mv / | ||
| + | root@localhost / # echo ' | ||
| + | root@localhost / # echo ' | ||
| + | root@localhost / # pacman -Sy | ||
| + | :: Synchronizing package databases... | ||
| + | | ||
| + | | ||
| + | | ||
| + | root@localhost / # pacman -S linux systemd-sysvcompat | ||
| + | resolving dependencies... | ||
| + | looking for conflicting packages... | ||
| + | |||
| + | Packages (6) grep-2.21-2 | ||
| + | | ||
| + | | ||
| + | |||
| + | Total Download Size: 85.43 MiB | ||
| + | Total Installed Size: 177.56 MiB | ||
| + | |||
| + | :: Proceed with installation? | ||
| + | :: Retrieving packages ... | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | (6/6) checking keys in keyring | ||
| + | (6/6) checking package integrity | ||
| + | (6/6) loading package files [###################### | ||
| + | (6/6) checking for file conflicts | ||
| + | (6/6) checking available disk space [###################### | ||
| + | (1/6) installing linux-firmware | ||
| + | (2/6) installing mkinitcpio-busybox | ||
| + | (3/6) installing grep [###################### | ||
| + | (4/6) installing mkinitcpio | ||
| + | Optional dependencies for mkinitcpio | ||
| + | xz: Use lzma or xz compression for the initramfs image [installed] | ||
| + | bzip2: Use bzip2 compression for the initramfs image [installed] | ||
| + | lzop: Use lzo compression for the initramfs image | ||
| + | lz4: Use lz4 compression for the initramfs image [installed] | ||
| + | mkinitcpio-nfs-utils: | ||
| + | (5/6) installing linux | ||
| + | >>> | ||
| + | >>> | ||
| + | ==> Building image from preset: / | ||
| + | -> -k / | ||
| + | ==> Starting build: 4.2.3-1-ARCH | ||
| + | -> Running build hook: [base] | ||
| + | -> Running build hook: [udev] | ||
| + | -> Running build hook: [autodetect] | ||
| + | -> Running build hook: [modconf] | ||
| + | -> Running build hook: [block] | ||
| + | -> Running build hook: [filesystems] | ||
| + | -> Running build hook: [keyboard] | ||
| + | -> Running build hook: [fsck] | ||
| + | ==> Generating module dependencies | ||
| + | ==> Creating gzip-compressed initcpio image: / | ||
| + | ==> Image generation successful | ||
| + | ==> Building image from preset: / | ||
| + | -> -k / | ||
| + | ==> Starting build: 4.2.3-1-ARCH | ||
| + | -> Running build hook: [base] | ||
| + | -> Running build hook: [udev] | ||
| + | -> Running build hook: [modconf] | ||
| + | -> Running build hook: [block] | ||
| + | ==> WARNING: Possibly missing firmware for module: aic94xx | ||
| + | ==> WARNING: Possibly missing firmware for module: wd719x | ||
| + | -> Running build hook: [filesystems] | ||
| + | -> Running build hook: [keyboard] | ||
| + | -> Running build hook: [fsck] | ||
| + | ==> Generating module dependencies | ||
| + | ==> Creating gzip-compressed initcpio image: / | ||
| + | ==> Image generation successful | ||
| + | Optional dependencies for linux | ||
| + | crda: to set the correct wireless channels of your country | ||
| + | (6/6) installing systemd-sysvcompat | ||
| + | |||
| + | [root@lubuntu /]# pacman -S grub | ||
| + | resolving dependencies... | ||
| + | looking for conflicting packages... | ||
| + | |||
| + | Packages (5) device-mapper-2.02.132-1 | ||
| + | | ||
| + | |||
| + | Total Download Size: 9.99 MiB | ||
| + | Total Installed Size: 49.03 MiB | ||
| + | |||
| + | :: Proceed with installation? | ||
| + | :: Retrieving packages ... | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | (5/5) checking keys in keyring | ||
| + | (5/5) checking package integrity | ||
| + | (5/5) loading package files [###################### | ||
| + | (5/5) checking for file conflicts | ||
| + | (5/5) checking available disk space [###################### | ||
| + | (1/5) installing glib2 | ||
| + | Optional dependencies for glib2 | ||
| + | python2: for gdbus-codegen and gtester-report | ||
| + | libelf: gresource inspection tool | ||
| + | (2/5) installing libunistring | ||
| + | (3/5) installing gettext | ||
| + | Optional dependencies for gettext | ||
| + | git: for autopoint infrastructure updates | ||
| + | (4/5) installing device-mapper | ||
| + | (5/5) installing grub [###################### | ||
| + | Generating grub.cfg.example config file... | ||
| + | This may fail on some machines running a custom kernel. | ||
| + | done. | ||
| + | Optional dependencies for grub | ||
| + | freetype2: For grub-mkfont usage | ||
| + | fuse: For grub-mount usage | ||
| + | dosfstools: For grub-mkrescue FAT FS and EFI support | ||
| + | efibootmgr: For grub-install EFI support | ||
| + | libisoburn: Provides xorriso for generating grub rescue iso using | ||
| + | grub-mkrescue | ||
| + | os-prober: To detect other OSes when generating grub.cfg in BIOS systems | ||
| + | mtools: For grub-mkrescue FAT FS support | ||
| + | |||
| + | # pacman -S sed | ||
| + | resolving dependencies... | ||
| + | looking for conflicting packages... | ||
| + | |||
| + | Packages (1) sed-4.2.2-3 | ||
| + | |||
| + | Total Download Size: 0.12 MiB | ||
| + | Total Installed Size: 0.76 MiB | ||
| + | |||
| + | :: Proceed with installation? | ||
| + | :: Retrieving packages ... | ||
| + | | ||
| + | (1/1) checking keys in keyring | ||
| + | (1/1) checking package integrity | ||
| + | (1/1) loading package files [###################### | ||
| + | (1/1) checking for file conflicts | ||
| + | (1/1) checking available disk space [###################### | ||
| + | (1/1) installing sed | ||
| + | |||
| + | pacman -S net-tools | ||
| + | resolving dependencies... | ||
| + | looking for conflicting packages... | ||
| + | |||
| + | Packages (1) net-tools-1.60.20130531git-1 | ||
| + | |||
| + | Total Download Size: 0.11 MiB | ||
| + | Total Installed Size: 0.45 MiB | ||
| + | |||
| + | :: Proceed with installation? | ||
| + | :: Retrieving packages ... | ||
| + | | ||
| + | (1/1) checking keys in keyring | ||
| + | (1/1) checking package integrity | ||
| + | (1/1) loading package files [###################### | ||
| + | (1/1) checking for file conflicts | ||
| + | (1/1) checking available disk space [###################### | ||
| + | (1/1) installing net-tools | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ====== Настройка ====== | ||
| [[systemd|systemd]] | [[systemd|systemd]] | ||
| - | ===== Ссылки ===== | + | ===== Установка программ ===== |
| + | |||
| + | ==== Официальные ==== | ||
| + | |||
| + | Программные пакеты из официального хранилища программ ArchLinux устанавливаются при помощи программы [[https:// | ||
| + | |||
| + | Обновление списка программ, | ||
| + | |||
| + | pacman -Sy | ||
| + | |||
| + | Поиск нужной программы. Например, | ||
| + | |||
| + | pacman -Ss geany | ||
| + | |||
| + | Если программа присутствует в списке, | ||
| + | |||
| + | pacman -S geany | ||
| + | |||
| + | ==== AUR ==== | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | Для установки пакетов из AUR, понадобится программа [[https:// | ||
| + | |||
| + | < | ||
| + | ~ $ mkdir package-query | ||
| + | ~ $ cd package-query | ||
| + | package-query $ wget -O PKGBUILD ' | ||
| + | package-query $ makepkg | ||
| + | package-query $ sudo pacman -U package-query-1.7-1-armv6h.pkg.tar.xz | ||
| + | package-query $ cd .. | ||
| + | ~ $ mkdir yaourt | ||
| + | ~ $ cd yaourt | ||
| + | yaourt $ wget -O PKGBUILD ' | ||
| + | yaourt $ makepkg | ||
| + | yaourt $ sudo pacman -U yaourt-1.7-1-any.pkg.tar.xz | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ====== Ссылки | ||
| https:// | https:// | ||
arch.1426632925.txt.bz2 · Востаннє змінено: повз wombat
