From dcf5005af50bedeade8f3a237c18ea4d2f4895cf Mon Sep 17 00:00:00 2001 From: saikarna913 Date: Thu, 12 Dec 2024 13:00:32 +0530 Subject: [PATCH 1/2] Update dependencies.rst without sudo will result in an error, because apt requires elevated privileges to install packages on our system. --- doc/install/dependencies.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/install/dependencies.rst b/doc/install/dependencies.rst index ea1c6787b52b..6ca6c6c75b9c 100644 --- a/doc/install/dependencies.rst +++ b/doc/install/dependencies.rst @@ -256,7 +256,7 @@ source files. .. tab-item:: Linux On some Linux systems, you can install a meta-build package. For example, - on Ubuntu ``apt install build-essential`` + on Ubuntu ``sudo apt install build-essential`` Otherwise, use the system distribution's package manager to install :ref:`gcc `. From 27eebd6d40fcc0f310c0ec69620674ce8236861c Mon Sep 17 00:00:00 2001 From: saikarna913 Date: Sat, 14 Dec 2024 06:42:23 +0530 Subject: [PATCH 2/2] Update doc/install/dependencies.rst Co-authored-by: Thomas A Caswell --- doc/install/dependencies.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/install/dependencies.rst b/doc/install/dependencies.rst index 6ca6c6c75b9c..da4198386605 100644 --- a/doc/install/dependencies.rst +++ b/doc/install/dependencies.rst @@ -256,7 +256,7 @@ source files. .. tab-item:: Linux On some Linux systems, you can install a meta-build package. For example, - on Ubuntu ``sudo apt install build-essential`` + on Ubuntu ``apt install build-essential`` with elevated privileges. Otherwise, use the system distribution's package manager to install :ref:`gcc `.