Arch Linux Jack Rosenthal CSM Linux Users Group 10 September 2015 - - PowerPoint PPT Presentation

arch linux
SMART_READER_LITE
LIVE PREVIEW

Arch Linux Jack Rosenthal CSM Linux Users Group 10 September 2015 - - PowerPoint PPT Presentation

Arch Linux Jack Rosenthal CSM Linux Users Group 10 September 2015 Slides available online at: https://github.com/jackrosenthal/lug-arch-presentation Jack Rosenthal Arch Linux What makes Arch different? Jack Rosenthal Arch Linux What makes


slide-1
SLIDE 1

Arch Linux

Jack Rosenthal

CSM Linux Users Group

10 September 2015 Slides available online at:

https://github.com/jackrosenthal/lug-arch-presentation

Jack Rosenthal Arch Linux

slide-2
SLIDE 2

What makes Arch different?

Jack Rosenthal Arch Linux

slide-3
SLIDE 3

What makes Arch different?

Arch Linux is a lightweight Linux distribution with a Keep it Simple philosophy.

Jack Rosenthal Arch Linux

slide-4
SLIDE 4

What makes Arch different?

Arch Linux is a lightweight Linux distribution with a Keep it Simple philosophy. Arch only provides you with a minimal base system, allowing you to pick and choose what you would like to install.

Jack Rosenthal Arch Linux

slide-5
SLIDE 5

What makes Arch different?

Arch Linux is a lightweight Linux distribution with a Keep it Simple philosophy. Arch only provides you with a minimal base system, allowing you to pick and choose what you would like to install. Arch is a rolling release system, so you will never have to upgrade to a new version of Arch.

Jack Rosenthal Arch Linux

slide-6
SLIDE 6

What makes Arch different?

Arch Linux is a lightweight Linux distribution with a Keep it Simple philosophy. Arch only provides you with a minimal base system, allowing you to pick and choose what you would like to install. Arch is a rolling release system, so you will never have to upgrade to a new version of Arch. Most system configuration is performed from the shell by editing simple text files.

Jack Rosenthal Arch Linux

slide-7
SLIDE 7

What makes Arch different?

Arch Linux is a lightweight Linux distribution with a Keep it Simple philosophy. Arch only provides you with a minimal base system, allowing you to pick and choose what you would like to install. Arch is a rolling release system, so you will never have to upgrade to a new version of Arch. Most system configuration is performed from the shell by editing simple text files. Arch strives to stay bleeding edge, and typically offers the latest stable versions of most software.

Jack Rosenthal Arch Linux

slide-8
SLIDE 8

What makes Arch different?

Arch Linux is a lightweight Linux distribution with a Keep it Simple philosophy. Arch only provides you with a minimal base system, allowing you to pick and choose what you would like to install. Arch is a rolling release system, so you will never have to upgrade to a new version of Arch. Most system configuration is performed from the shell by editing simple text files. Arch strives to stay bleeding edge, and typically offers the latest stable versions of most software. Arch isn’t just a Linux distribution, Arch is a lifestyle.

Jack Rosenthal Arch Linux

slide-9
SLIDE 9

Package Management

Unlike Windows and OS X, most Linux distributions include a package manager. A package manager allows you to install and update software without going through websites and untrusted install files.

Jack Rosenthal Arch Linux

slide-10
SLIDE 10

Package Management

Unlike Windows and OS X, most Linux distributions include a package manager. A package manager allows you to install and update software without going through websites and untrusted install files. Installing software (PDF viewer) on Windows

1 Open a web browser

Jack Rosenthal Arch Linux

slide-11
SLIDE 11

Package Management

Unlike Windows and OS X, most Linux distributions include a package manager. A package manager allows you to install and update software without going through websites and untrusted install files. Installing software (PDF viewer) on Windows

1 Open a web browser 2 Do a web search for Adobe Reader

Jack Rosenthal Arch Linux

slide-12
SLIDE 12

Package Management

Unlike Windows and OS X, most Linux distributions include a package manager. A package manager allows you to install and update software without going through websites and untrusted install files. Installing software (PDF viewer) on Windows

1 Open a web browser 2 Do a web search for Adobe Reader 3 Go to the webpage for Adobe Reader

Jack Rosenthal Arch Linux

slide-13
SLIDE 13

Package Management

Unlike Windows and OS X, most Linux distributions include a package manager. A package manager allows you to install and update software without going through websites and untrusted install files. Installing software (PDF viewer) on Windows

1 Open a web browser 2 Do a web search for Adobe Reader 3 Go to the webpage for Adobe Reader 4 Click download

Jack Rosenthal Arch Linux

slide-14
SLIDE 14

Package Management

Unlike Windows and OS X, most Linux distributions include a package manager. A package manager allows you to install and update software without going through websites and untrusted install files. Installing software (PDF viewer) on Windows

1 Open a web browser 2 Do a web search for Adobe Reader 3 Go to the webpage for Adobe Reader 4 Click download 5 Run adobereader installer.exe

Yikes! Who knows what this will do to your computer!

Jack Rosenthal Arch Linux

slide-15
SLIDE 15

Package Management

Unlike Windows and OS X, most Linux distributions include a package manager. A package manager allows you to install and update software without going through websites and untrusted install files. Installing software (PDF viewer) on Windows

1 Open a web browser 2 Do a web search for Adobe Reader 3 Go to the webpage for Adobe Reader 4 Click download 5 Run adobereader installer.exe

Yikes! Who knows what this will do to your computer!

6 Untick all the McAffe and other bloatware

Jack Rosenthal Arch Linux

slide-16
SLIDE 16

Package Management

Unlike Windows and OS X, most Linux distributions include a package manager. A package manager allows you to install and update software without going through websites and untrusted install files. Installing software (PDF viewer) on Windows

1 Open a web browser 2 Do a web search for Adobe Reader 3 Go to the webpage for Adobe Reader 4 Click download 5 Run adobereader installer.exe

Yikes! Who knows what this will do to your computer!

6 Untick all the McAffe and other bloatware 7 Profit?

Jack Rosenthal Arch Linux

slide-17
SLIDE 17

Package Management

Unlike Windows and OS X, most Linux distributions include a package manager. A package manager allows you to install and update software without going through websites and untrusted install files. Installing software (PDF viewer) on Windows

1 Open a web browser 2 Do a web search for Adobe Reader 3 Go to the webpage for Adobe Reader 4 Click download 5 Run adobereader installer.exe

Yikes! Who knows what this will do to your computer!

6 Untick all the McAffe and other bloatware 7 Profit? Not really... What happens when you need to update

everything on your system?

Jack Rosenthal Arch Linux

slide-18
SLIDE 18

Package Managment

Installing a PDF viewer on Arch Linux

1 Open your terminal and run

pacman -S zathura (one of my favourite PDF viewers)

Jack Rosenthal Arch Linux

slide-19
SLIDE 19

Package Managment

Installing a PDF viewer on Arch Linux

1 Open your terminal and run

pacman -S zathura (one of my favourite PDF viewers)

2 Pacman will tell you how much data it will need to download

and the total installed size, and additonally any dependencies zathura will need to run. Just press y to confirm you would like all this.

Jack Rosenthal Arch Linux

slide-20
SLIDE 20

Package Managment

Installing a PDF viewer on Arch Linux

1 Open your terminal and run

pacman -S zathura (one of my favourite PDF viewers)

2 Pacman will tell you how much data it will need to download

and the total installed size, and additonally any dependencies zathura will need to run. Just press y to confirm you would like all this.

Jack Rosenthal Arch Linux

slide-21
SLIDE 21

Package Managment

Installing a PDF viewer on Arch Linux

1 Open your terminal and run

pacman -S zathura (one of my favourite PDF viewers)

2 Pacman will tell you how much data it will need to download

and the total installed size, and additonally any dependencies zathura will need to run. Just press y to confirm you would like all this. Better yet, when you need to update everything on your system, just run pacman -Syu

Jack Rosenthal Arch Linux

slide-22
SLIDE 22

Installing Arch

1 Visit https://www.archlinux.org and download the latest

  • ISO. Copy this to a USB or other installation media.

Jack Rosenthal Arch Linux

slide-23
SLIDE 23

Installing Arch

1 Visit https://www.archlinux.org and download the latest

  • ISO. Copy this to a USB or other installation media.

2 Boot the installation media. Arch just gives you zsh and a

few convenient programs to install.

Jack Rosenthal Arch Linux

slide-24
SLIDE 24

Installing Arch

1 Visit https://www.archlinux.org and download the latest

  • ISO. Copy this to a USB or other installation media.

2 Boot the installation media. Arch just gives you zsh and a

few convenient programs to install.

3 Load your keyboard layout using loadkeys.

Jack Rosenthal Arch Linux

slide-25
SLIDE 25

Installing Arch

1 Visit https://www.archlinux.org and download the latest

  • ISO. Copy this to a USB or other installation media.

2 Boot the installation media. Arch just gives you zsh and a

few convenient programs to install.

3 Load your keyboard layout using loadkeys. 4 Connect to the network. You will need to start dchpcd on

your interface if you use DHCP.

Jack Rosenthal Arch Linux

slide-26
SLIDE 26

Installing Arch

1 Visit https://www.archlinux.org and download the latest

  • ISO. Copy this to a USB or other installation media.

2 Boot the installation media. Arch just gives you zsh and a

few convenient programs to install.

3 Load your keyboard layout using loadkeys. 4 Connect to the network. You will need to start dchpcd on

your interface if you use DHCP.

5 Partition your drive using your favourite (and appropriate)

tool (ex. cgdisk)

Jack Rosenthal Arch Linux

slide-27
SLIDE 27

Installing Arch

1 Visit https://www.archlinux.org and download the latest

  • ISO. Copy this to a USB or other installation media.

2 Boot the installation media. Arch just gives you zsh and a

few convenient programs to install.

3 Load your keyboard layout using loadkeys. 4 Connect to the network. You will need to start dchpcd on

your interface if you use DHCP.

5 Partition your drive using your favourite (and appropriate)

tool (ex. cgdisk)

6 Format your partitions using the filesystem of your choice.

You may choose to use LUKS for full disk encryption.

Jack Rosenthal Arch Linux

slide-28
SLIDE 28

Installing Arch

7 Mount your root filesystem at /mnt

# mount /dev/sdxY /mnt

Jack Rosenthal Arch Linux

slide-29
SLIDE 29

Installing Arch

7 Mount your root filesystem at /mnt

# mount /dev/sdxY /mnt

8 Mount any remaining partitions in their respective location in

/mnt. # mkdir -p /mnt/boot # mount /dev/sdxZ /mnt/boot

Jack Rosenthal Arch Linux

slide-30
SLIDE 30

Installing Arch

7 Mount your root filesystem at /mnt

# mount /dev/sdxY /mnt

8 Mount any remaining partitions in their respective location in

/mnt. # mkdir -p /mnt/boot # mount /dev/sdxZ /mnt/boot

9 Edit /etc/pacman.d/mirrorlist and uncomment some

good mirrors.

Jack Rosenthal Arch Linux

slide-31
SLIDE 31

Installing Arch

7 Mount your root filesystem at /mnt

# mount /dev/sdxY /mnt

8 Mount any remaining partitions in their respective location in

/mnt. # mkdir -p /mnt/boot # mount /dev/sdxZ /mnt/boot

9 Edit /etc/pacman.d/mirrorlist and uncomment some

good mirrors.

10 # pacstrap -i /mnt base base-devel zsh vim

Jack Rosenthal Arch Linux

slide-32
SLIDE 32

Installing Arch

7 Mount your root filesystem at /mnt

# mount /dev/sdxY /mnt

8 Mount any remaining partitions in their respective location in

/mnt. # mkdir -p /mnt/boot # mount /dev/sdxZ /mnt/boot

9 Edit /etc/pacman.d/mirrorlist and uncomment some

good mirrors.

10 # pacstrap -i /mnt base base-devel zsh vim 11 Generate your fstab. Check for errors afterwards.

# genfstab -U /mnt > /mnt/etc/fstab

Jack Rosenthal Arch Linux

slide-33
SLIDE 33

Installing Arch

12 chroot into your system. arch-chroot /mnt

/usr/bin/zsh

Jack Rosenthal Arch Linux

slide-34
SLIDE 34

Installing Arch

12 chroot into your system. arch-chroot /mnt

/usr/bin/zsh

13 Edit /etc/locale.gen and uncomment the locale of your

choice.

Jack Rosenthal Arch Linux

slide-35
SLIDE 35

Installing Arch

12 chroot into your system. arch-chroot /mnt

/usr/bin/zsh

13 Edit /etc/locale.gen and uncomment the locale of your

choice.

14 # locale-gen

Jack Rosenthal Arch Linux

slide-36
SLIDE 36

Installing Arch

12 chroot into your system. arch-chroot /mnt

/usr/bin/zsh

13 Edit /etc/locale.gen and uncomment the locale of your

choice.

14 # locale-gen 15 # echo LANG=en US.UTF-8 > /etc/locale.conf

Jack Rosenthal Arch Linux

slide-37
SLIDE 37

Installing Arch

12 chroot into your system. arch-chroot /mnt

/usr/bin/zsh

13 Edit /etc/locale.gen and uncomment the locale of your

choice.

14 # locale-gen 15 # echo LANG=en US.UTF-8 > /etc/locale.conf 16 Edit /etc/vconsole.conf and include your keyboard layout.

KEYMAP=wuly

Jack Rosenthal Arch Linux

slide-38
SLIDE 38

Installing Arch

12 chroot into your system. arch-chroot /mnt

/usr/bin/zsh

13 Edit /etc/locale.gen and uncomment the locale of your

choice.

14 # locale-gen 15 # echo LANG=en US.UTF-8 > /etc/locale.conf 16 Edit /etc/vconsole.conf and include your keyboard layout.

KEYMAP=wuly

17 # ln -sf /usr/share/zoneinfo/Zone/SubZone

/etc/localtime

Jack Rosenthal Arch Linux

slide-39
SLIDE 39

Installing Arch

12 chroot into your system. arch-chroot /mnt

/usr/bin/zsh

13 Edit /etc/locale.gen and uncomment the locale of your

choice.

14 # locale-gen 15 # echo LANG=en US.UTF-8 > /etc/locale.conf 16 Edit /etc/vconsole.conf and include your keyboard layout.

KEYMAP=wuly

17 # ln -sf /usr/share/zoneinfo/Zone/SubZone

/etc/localtime

18 # hwclock --sys-to-hc --utc

Jack Rosenthal Arch Linux

slide-40
SLIDE 40

Installing Arch

12 chroot into your system. arch-chroot /mnt

/usr/bin/zsh

13 Edit /etc/locale.gen and uncomment the locale of your

choice.

14 # locale-gen 15 # echo LANG=en US.UTF-8 > /etc/locale.conf 16 Edit /etc/vconsole.conf and include your keyboard layout.

KEYMAP=wuly

17 # ln -sf /usr/share/zoneinfo/Zone/SubZone

/etc/localtime

18 # hwclock --sys-to-hc --utc 19 Install bootloader

Jack Rosenthal Arch Linux

slide-41
SLIDE 41

Installing Arch

12 chroot into your system. arch-chroot /mnt

/usr/bin/zsh

13 Edit /etc/locale.gen and uncomment the locale of your

choice.

14 # locale-gen 15 # echo LANG=en US.UTF-8 > /etc/locale.conf 16 Edit /etc/vconsole.conf and include your keyboard layout.

KEYMAP=wuly

17 # ln -sf /usr/share/zoneinfo/Zone/SubZone

/etc/localtime

18 # hwclock --sys-to-hc --utc 19 Install bootloader 20 Configure network

Jack Rosenthal Arch Linux

slide-42
SLIDE 42

Installing Arch

12 chroot into your system. arch-chroot /mnt

/usr/bin/zsh

13 Edit /etc/locale.gen and uncomment the locale of your

choice.

14 # locale-gen 15 # echo LANG=en US.UTF-8 > /etc/locale.conf 16 Edit /etc/vconsole.conf and include your keyboard layout.

KEYMAP=wuly

17 # ln -sf /usr/share/zoneinfo/Zone/SubZone

/etc/localtime

18 # hwclock --sys-to-hc --utc 19 Install bootloader 20 Configure network 21 # passwd

Jack Rosenthal Arch Linux

slide-43
SLIDE 43

Installing Arch

12 chroot into your system. arch-chroot /mnt

/usr/bin/zsh

13 Edit /etc/locale.gen and uncomment the locale of your

choice.

14 # locale-gen 15 # echo LANG=en US.UTF-8 > /etc/locale.conf 16 Edit /etc/vconsole.conf and include your keyboard layout.

KEYMAP=wuly

17 # ln -sf /usr/share/zoneinfo/Zone/SubZone

/etc/localtime

18 # hwclock --sys-to-hc --utc 19 Install bootloader 20 Configure network 21 # passwd 22 # exit

Jack Rosenthal Arch Linux

slide-44
SLIDE 44

Installing Arch

12 chroot into your system. arch-chroot /mnt

/usr/bin/zsh

13 Edit /etc/locale.gen and uncomment the locale of your

choice.

14 # locale-gen 15 # echo LANG=en US.UTF-8 > /etc/locale.conf 16 Edit /etc/vconsole.conf and include your keyboard layout.

KEYMAP=wuly

17 # ln -sf /usr/share/zoneinfo/Zone/SubZone

/etc/localtime

18 # hwclock --sys-to-hc --utc 19 Install bootloader 20 Configure network 21 # passwd 22 # exit 23 # reboot

Jack Rosenthal Arch Linux

slide-45
SLIDE 45

Post-installation Recommendations

Create another user for yourself

Jack Rosenthal Arch Linux

slide-46
SLIDE 46

Post-installation Recommendations

Create another user for yourself Install a display server (X.org, wayland)

Jack Rosenthal Arch Linux

slide-47
SLIDE 47

Post-installation Recommendations

Create another user for yourself Install a display server (X.org, wayland) Install a login manager (SLiM, xdm, SDDM, lightdm, etc.)

Jack Rosenthal Arch Linux

slide-48
SLIDE 48

Post-installation Recommendations

Create another user for yourself Install a display server (X.org, wayland) Install a login manager (SLiM, xdm, SDDM, lightdm, etc.) Install a window manager (i3, xmonad, GNOME, etc.)

Jack Rosenthal Arch Linux

slide-49
SLIDE 49

Post-installation Recommendations

Create another user for yourself Install a display server (X.org, wayland) Install a login manager (SLiM, xdm, SDDM, lightdm, etc.) Install a window manager (i3, xmonad, GNOME, etc.) Install useful programs (dmenu, Firefox, Python, etc.)

Jack Rosenthal Arch Linux

slide-50
SLIDE 50

When things go wrong...

Jack Rosenthal Arch Linux

slide-51
SLIDE 51

When things go wrong...

Error messages can be terrifying when you aren’t prepared for them; but they can be fun when you have the right attitude. Just remember that you really haven’t hurt the computer’s feelings, and that nobody will hold the errors against you. — D. E. Knuth, the T EXbook, p. 30

Jack Rosenthal Arch Linux

slide-52
SLIDE 52

How to get help

Come to LUG! Send mail to our mailing list: lug@mailman.mines.edu Check the Arch Wiki: https://wiki.archlinux.org Post on the Arch BBS: https://bbs.archlinux.org Linux & Unix Stack Overflow: http://unix.stackexchange.com The Linux Documentation Project http://tldp.org

Jack Rosenthal Arch Linux