[PATCH] docs: Correct installation instruction

I Hsin Cheng posted 1 patch 11 months, 1 week ago
Documentation/admin-guide/workload-tracing.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] docs: Correct installation instruction
Posted by I Hsin Cheng 11 months, 1 week ago
Ammend missing "install" operation keyword after "apt-get", and fix
"build-essentials" to "build-essential".

Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
---
 Documentation/admin-guide/workload-tracing.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/admin-guide/workload-tracing.rst b/Documentation/admin-guide/workload-tracing.rst
index 6be38c1b9c5b..d6313890ee41 100644
--- a/Documentation/admin-guide/workload-tracing.rst
+++ b/Documentation/admin-guide/workload-tracing.rst
@@ -82,7 +82,7 @@ Install tools to build Linux kernel and tools in kernel repository.
 scripts/ver_linux is a good way to check if your system already has
 the necessary tools::
 
-  sudo apt-get build-essentials flex bison yacc
+  sudo apt-get install build-essential flex bison yacc
   sudo apt install libelf-dev systemtap-sdt-dev libslang2-dev libperl-dev libdw-dev
 
 cscope is a good tool to browse kernel sources. Let's install it now::
-- 
2.43.0
Re: [PATCH] docs: Correct installation instruction
Posted by Jonathan Corbet 11 months ago
I Hsin Cheng <richard120310@gmail.com> writes:

> Ammend missing "install" operation keyword after "apt-get", and fix
> "build-essentials" to "build-essential".
>
> Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
> ---
>  Documentation/admin-guide/workload-tracing.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/admin-guide/workload-tracing.rst b/Documentation/admin-guide/workload-tracing.rst
> index 6be38c1b9c5b..d6313890ee41 100644
> --- a/Documentation/admin-guide/workload-tracing.rst
> +++ b/Documentation/admin-guide/workload-tracing.rst
> @@ -82,7 +82,7 @@ Install tools to build Linux kernel and tools in kernel repository.
>  scripts/ver_linux is a good way to check if your system already has
>  the necessary tools::
>  
> -  sudo apt-get build-essentials flex bison yacc
> +  sudo apt-get install build-essential flex bison yacc
>    sudo apt install libelf-dev systemtap-sdt-dev libslang2-dev libperl-dev libdw-dev

Applied, thanks.

jon
Re: [PATCH] docs: Correct installation instruction
Posted by Charlie Jenkins 11 months, 1 week ago
On Thu, Mar 06, 2025 at 11:07:08AM +0800, I Hsin Cheng wrote:
> Ammend missing "install" operation keyword after "apt-get", and fix
> "build-essentials" to "build-essential".
> 
> Signed-off-by: I Hsin Cheng <richard120310@gmail.com>

Reviewed-by: Charlie Jenkins <charlie@rivosinc.com>

> ---
>  Documentation/admin-guide/workload-tracing.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/admin-guide/workload-tracing.rst b/Documentation/admin-guide/workload-tracing.rst
> index 6be38c1b9c5b..d6313890ee41 100644
> --- a/Documentation/admin-guide/workload-tracing.rst
> +++ b/Documentation/admin-guide/workload-tracing.rst
> @@ -82,7 +82,7 @@ Install tools to build Linux kernel and tools in kernel repository.
>  scripts/ver_linux is a good way to check if your system already has
>  the necessary tools::
>  
> -  sudo apt-get build-essentials flex bison yacc
> +  sudo apt-get install build-essential flex bison yacc
>    sudo apt install libelf-dev systemtap-sdt-dev libslang2-dev libperl-dev libdw-dev
>  
>  cscope is a good tool to browse kernel sources. Let's install it now::
> -- 
> 2.43.0
>