From beb6ab1ee500b4f555eb07f37232ba6c507609c9 Mon Sep 17 00:00:00 2001 From: Giancarlo Razzolini Date: Wed, 20 Jan 2021 18:43:58 -0300 Subject: 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). --- README.md | 5 +---- docs/installing/binary.rst | 16 +--------------- docs/installing/python.rst | 17 +++++++++++++++++ 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index bee40ace..663e7e2c 100644 --- a/README.md +++ b/README.md @@ -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)*.
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. diff --git a/docs/installing/binary.rst b/docs/installing/binary.rst index db515363..fa331e48 100644 --- a/docs/installing/binary.rst +++ b/docs/installing/binary.rst @@ -12,24 +12,10 @@ For Arch Linux based systems, there's a package for this called `archinstall `_ 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 - - [archlife] - Server = https://archlinux.life/$repo/os/$arch - SigLevel = Optional TrustAll - -You can now update your mirror-list and install `archinstall`. +Archinstall is on the `official repositories `_. .. code-block:: console - sudo pacman -Syy sudo pacman -S archinstall Using PKGBUILD diff --git a/docs/installing/python.rst b/docs/installing/python.rst index ca34b1af..44606166 100644 --- a/docs/installing/python.rst +++ b/docs/installing/python.rst @@ -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 `_. + +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 ---------- -- cgit v1.2.3-70-g09d2