User:Ryanpcmcquen/Quick install command set for Arch Linux (goes to startx)

From ArchWiki
Revision as of 14:39, 15 July 2013 by Halosghost (Talk | contribs) (Removed silly copyright notice)

Jump to: navigation, search

Arch Linux 2013 install guide by Ryan P.C. McQuen

KNOW YOUR SYSTEM!

This works on my 64-bit & 32-bit system.

-2013.06.01 arch iso, the torrent is best <you should be fine on the 2013.07.01 install media, and any future ones until the process changes)

Start with wired internet (or not!).

If not, do this:

 iw dev
 wifi-menu <your-network-interface>


-wlo1 is my wifi-card, iw dev will tell you what yours is

-johndoe is a placeholder, as is /dev/sda1

-run fdisk or gdisk for partition table and such (don't forget to make partitions bootable!)

-for gdisk (if you have a legacy bios), make sure to set attribute 'legacy bios bootable' (under expert menu)


 mkfs.ext4 /dev/sda1


 nano /etc/pacman.d/mirrorlist  ##if you want to move the mirrors around


 mount /dev/sda1 /mnt
 pacstrap /mnt base base-devel
 genfstab -p /mnt >> /mnt/etc/fstab
 arch-chroot /mnt


 nano /etc/locale.gen
 ##uncomment your locale (the utf-8 one)
 locale-gen


 ln -s /usr/share/zoneinfo/America/Los_Angeles /etc/localtime  ##or whatever your time zone is
 hwclock --systohc --utc
 ##nano /etc/hostname, if you wish


 nano /etc/pacman.conf
 ##change SigLevel = Never
 ##(include multilib for 64-bit)
 ##include this repo for mate desktop:
 #[mate]
 #SigLevel = Optional TrustAll
 #Server = http://repo.mate-desktop.org/archlinux/$arch
 pacman -Syy


 pacman -S wpa_supplicant wpa_actiond iw ifplugd dialog wireless_tools


 passwd
 useradd -m -g users -G audio,disk,floppy,games,locate,lp,network,optical,power,scanner,storage,sys,uucp,video,wheel -s /bin/bash johndoe
 passwd johndoe
 visudo
 ##uncomment:
 %wheel ALL=(ALL) ALL
 ##and add:
 johndoe ALL=(ALL) ALL
 pacman -S syslinux gptfdisk
 syslinux-install_update -i -a -m
 syslinux-install_update -u
 #make sure root partition is set to boot
 nano /boot/syslinux/syslinux.cfg
 exit
 umount /mnt
 reboot


 iw dev
 sudo wifi-menu


 sudo pacman -Syyu alsa-utils alsa-firmware pulseaudio-alsa git wget
 sudo pacman -S xorg xorg-xinit xorg-server-utils mesa xorg-twm xorg-xclock xterm ttf-ubuntu-font-family ttf-droid ttf-liberation libtxc_dxtn
 ##lib32-libtxc_dxtn
 ##amd-ucode or intel-ucode
 ##lib32-ati-dri, lib32-intel-dri or lib32-nouveau-dri (for 64 bit)
 ##then a de:
 sudo pacman -S gnome gnome-extra gnome-shell-extensions gksu chromium firefox vlc
 ##flashplugin, lib32-flashplugin, libreoffice
 ##or for xmonad: sudo pacman -S xmonad-contrib dmenu scrot chromium firefox vlc
 ##or for mate: sudo pacman -S mate mate-extra mate-extras gksu chromium firefox vlc
 ##or for e17: sudo pacman -S enlightenment17 connman chromium firefox vlc midori
 ##later get econnman & terminology with packer
 nano ~/.xinitrc
 ##and add:
 exec gnome-session
 ##or exec xmonad
 ##or exec mate-session
 ##or exec enlightenment_start
 ##or sudo systemctl enable gdm, then gdm will start automatically at boot
 ##also, sudo systemctl enable NetworkManager (if you wish)
 startx
 ##or xinit mate-session  ##et cetera
 ##get packer tarball or preferred aur-helper if you desire from the aur
 tar xzf packer.tar.gz
 ##then in the packer directory:
 makepkg -s
 ##whatever the resulting package is called, best to make an aur directory somewhere
 sudo pacman -U /path/to/pkg.tar.xz
 sudo packer -Syyu
 sudo packer -S sublime-text-nightly google-chrome-beta spotify ffmpeg-spotify
 ##packer will install with packman, if available in the normal repos


enjoy your freedom

 ##.pc