Change the documentation now that archinstall is on the official repositories

Changed README.md to not use sudo pip anymore and point users to use pacman instead.
We go into more detail on the docs. Changed binary.rst to point to the official repositories
too. Changed python.rst to point to using the official repositories for the installation of
both the archinstall script or for just installing the library (archinstall depends on python-archinstall).
This commit is contained in:
Giancarlo Razzolini 2021-01-20 18:43:58 -03:00
parent 61866e346f
commit beb6ab1ee5
No known key found for this signature in database
GPG Key ID: F22FB1D78A77AEAB
3 changed files with 19 additions and 19 deletions

View File

@ -13,14 +13,11 @@ Pre-built ISO's can be found over at https://archlinux.life which autostarts arc
# Installation & Usage
$ sudo pip install archinstall
$ sudo pacman -S archinstall
Or simply `git clone` the repo as it has no external dependencies *(but there are optional ones)*.<br>
Or run the pre-compiled binary attached in every release as `archinstall-v[ver].tar.gz`.
There's also `PKGBUILD`'s for all the above scenarios.
And they are also available as Arch Linux packages over at the unofficial mirror [https://archlinux.life](https://archlinux.life/).
## Running the [guided](examples/guided.py) installer
Assuming you are on a Arch Linux live-ISO and booted into EFI mode.

View File

@ -12,24 +12,10 @@ For Arch Linux based systems, there's a package for this called `archinstall <ht
Using pacman
------------
Currently, you need to create your own mirror or use https://archlinux.life as a mirror.
We'll use the later for this example as it's less of a process to explain.
..note:: To create your own mirror, the `archiso <https://wiki.archlinux.org/index.php/archiso#Custom_local_repository>`_ wiki has a good tutorial and explanation of how and what a custom mirror does.
Setup pacman to use https://archlinux.life as a mirror by modifying `/etc/pacman.conf` to contain the following:
Archinstall is on the `official repositories <https://wiki.archlinux.org/index.php/Official_repositories>`_.
.. code-block:: console
[archlife]
Server = https://archlinux.life/$repo/os/$arch
SigLevel = Optional TrustAll
You can now update your mirror-list and install `archinstall`.
.. code-block:: console
sudo pacman -Syy
sudo pacman -S archinstall
Using PKGBUILD

View File

@ -9,6 +9,23 @@ But the library can be installed manually as well.
.. warning::
This is not required if you're running archinstall on a pre-built ISO. The installation is only required if you're creating your own scripted installations.
Using pacman
----------
Archinstall is on the `official repositories <https://wiki.archlinux.org/index.php/Official_repositories>`_.
To install both the library and the archinstall script:
.. code-block:: console
sudo pacman -S archinstall
Or, to install just the library:
.. code-block:: console
sudo pacman -S python-archinstall
Using PyPi
----------