Skip to content

Commit 76a2a4b

Browse files
committed
Add note to provide command to install dependencies that are usually installed during build process.
1 parent 243c1a8 commit 76a2a4b

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

src/content/docs/installation/Linux/2-language-tools.mdx

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,38 @@ If the .NET installer does not automatically update your shell profile, you can
5151

5252
For C++, you should already have the necessary tools if you have a standard Linux development environment. No additional setup is required specifically for SplashKit.
5353

54+
:::note
55+
56+
If you have issues with the SplashKit installation, when building the library, you may need to install the dependencies separately.
57+
58+
Run the following command to install the dependencies for your distro:
59+
60+
<Tabs syncKey="linux-distro">
61+
<TabItem label="Ubuntu/Debian">
62+
63+
```shell
64+
sudo apt -y install cmake libpng-dev libcurl4-openssl-dev libsdl2-dev libsdl2-mixer-dev libsdl2-gfx-dev libsdl2-image-dev libsdl2-net-dev libsdl2-ttf-dev libmikmod-dev libncurses-dev libbz2-dev libflac-dev libvorbis-dev libwebp-dev libfreetype6-dev build-essential clang libstdc++-12-dev g++ gdb jq moreutils
65+
```
66+
67+
</TabItem>
68+
<TabItem label="Arch">
69+
70+
```shell
71+
sudo pacman -S --needed base-devel cmake libpng sdl2 sdl2_mixer sdl2_gfx sdl2_image sdl2_net sdl2_ttf libmikmod clang jq moreutils
72+
```
73+
74+
</TabItem>
75+
<TabItem label="Fedora">
76+
77+
```shell
78+
sudo dnf install cmake libpng-devel libcurl-devel SDL2-devel SDL2_mixer-devel SDL2_gfx-devel SDL2_image-devel SDL2_net-devel SDL2_ttf-devel libmikmod-devel ncurses-devel bzip2-devel flac-devel libvorbis-devel libwebp-devel freetype-devel clang jq moreutils
79+
```
80+
81+
</TabItem>
82+
</Tabs>
83+
84+
:::
85+
5486
### Python
5587

5688
Most Linux distributions include Python pre-installed. If Python isn’t installed, or if you need additional Python tools, follow the steps below.

0 commit comments

Comments
 (0)