2019-10-10 00:52:42 -04:00
#  Linux System Prerequisites
## Supported Distributions and Versions
2025-08-07 15:49:02 -07:00
Please see "[Supported architectures and operating systems for self-hosted runners ](https://docs.github.com/en/actions/reference/runners/self-hosted-runners#linux )."
2019-10-10 00:52:42 -04:00
2025-08-14 10:30:04 +00:00
## Quick Setup
The `./config.sh` script will automatically check and guide you through installing .NET dependencies:
``` bash
./config.sh
# If dependencies are missing, run:
./bin/installdependencies.sh
```
## Install .NET Core Linux Dependencies
The `./config.sh` will check .NET Core dependencies during runner configuration.
You might see something like this which indicates a dependency is missing:
2019-10-10 00:52:42 -04:00
``` bash
./config.sh
libunwind.so.8 = > not found
libunwind-x86_64.so.8 = > not found
2021-12-15 12:16:11 -05:00
Dependencies is missing for Dotnet Core 6.0
Execute ./bin/installdependencies.sh to install any missing Dotnet Core 6.0 dependencies.
2019-10-10 00:52:42 -04:00
```
2025-08-14 10:30:04 +00:00
2019-10-10 00:52:42 -04:00
You can easily correct the problem by executing `./bin/installdependencies.sh` .
2021-09-15 07:35:25 -04:00
The `installdependencies.sh` script should install all required dependencies on all supported Linux versions
2019-10-10 00:52:42 -04:00
2025-08-14 10:30:04 +00:00
> **Note:** The `installdependencies.sh` script will try to use the default package management mechanism on your Linux flavor (ex. `yum`/`apt-get`/`apt`).
2019-10-24 16:52:29 -04:00
2025-08-14 10:30:04 +00:00
## Manual Dependency Installation
2019-10-24 16:52:29 -04:00
2025-08-14 10:30:04 +00:00
If the automatic installation doesn't work, you can manually install dependencies using your package manager:
### Debian based OS (Debian, Ubuntu, Linux Mint)
``` bash
sudo apt-get update
sudo apt-get install -y liblttng-ust1 libkrb5-3 zlib1g libssl1.1 libicu66
```
**Required packages: **
2022-06-15 19:37:02 +03:00
- liblttng-ust1 or liblttng-ust0
2021-09-15 07:35:25 -04:00
- libkrb5-3
2019-10-24 16:52:29 -04:00
- zlib1g
- libssl1.1, libssl1.0.2 or libssl1.0.0
- libicu63, libicu60, libicu57 or libicu55
2025-08-14 10:30:04 +00:00
### Fedora based OS (Fedora, Red Hat Enterprise Linux, CentOS, Oracle Linux 7)
``` bash
sudo yum install -y lttng-ust openssl-libs krb5-libs zlib libicu
# Or for newer systems:
sudo dnf install -y lttng-ust openssl-libs krb5-libs zlib libicu
```
2019-10-24 16:52:29 -04:00
2025-08-14 10:30:04 +00:00
**Required packages: **
2021-09-15 07:35:25 -04:00
- lttng-ust
- openssl-libs
2019-10-24 16:52:29 -04:00
- krb5-libs
- zlib
- libicu
2025-08-14 10:30:04 +00:00
### SUSE based OS (OpenSUSE, SUSE Enterprise)
2019-10-24 16:52:29 -04:00
2025-08-14 10:30:04 +00:00
``` bash
sudo zypper install -y lttng-ust libopenssl1_1 krb5 zlib libicu60_2
```
**Required packages: **
2019-10-24 16:52:29 -04:00
- lttng-ust
- libopenssl1_1
- krb5
- zlib
- libicu60_2
2025-08-14 10:30:04 +00:00
## Troubleshooting
### Common Issues
**Permission denied errors: **
``` bash
sudo chmod +x ./config.sh ./run.sh
```
**Missing dependencies after installation: **
``` bash
# Check what's missing
ldd ./bin/Runner.Listener
# Reinstall dependencies
./bin/installdependencies.sh
```
**SSL/TLS errors: **
``` bash
# Update certificates
sudo apt-get update && sudo apt-get install ca-certificates
# Or for RHEL/CentOS:
sudo yum update ca-certificates
```
### Getting Help
- Check our [troubleshooting guide ](../checks/README.md )
- Search [GitHub Community Discussions ](https://github.com/orgs/community/discussions/categories/actions )
- Review [common network issues ](../checks/network.md )
## [More .NET Core Prerequisites Information](https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x)