Skip to content
This repository was archived by the owner on Aug 2, 2025. It is now read-only.

Commit 50fee80

Browse files
feat: rework 01_Installing_dependencies.mdx
1 parent 88352b4 commit 50fee80

File tree

1 file changed

+40
-20
lines changed

1 file changed

+40
-20
lines changed

docs/01 Introduction/01_Installing_dependencies.md renamed to docs/01 Introduction/01_Installing_dependencies.mdx

Lines changed: 40 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ slug: "introduction/installing-dependencies"
55
editUrl: https://github.com/learndaxa/Tutorial/edit/main/docs/01 Introduction/01_Installing_dependencies.md
66
---
77

8+
import { Steps } from '@astrojs/starlight/components';
9+
import { Tabs, TabItem } from '@astrojs/starlight/components';
10+
811
This guide walks you through installing the tools you need for Daxa development on **Windows** and **Linux**. If you’re experienced with Vulkan or C++, you may already have some of these tools.
912

1013
:::note
@@ -21,6 +24,8 @@ We’ll use the **Visual Studio compiler** on Windows (instead of Clang) due to
2124

2225
### 2. Clang & Ninja
2326

27+
<Steps>
28+
2429
1. **Install Chocolatey** (Windows package manager) from an **elevated** (administrator) PowerShell session:
2530

2631
```powershell
@@ -46,6 +51,8 @@ We’ll use the **Visual Studio compiler** on Windows (instead of Clang) due to
4651
choco install ninja
4752
```
4853

54+
</Steps>
55+
4956
### 3. Misc Tools
5057

5158
Install the following:
@@ -65,30 +72,43 @@ Download the [Vulkan SDK for Windows](https://vulkan.lunarg.com/sdk/home#windows
6572

6673
### 1. Install Basic Tools
6774

68-
For **Debian** based systems:
69-
70-
```bash
71-
sudo apt update
72-
sudo apt install ninja-build clang cmake git
73-
```
74-
75-
For **Arch** based systems:
76-
77-
```bash
78-
sudo pacman -Syu
79-
sudo pacman -S ninja-build clang cmake git
80-
```
75+
<Tabs syncKey="linux_distro_family">
76+
<TabItem label="Debian/Ubuntu">
77+
```bash
78+
sudo apt update
79+
sudo apt install ninja-build clang cmake git
80+
```
81+
</TabItem>
82+
<TabItem label="Arch">
83+
```bash
84+
sudo pacman -Syu
85+
sudo pacman -S ninja-build clang cmake git
86+
```
87+
</TabItem>
88+
</Tabs>
8189

8290
### 2. Vulkan SDK
8391

84-
Follow the [LunarG Vulkan SDK Installation Guide](https://vulkan.lunarg.com/doc/view/latest/linux/getting_started_ubuntu.html) for detailed steps on your distribution. Below are commands specifically for **Ubuntu 22.04 (Jammy)**:
92+
Follow the [LunarG Vulkan SDK Installation Guide](https://vulkan.lunarg.com/doc/view/latest/linux/getting_started.html) for detailed steps on your distribution.
8593

86-
```bash
87-
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
88-
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-jammy.list http://packages.lunarg.com/vulkan/lunarg-vulkan-jammy.list
89-
sudo apt update
90-
sudo apt install vulkan-sdk
91-
```
94+
<Tabs syncKey="linux_distro">
95+
<TabItem label="Ubuntu 24.04 (Noble Numbat)">
96+
```bash
97+
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
98+
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-noble.list http://packages.lunarg.com/vulkan/lunarg-vulkan-noble.list
99+
sudo apt update
100+
sudo apt install vulkan-sdk
101+
```
102+
</TabItem>
103+
<TabItem label="Ubuntu 22.04 (Jammy Jellyfish)">
104+
```bash
105+
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
106+
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-jammy.list http://packages.lunarg.com/vulkan/lunarg-vulkan-jammy.list
107+
sudo apt update
108+
sudo apt install vulkan-sdk
109+
```
110+
</TabItem>
111+
</Tabs>
92112

93113
If you’re using another distribution, see [LunarG’s official instructions](https://vulkan.lunarg.com/sdk/home#linux).
94114

0 commit comments

Comments
 (0)