Changed order of steps

This commit is contained in:
Sun Knudsen 2021-05-11 09:32:13 -04:00
parent 5711e325fe
commit 8e508fbfdf
No known key found for this signature in database
GPG Key ID: 1FA767862BBD1305

View File

@ -33,7 +33,33 @@ Replace `10.0.1.248` with IP of Raspberry Pi.
ssh pi@10.0.1.248 -i ~/.ssh/pi ssh pi@10.0.1.248 -i ~/.ssh/pi
``` ```
### Step 2 (optional): install [Adafruit PiTFT monitor](https://www.adafruit.com/product/2423) drivers and disable console auto login ### Step 2: configure keyboard keymap
> Heads-up: following instructions are for [Raspberry Pi keyboard](https://www.raspberrypi.org/products/raspberry-pi-keyboard-and-hub/) (US model).
> Heads-up: when asked to reboot, select “No” and press enter.
```shell
sudo raspi-config
```
Select “Localisation Options”, then “Keyboard”, then “Generic 105-key PC (intl.)”, then “Other”, then “English (US)”, then “English (US)”, then “The default for the keyboard layout”, then “No compose key” and finally “Finish”.
### Step 3: install dependencies available on repositories
```console
$ sudo apt update
$ sudo apt install -y expect fim imagemagick python3-pip python3-rpi.gpio
$ pip3 install mnemonic pillow qrcode --user
$ echo -e "export GPG_TTY=\"\$(tty)\"\nexport PATH=\$PATH:/home/pi/.local/bin" >> ~/.bashrc
$ source ~/.bashrc
```
### Step 4 (optional): install [Adafruit PiTFT monitor](https://www.adafruit.com/product/2423) drivers and disable console auto login
#### Install Adafruit PiTFT monitor drivers #### Install Adafruit PiTFT monitor drivers
@ -44,7 +70,7 @@ ssh pi@10.0.1.248 -i ~/.ssh/pi
```console ```console
$ sudo apt update $ sudo apt update
$ sudo apt install -y git python3-pip python3-rpi.gpio $ sudo apt install -y git python3-pip
$ sudo pip3 install adafruit-python-shell click==7.0 $ sudo pip3 install adafruit-python-shell click==7.0
@ -69,32 +95,6 @@ sudo raspi-config
Select “System Options”, then “Boot / Auto Login”, then “Console” and finally “Finish”. Select “System Options”, then “Boot / Auto Login”, then “Console” and finally “Finish”.
### Step 3: configure keyboard keymap
> Heads-up: following instructions are for [Raspberry Pi keyboard](https://www.raspberrypi.org/products/raspberry-pi-keyboard-and-hub/) (US model).
> Heads-up: when asked to reboot, select “No” and press enter.
```shell
sudo raspi-config
```
Select “Localisation Options”, then “Keyboard”, then “Generic 105-key PC (intl.)”, then “Other”, then “English (US)”, then “English (US)”, then “The default for the keyboard layout”, then “No compose key” and finally “Finish”.
### Step 4: install dependencies available on repositories
```console
$ sudo apt update
$ sudo apt install -y expect fim imagemagick
$ pip3 install mnemonic pillow qrcode --user
$ echo -e "export GPG_TTY=\"\$(tty)\"\nexport PATH=\$PATH:/home/pi/.local/bin" >> ~/.bashrc
$ source ~/.bashrc
```
### Step 5: install [zbar](https://github.com/mchehab/zbar) from source ### Step 5: install [zbar](https://github.com/mchehab/zbar) from source
#### Install zbar dependencies #### Install zbar dependencies