aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2025-02-01 13:51:20 -0500
committerRob Austein <sra@hactrn.net>2025-02-01 13:51:20 -0500
commitf893ca4b3e6ed1f84e7602227acae0db28a6549b (patch)
tree456c85c3a95f68bc52bc451690de25da40a14355
parent1cd0b6e2178345c2e75070e3ad35f1cab967a9f8 (diff)
More formatting
-rw-r--r--content/BinaryPackages.md74
1 files changed, 37 insertions, 37 deletions
diff --git a/content/BinaryPackages.md b/content/BinaryPackages.md
index ab141c1..d34988c 100644
--- a/content/BinaryPackages.md
+++ b/content/BinaryPackages.md
@@ -19,58 +19,58 @@ CPU, and AVR ATtiny828 MCU.
want to pay attention to what `gpg --check-sig` says here.
```
- $ id=37A8E93F5D7E7B9A
- $ wget https://apt.cryptech.is/apt-gpg-key.gpg
- $ gpg --recv-key $id
- $ gpg --check-sig $id
- ```
+ id=37A8E93F5D7E7B9A
+ wget https://apt.cryptech.is/apt-gpg-key.gpg
+ gpg --recv-key $id
+ gpg --check-sig $id
+ ```
* Install the repository key. We used to use `apt-key(8)` for this,
these days the cool kids use the `/etc/apt/trusted.gpg.d/` directory:
```
- $ sudo chown root:root apt-gpg-key.gpg
- $ sudo mv apt-gpg-key.gpg /etc/apt/trusted.gpg.d/cryptech.gpg
+ sudo chown root:root apt-gpg-key.gpg
+ sudo mv apt-gpg-key.gpg /etc/apt/trusted.gpg.d/cryptech.gpg
```
* Configure apt to use the repository. You need to add a couple of
entries to `/etc/apt/source.list.d/`; which entries you need to add
depends on which distribution you're running.
- * For Debian Stretch, do:
+ * For Debian Stretch, do:
- ```
- $ sudo wget -q -O /etc/apt/sources.list.d/cryptech.list https://apt.cryptech.is/sources.stretch.list
- ```
+ ```
+ sudo wget -q -O /etc/apt/sources.list.d/cryptech.list https://apt.cryptech.is/sources.stretch.list
+ ```
- * For Debian Buster, do:
+ * For Debian Buster, do:
- ```
- $ sudo wget -q -O /etc/apt/sources.list.d/cryptech.list https://apt.cryptech.is/sources.buster.list
- ```
+ ```
+ sudo wget -q -O /etc/apt/sources.list.d/cryptech.list https://apt.cryptech.is/sources.buster.list
+ ```
- * For Ubuntu Xenial, do:
+ * For Ubuntu Xenial, do:
- ```
- $ sudo wget -q -O /etc/apt/sources.list.d/cryptech.list https://apt.cryptech.is/sources.xenial.list
- ```
+ ```
+ sudo wget -q -O /etc/apt/sources.list.d/cryptech.list https://apt.cryptech.is/sources.xenial.list
+ ```
- * For Ubuntu Bionic, do:
+ * For Ubuntu Bionic, do:
- ```
- $ sudo wget -q -O /etc/apt/sources.list.d/cryptech.list https://apt.cryptech.is/sources.bionic.list
- ```
+ ```
+ sudo wget -q -O /etc/apt/sources.list.d/cryptech.list https://apt.cryptech.is/sources.bionic.list
+ ```
* Update the package index.
```
- $ sudo apt-get update
+ sudo apt-get update
```
* Install the `cryptech-alpha` package.
```
- $ sudo apt-get install cryptech-alpha
+ sudo apt-get install cryptech-alpha
```
## Updating APT packages
@@ -79,8 +79,8 @@ Once you've performed the steps above you should be able to upgrade to newer
version of the code using the normal APT upgrade process:
```
-$ sudo apt-get update
-$ sudo apt-get upgrade
+sudo apt-get update
+sudo apt-get upgrade
```
## How to get Homebrew packages for Mac OS X
@@ -91,21 +91,21 @@ $ sudo apt-get upgrade
want to pay attention to what `gpg --check-sig` says here.
```
- $ id=37A8E93F5D7E7B9A
- $ gpg --recv-key $id
- $ gpg --check-sig $id
+ id=37A8E93F5D7E7B9A
+ gpg --recv-key $id
+ gpg --check-sig $id
```
* Configure Homebrew to use the repository.
```
- $ brew tap cryptech/sw https://brew.cryptech.is/tap
+ brew tap cryptech/sw https://brew.cryptech.is/tap
```
* Update the package index.
```
- $ brew update
+ brew update
```
* Check the commit signature on the cryptech-alpha package formula.
@@ -114,7 +114,7 @@ $ sudo apt-get upgrade
project, this is how to check.
```
- $ brew log --max-count=1 --show-signature cryptech-alpha
+ brew log --max-count=1 --show-signature cryptech-alpha
```
* Install the `cryptech-alpha` package. At the moment, this is only
@@ -123,7 +123,7 @@ $ sudo apt-get upgrade
minutes, as some of the libraries are a bit slow to compile (sorry...).
```
- $ brew install cryptech-alpha
+ brew install cryptech-alpha
```
## Updating Homebrew packages
@@ -132,7 +132,7 @@ Once you've performed the steps above you should be able to upgrade to newer
version of the code using the normal Homebrew upgrade process:
```
-$ brew update
-$ brew upgrade
-$ brew cleanup
+brew update
+brew upgrade
+brew cleanup
```