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:
parent
61866e346f
commit
beb6ab1ee5
|
|
@ -13,14 +13,11 @@ Pre-built ISO's can be found over at https://archlinux.life which autostarts arc
|
||||||
|
|
||||||
# Installation & Usage
|
# 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 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`.
|
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
|
## Running the [guided](examples/guided.py) installer
|
||||||
|
|
||||||
Assuming you are on a Arch Linux live-ISO and booted into EFI mode.
|
Assuming you are on a Arch Linux live-ISO and booted into EFI mode.
|
||||||
|
|
|
||||||
|
|
@ -12,24 +12,10 @@ For Arch Linux based systems, there's a package for this called `archinstall <ht
|
||||||
Using pacman
|
Using pacman
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Currently, you need to create your own mirror or use https://archlinux.life as a mirror.
|
Archinstall is on the `official repositories <https://wiki.archlinux.org/index.php/Official_repositories>`_.
|
||||||
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:
|
|
||||||
|
|
||||||
.. code-block:: console
|
.. 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
|
sudo pacman -S archinstall
|
||||||
|
|
||||||
Using PKGBUILD
|
Using PKGBUILD
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,23 @@ But the library can be installed manually as well.
|
||||||
.. warning::
|
.. 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.
|
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
|
Using PyPi
|
||||||
----------
|
----------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue