Skip to content

Commit

Permalink
Improve visibility of sudo tip to include 'tee' on https://adoptium.n…
Browse files Browse the repository at this point in the history
…et/installation/linux/ for future users (#1924)

* Improve visibility of sudo tip to include 'tee' on https://adoptium.net/installation/linux/ for future users

* refactor docs
  • Loading branch information
Ndacyayisenga-droid committed Jun 23, 2023
1 parent 3449e09 commit 81f4b6f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions content/asciidoc-pages/installation/linux/index.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= Linux (RPM/DEB/APK) installer packages
:page-authors: gdams, karianna, perlun, TheCrazyLex, TobiX, topaussie, sxa, tellison, luozhenyu
:page-authors: gdams, karianna, perlun, TheCrazyLex, TobiX, topaussie, sxa, tellison, luozhenyu, Ndacyayisenga-droid
:toc:
:icons: font

Expand All @@ -13,7 +13,12 @@ See link:/supported-platforms[Supported Platforms] for a list of our officially

[TIP]
====
On most Linux systems you must have superuser privileges to install packages such as Temurin. You may need to prefix the commands below with `sudo` for them to succeed.
Please note that on most Linux systems, superuser privileges are required to install packages such as Temurin. To ensure successful execution of the commands below, you may need to prefix them with `sudo`. Additionally, when adding the repository, consider using `sudo tee` to avoid potential permission issues. For example:
[source, bash]
----
echo "deb [arch=amd64] https://some.repository.url focal main" | sudo tee /etc/apt/sources.list.d/adoptium.list > /dev/null
----
By using `sudo tee`, you can write the repository entry to the appropriate file with elevated privileges, preventing any write permission errors. This ensures a smooth installation process."
====

== Eclipse Temurin Package Names
Expand Down

0 comments on commit 81f4b6f

Please sign in to comment.