readme.md: include aria2 consistently, give MacPorts instructions

This adds the packages that provide aria2c to the prerequisite lists for
Linux distributions.

It also gives instructions for MacPorts on macOS. MacPorts is listed
before Homebrew because it should be considered preferred: all packages
needed here are available in the standard MacPorts repository, as
opposed to Homebrew which requires the use of an external source to
install an outdated version of chntpw.
This commit is contained in:
Mark Mentovai 2023-05-15 16:17:26 -04:00 committed by GitHub
parent 523e674cc0
commit d963f3043b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,32 +69,39 @@ This script uses the following commands to do its work:
* chntpw - to modify registry of first index of boot.wim * chntpw - to modify registry of first index of boot.wim
* genisoimage or mkisofs - to create ISO image * genisoimage or mkisofs - to create ISO image
###### Linux ##### Linux
If you use Debian or Ubuntu based distribution you can quickly install these Prerequisites can be installed using the distribution's package manager.
using the following command:
###### Debian-based distributions, including Ubuntu
```bash ```bash
sudo apt install cabextract wimtools chntpw genisoimage sudo apt install aria2 cabextract wimtools chntpw genisoimage
``` ```
If you use Arch Linux you can also install these using the following command: ###### Arch Linux
```bash ```bash
sudo pacman -S cabextract wimlib chntpw cdrtools sudo pacman -S aria2 cabextract wimlib chntpw cdrtools
``` ```
If you use Fedora you can also install these using the following command:
###### Fedora
```bash ```bash
sudo dnf install cabextract wimlib-utils chntpw genisoimage sudo dnf install aria2 cabextract wimlib-utils chntpw genisoimage
``` ```
If you use any other distribution, then you will need to check its repository If you use any other distribution, then you will need to check its repository
for packages needed to run this script. for packages needed to run this script.
###### macOS ##### macOS
macOS requires [Homebrew](https://brew.sh) to install the prerequisite software. macOS requires a package manager such as [MacPorts](https://macports.org) or
After Homebrew was installed, you can install the requirements using: [Homebrew](https://brew.sh) to install the prerequisite software. With a package
manager installed, you can install the prerequisites.
###### MacPorts
```bash
sudo port install aria2 cabextract cdrtools chntpw wimlib
```
###### Homebrew
```bash ```bash
brew tap sidneys/homebrew brew tap sidneys/homebrew
brew install aria2 cabextract wimlib cdrtools sidneys/homebrew/chntpw brew install aria2 cabextract wimlib cdrtools sidneys/homebrew/chntpw
``` ```