$
, strip out $
as this character is not part of the commandcat << "EOF"
, select all lines at once (from cat << "EOF"
to EOF
inclusively) as they are part of the same (single) commandClick “Applications”, then “Favorites”, then “Configure persistent volume”, set passphrase, click “Create”, make sure “Personal Data” is enabled, click “Save” and, finally, click “Restart Now”.
Heads-up: if keyboard layout of computer isn’t “English (US)”, set “Keyboard Layout”.
Click “+” under “Additional Settings”, then “Administration Password”, set password, click “Add” and, finally, click “Start Tails”.
$ sudo apt update
$ sudo apt install -y python3-pip python3-setuptools
Heads-up: ignore “Failed building wheel for pyaes” error (if present).
$ torsocks pip3 install --user 'ckcc-protocol[cli]'
$ mkdir -p /home/amnesia/Persistent/.local
$ cp -r /home/amnesia/.local/{bin,lib} /home/amnesia/Persistent/.local/
$ torsocks curl --output /home/amnesia/Persistent/51-coinkite.rules https://raw.githubusercontent.com/Coldcard/ckcc-protocol/master/51-coinkite.rules
$ cat << "EOF" > /home/amnesia/Persistent/coldcard.sh
#! /bin/bash
set -e
if [ "$(id -u)" -ne 0 ]; then
echo 'Please run as root'
exit
fi
sudo cp /home/amnesia/Persistent/51-coinkite.rules /etc/udev/rules.d/
sudo -u amnesia cp -r /home/amnesia/Persistent/.local /home/amnesia/
echo 'export PATH=$PATH:$HOME/.local/bin' >> /home/amnesia/.bashrc
EOF
$ chmod +x /home/amnesia/Persistent/coldcard.sh
👍
Heads-up: if keyboard layout of computer isn’t “English (US)”, set “Keyboard Layout”.
Click “+” under “Additional Settings”, then “Administration Password”, set password, click “Add” and, finally, click “Start Tails”.
$ sudo /home/amnesia/Persistent/coldcard.sh
👍