Win install cleanups; footer: add Twitter link

The MMGen Project 2023-11-30 09:11:51 +00:00
commit 4562cbf26a
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2

@ -78,32 +78,32 @@ $ ls 'C:\\msys64\etc' # the path as seen by Windows
#### <a id="a_ug1">Online install:</a>
> Update the package database and core system packages:
```text
$ pacman -Syu
```
>
> ```text
> $ pacman -Syu
> ```
>
> Exit and restart the MSYS2 terminal. Complete upgrading the system:
```text
$ pacman -Su
```
>
> ```text
> $ pacman -Su
> ```
#### <a id="a_ug2">Offline install:</a>
> You must now download the required database and package files on your online
> computer and then copy them to your offline box. A USB flash drive works
> ideally for this.
>
> Begin by updating the pacman database. The database files and their
> associated signatures can be listed by issuing the following command:
```text
$ ls /var/lib/pacman/sync
```
>
> ```text
> $ ls /var/lib/pacman/sync
> ```
>
> Download up-to-date versions of these files from the primary MSYS2 mirror:
>
>> <https://mirror.msys2.org/msys/x86_64/msys.db>
>> <https://mirror.msys2.org/msys/x86_64/msys.db.sig>
>> <https://mirror.msys2.org/mingw/x86_64/mingw64.db>
@ -118,46 +118,46 @@ $ ls /var/lib/pacman/sync
>> <https://mirror.msys2.org/mingw/clangarm64/clangarm64.db.sig>
>> <https://mirror.msys2.org/mingw/ucrt64/ucrt64.db>
>> <https://mirror.msys2.org/mingw/ucrt64/ucrt64.db.sig>
>
> Copy the files to your offline machine, replacing the originals at
> `C:\msys64\var\lib\pacman\sync`.
>
> Now issue the following command:
```text
$ pacman -Sup > urls.txt
```
>
> ```text
> $ pacman -Sup > urls.txt
> ```
>
> This command may cause your MSYS2 terminal window to close. If so, just
> reopen another one.
>
> The command's output is now saved in the file `urls.txt` (this redirection
> trick using `>` works for most shell commands, by the way). Copy `urls.txt`
> to your online machine and download the URLs listed in it.
>
> Create a new folder on your offline machine:
```text
$ mkdir packages1
```
>
> ```text
> $ mkdir packages1
> ```
>
> Transfer the downloaded package files to the offline machine and place them in
> this folder.
>
> Now issue the following command to install the packages:
```text
$ pacman -U packages1/*
```
>
> ```text
> $ pacman -U packages1/*
> ```
>
> When the process is finished, close your terminal window and reopen another
> one.
>
> Now reissue the `pacman -Sup` command, which may or may not generate another
> list of URLs. If it does, repeat the same download/copy/install procedure
> with the new URLs, only with a new `packages2` directory instead of
> `packages1`.
>
> Your system upgrade is now complete.
### <a id="a_md">3. Install MMGen Wallet’s MSYS2 dependencies</a>
@ -300,21 +300,21 @@ Now you’re ready to install MMGen Wallet itself.
Online install:
```text
$ python3 -m pip install mmgen-wallet
```
> ```text
> $ python3 -m pip install mmgen-wallet
> ```
Offline install:
```text
$ python3 -m pip download mmgen-wallet
```
> ```text
> $ python3 -m pip download mmgen-wallet
> ```
>
> Copy the downloaded tar.gz archive to your offline machine.
```text
$ python3 -m pip install --no-build-isolation mmgen-wallet.*tar.gz
```
>
> ```text
> $ python3 -m pip install --no-build-isolation mmgen-wallet.*tar.gz
> ```
#### <a id="a_mmd">Development version:</a>
@ -357,22 +357,22 @@ dependencies. From the MMGen repository root, type the following:
Online install:
```text
$ python3 -m pip install --no-deps -r eth-requirements.txt
```
> ```text
> $ python3 -m pip install --no-deps -r eth-requirements.txt
> ```
Offline install:
```text
$ python3 -m pip download --no-deps -r eth-requirements.txt
```
> ```text
> $ python3 -m pip download --no-deps -r eth-requirements.txt
> ```
>
> Transfer the downloaded files to your offline machine, `cd` to the directory
> containing the files and install them:
```text
$ python3 -m pip install --no-deps *.whl
```
>
> ```text
> $ python3 -m pip install --no-deps *.whl
> ```
### <a id="a_cd">11. Install and launch your coin daemons</a>
@ -436,23 +436,23 @@ your currently installed version by executing `mmgen-tool --version`.
Online upgrade:
```text
$ python3 -m pip install --upgrade mmgen-wallet
```
> ```text
> $ python3 -m pip install --upgrade mmgen-wallet
> ```
Offline upgrade:
> On your online machine:
```text
$ python3 -m pip download mmgen-wallet
```
>
> ```text
> $ python3 -m pip download mmgen-wallet
> ```
>
> Copy the downloaded tar.gz archive to your offline machine and execute:
```text
$ python3 -m pip install --no-build-isolation mmgen-wallet.*tar.gz
```
>
> ```text
> $ python3 -m pip install --no-build-isolation mmgen-wallet.*tar.gz
> ```
#### <a id="a_umd">Upgrade to latest development version:</a>
@ -461,19 +461,19 @@ following commands:
Online upgrade:
```text
$ git checkout master
$ git pull
$ rm -rf dist build *.egg-info
$ python3 -m build --no-isolation
$ python3 -m pip install dist/*.whl
```
> ```text
> $ git checkout master
> $ git pull
> $ rm -rf dist build *.egg-info
> $ python3 -m build --no-isolation
> $ python3 -m pip install dist/*.whl
> ```
Offline upgrade:
After the `git pull` step above, copy the updated repository to your offline
machine, `cd` to the root of the copied repository and perform the remaining
steps.
> After the `git pull` step above, copy the updated repository to your offline
> machine, `cd` to the root of the copied repository and perform the remaining
> steps.
[mh]: https://www.msys2.org
[mp]: https://sourceforge.net/projects/msys2