manjaro-get-iso/README.md
2023-08-24 08:57:38 +02:00

90 lines
3.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Download and verify a Manjaro ISO.
When I wrote the https://forum.manjaro.org/t/root-tip-how-to-forum-mini-guide-to-verify-iso-signature/146680 I vaguely recalled a shell script in the repo **manjaro-iso-downloader** but it doesn't work - at least not for me.
So I decided to wrap up some python code.
The tool provides a convenient way of downloading and verifying an ISO as they are listed on https://manjaro.org/download.
Neither Sway nor ARM is supported, sway because the files is located elsewhere and ARM because there is no signature.
## Get started
Besides the basic Python modules - the script relies on the Python requests module.
On Manjaro you dont need to install it - it is present as a dependency of pacman-mirrors.
## Setup
Besides the basic Python modules - the script relies on the Python requests module.
On Manjaro you don't need to install it - it is present as a dependency of pacman-mirrors.
## Manjaro
mkdir -p ~/.local/bin
git clone http://scm.nix.dk/root/manjaro-get-iso
cd manjaro-get-iso
chmod +x get-iso
cp get-iso ~/.local/bin/get-iso
### Other Linux
If you are using another Linux you can use requirements.txt to install the necessary dependency.
pip install -r requirements.txt
git clone http://scm.nix.dk/root/manjaro-get-iso
cd manjaro-get-iso
chmod +x get-iso
sudo cp get-iso /usr/local/bin/get-iso
## Usage
$ get-iso -h
usage: get-iso [-h] [-f] {plasma,xfce,gnome,budgie,cinnamon,i3,mate}
This tool will download a named Manjaro ISO and verify the signature
positional arguments:
{plasma,xfce,gnome,budgie,cinnamon,i3,mate}
edition e.g. plasma or xfce
options:
-h, --help show this help message and exit
-f, --full Download full ISO
get-iso version 0.1 - License GPL v3 or later
The script defaults to pull the minimal ISO and downloaded files is placed your home folder.
Example downloading **full mate** edition
```
get-iso mate -f
```
```
Downloading: manjaro-mate-22.0-230104-linux61.iso
Downloading: manjaro-mate-22.0-230104-linux61.iso.sig
Wait for verification ...
gpg: assuming signed data in 'manjaro-mate-22.0-230104-linux61.iso'
gpg: Signature made ons 04 jan 2023 12:48:04 CET
gpg: using RSA key 3B794DE6D4320FCE594F4171279E7CF5D8D56EC8
gpg: Good signature from "Manjaro Build Server <build@manjaro.org>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 3B79 4DE6 D432 0FCE 594F 4171 279E 7CF5 D8D5 6EC8
```
Another example downloading **minimal plasma**
```
get-iso plasma
```
```
$ get-iso plasma
Downloading: manjaro-kde-22.1.3-minimal-230529-linux61.iso
Downloading: manjaro-kde-22.1.3-minimal-230529-linux61.iso.sig
Wait for verification ...
gpg: assuming signed data in 'manjaro-kde-22.1.3-minimal-230529-linux61.iso'
gpg: Signature made man 29 maj 2023 11:46:55 CEST
gpg: using RSA key 3B794DE6D4320FCE594F4171279E7CF5D8D56EC8
gpg: Good signature from "Manjaro Build Server <build@manjaro.org>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 3B79 4DE6 D432 0FCE 594F 4171 279E 7CF5 D8D5 6EC8
```