index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | docs/examples/binary.rst | 2 | ||||
-rw-r--r-- | docs/examples/python.rst | 2 | ||||
-rw-r--r-- | docs/installing/binary.rst | 10 | ||||
-rw-r--r-- | docs/installing/python.rst | 8 |
diff --git a/docs/examples/binary.rst b/docs/examples/binary.rst index 7b25e201..6940d591 100644 --- a/docs/examples/binary.rst +++ b/docs/examples/binary.rst @@ -15,7 +15,7 @@ As an example we'll use the `guided <https://github.com/Torxed/archinstall/blob/ To run the `guided` installed, all you have to do *(after installing or compiling the binary)*, is run: -.. code-block:: +.. code-block:: console ./archinstall guided diff --git a/docs/examples/python.rst b/docs/examples/python.rst index 6fdffcb7..45ea2c45 100644 --- a/docs/examples/python.rst +++ b/docs/examples/python.rst @@ -48,7 +48,7 @@ Calling a module Assuming you've followed the example in `Creating a script`_, you can now safely call it with: -.. code-block:: +.. code-block:: console python -m archinstall test_installer This should now print all available drives on your system. diff --git a/docs/installing/binary.rst b/docs/installing/binary.rst index 1cccecc7..db515363 100644 --- a/docs/installing/binary.rst +++ b/docs/installing/binary.rst @@ -19,7 +19,7 @@ We'll use the later for this example as it's less of a process to explain. Setup pacman to use https://archlinux.life as a mirror by modifying `/etc/pacman.conf` to contain the following: -.. code-block:: +.. code-block:: console [archlife] Server = https://archlinux.life/$repo/os/$arch @@ -27,7 +27,7 @@ Setup pacman to use https://archlinux.life as a mirror by modifying `/etc/pacman You can now update your mirror-list and install `archinstall`. -.. code-block:: +.. code-block:: console sudo pacman -Syy sudo pacman -S archinstall @@ -39,13 +39,13 @@ The `source <https://github.com/Torxed/archinstall>`_ contains a binary `PKGBUIL Once you've obtained the `PKGBUILD`, building it is pretty straight forward. -.. code-block:: +.. code-block:: console makepkg -s Which should produce a `archinstall-X.x.z-1.pkg.tar.zst` that can be installed using: -.. code-block:: +.. code-block:: console sudo pacman -U archinstall-X.x.z-1.pkg.tar.zst @@ -59,7 +59,7 @@ Manual compilation You can compile the source manually without using a custom mirror or the `PKGBUILD` that is shipped. Simply clone or download the source, and while standing in the cloned folder `./archinstall`, execute: -.. code-block:: +.. code-block:: console nuitka3 --standalone --show-progress archinstall diff --git a/docs/installing/python.rst b/docs/installing/python.rst index e09ed918..ae80e76e 100644 --- a/docs/installing/python.rst +++ b/docs/installing/python.rst @@ -15,13 +15,13 @@ Using PyPi The basic concept of PyPi applies using `pip`. Either as a global library: -.. code-block:: +.. code-block:: console sudo pip install archinstall Or as a user module: -.. code-block:: +.. code-block:: console pip --user install archinstall @@ -35,7 +35,7 @@ Manual installation You can either download the github repo as a zip archive. Or you can clone it, we'll clone it here but both methods work the same. -.. code-block:: +.. code-block:: console git clone https://github.com/Torxed/archinstall @@ -47,6 +47,6 @@ Either you can move the folder into your project and simply do Or you can use `setuptools <https://pypi.org/project/setuptools/>`_ to install it into the module path. -.. code-block:: +.. code-block:: console sudo python setup.py install
\ No newline at end of file |