Skip to content

Commit b3a06b5

Browse files
committed
updated linux installation article
1 parent 398e687 commit b3a06b5

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

net/getting-started/installation-linux.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,22 @@ Ensure the following tools and packages are installed:
1919

2020
- .NET 6.0 SDK or later: [Install .NET on Linux](https://learn.microsoft.com/en-us/dotnet/core/install/linux)
2121
- A Linux distribution such as Ubuntu, Debian, CentOS, or Alpine
22-
- `libgdiplus` and other native dependencies
22+
- `libgdiplus`, `fontconfig`, and basic font packages
2323

2424
To install the required packages:
2525

2626
### Ubuntu / Debian:
2727

2828
```bash
2929
sudo apt update
30-
sudo apt install -y libgdiplus libc6-dev libx11-dev libxext-dev libxrender-dev
30+
sudo apt install -y libgdiplus fontconfig ttf-mscorefonts-installer
3131
```
3232

3333
### CentOS / RHEL:
3434

3535
```bash
36-
sudo yum install -y libgdiplus libc6 libX11-devel libXext libXrender
36+
sudo yum install -y epel-release
37+
sudo yum install -y libgdiplus fontconfig msttcore-fonts-installer cabextract
3738
```
3839

3940
### Alpine (Minimal Docker / Linux Distros):
@@ -42,7 +43,7 @@ sudo yum install -y libgdiplus libc6 libX11-devel libXext libXrender
4243
apk add --no-cache libgdiplus fontconfig ttf-dejavu
4344
```
4445

45-
> If using Alpine with Docker, check the [Build in Docker - Alpine Linux](https://docs.groupdocs.com/conversion/net/build-in-docker-alpine-linux/) article.
46+
> If using Alpine with Docker, check the [Build in Docker - Alpine Linux](https://docs-qa.groupdocs.com/conversion/net/build-in-docker-alpine-linux/) article.
4647
4748
## Install GroupDocs.Conversion using .NET CLI
4849

@@ -68,13 +69,13 @@ dotnet run
6869

6970
## Headless Environments (Optional Fonts Setup)
7071

71-
In Linux containers or headless setups, you may need additional fonts for proper document rendering:
72+
In Linux containers or headless setups, fonts may be missing. You can install or configure them as follows:
7273

7374
```bash
74-
sudo apt install -y fonts-dejavu fonts-liberation
75+
sudo apt install -y fonts-dejavu ttf-mscorefonts-installer
7576
```
7677

77-
You can also copy custom fonts to `/usr/share/fonts` or configure `FontSettings.SetFontsFolder` in code.
78+
Or configure custom fonts in code using `FontSettings.SetFontsFolder`.
7879

7980
## Troubleshooting
8081

0 commit comments

Comments
 (0)