Skip to content

Commit

Permalink
Add ubuntu 2404 references (#2559)
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
  • Loading branch information
spham-amzn authored and jhanca-robotecai committed Jul 4, 2024
1 parent 46a5978 commit 4dcf4b4
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 7 deletions.
59 changes: 53 additions & 6 deletions content/docs/welcome-guide/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,27 +129,74 @@ If the current CMake version was not returned because CMake cannot be found, loc
The primary Linux distribution for using the O3DE Editor is Ubuntu {{< versions/ubuntu >}}.

{{< note >}}
Support for Ubuntu on 64-bit ARMv8 processors is in an experimental stage.
Support for Ubuntu 24.04 LTS and Ubuntu on 64-bit ARMv8 processors is in an experimental stage.
{{< /note >}}

The following instructions describe how to retrieve and install the required software packages through Ubuntu's `apt` command-line utility.

### CMake {#linux-cmake}

As with the other operating systems, [CMake {{< versions/cmake >}} or later](https://cmake.org/download/#latest) is required to configure and build O3DE projects. We strongly recommend that you install the **Latest Release** of CMake rather than the default one provided by your current Linux distribution. If CMake is already installed, but does not match the minimum version, you can upgrade it to the current version from CMake's [download](https://cmake.org/download/) page.
As with the other operating systems, [CMake {{< versions/cmake >}} or later](https://cmake.org/download/#latest) is required to configure and build O3DE projects. We strongly recommend that you install the **Latest Release** of CMake rather than the default one provided by your current Linux distribution. If CMake is already installed, but does not match the minimum version, you will need to remove it with the following command.

```shell
sudo apt remove cmake
```

Install CMake using the instructions for the version of Ubuntu that you have installed:

{{< tabs name="CMake install" >}}
{{% tab name="22.04 LTS" %}}

You can install the default version of CMake for Ubuntu 22.04 LTS, which is version 3.22. To install more recent versions, refer to the CMake [download page](https://cmake.org/download/#latest).

```shell
sudo apt install cmake
```

{{% /tab %}}
{{% tab name="24.04 LTS" %}}

You can install the default version of CMake for Ubuntu 24.04 LTS, which is version 3.28. To install more recent versions, refer to the CMake [download page](https://cmake.org/download/#latest).

```shell
sudo apt install cmake
```

{{% /tab %}}
{{< /tabs >}}

Once installed, verify that the version meets the minimum version criteria.

```shell
cmake --version
```

### Clang

O3DE requires [Clang](https://clang.llvm.org/get_started.html) and the [GNU C++ Library](https://gcc.gnu.org/onlinedocs/libstdc++/) to compile all of the native C++ code. The minimum version of Clang required by O3DE is clang-12.
O3DE requires [Clang {{< versions/clang >}} or later](https://clang.llvm.org/get_started.html) and the [GNU C++ Library](https://gcc.gnu.org/onlinedocs/libstdc++/) to compile all of the native C++ code.

{{< note >}}
The default version of clang on Ubuntu 22.04 LTS is 14, which satisfies the minimum requirement. Installing clang and the GNU C++ Library can be done through `apt`.
Install Clang and the GNU C++ Library using the instructions for the version of Ubuntu that you have installed:

{{< tabs name="Clang install" >}}
{{% tab name="22.04 LTS" %}}

You can install the default version of Clang for Ubuntu 22.04 LTS, which is clang-14. You will also need to install the corresponding [GNU C++ Library](https://gcc.gnu.org/onlinedocs/libstdc++/).

```shell
sudo apt install libstdc++-12-dev clang
```

{{% /tab %}}
{{% tab name="24.04 LTS" %}}

You can install the default version of Clang for Ubuntu 24.04 LTS, which is clang-18. You will also need to install the corresponding [GNU C++ Library](https://gcc.gnu.org/onlinedocs/libstdc++/).

```shell
sudo apt install libstdc++-12-dev clang
```
{{< /note >}}

{{% /tab %}}
{{< /tabs >}}

### Vulkan supported video drivers

Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/download/content-linux.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h5>Minimum System Requirements</h5>
<ul>
<li>2.5 GHz Intel or AMD processor with 4 or more physical cores</li>
<li>8 GB RAM</li>
<li>DirectX 12, Vulkan-compatible, or Metal-compatible video card with 2 GB VRAM minimum</li>
<li>Vulkan-compatible video card with 2 GB VRAM minimum</li>
<ul>
<li>NVIDIA GeForce GTX 1060 with driver version 471.11 or later</li>
<li>AMD Radeon Pro 560 or higher with latest drivers</li>
Expand Down
1 change: 1 addition & 0 deletions layouts/shortcodes/versions/clang.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12

0 comments on commit 4dcf4b4

Please sign in to comment.