Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/docs/installing
diff options
context:
space:
mode:
Diffstat (limited to 'docs/installing')
-rw-r--r--docs/installing/binary.rst10
-rw-r--r--docs/installing/python.rst8
2 files changed, 9 insertions, 9 deletions
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