How To Install ldc-libs on Fedora 36

In this tutorial we learn how to install ldc-libs in Fedora 36. ldc-libs is LLVM D Compiler libraries

Introduction

In this tutorial we learn how to install ldc-libs on Fedora 36.

What is ldc-libs

LDC is a portable compiler for the D programming language with modern optimization and code generation capabilities. This package contains the Phobos D standard library and the D runtime library.


We can use yum or dnf to install ldc-libs on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ldc-libs.

title: “How To Install ldc-libs on Fedora 36” linkTitle: “ldc-libs”

Install ldc-libs on Fedora 36 Using dnf

type: “docs” Update yum database with dnf using the following command. description: “In this tutorial we learn how to install ldc-libs in Fedora 36. ldc-libs is LLVM D Compiler libraries”

date: "2022-08-17"
lastmod: "2022-08-17"
sudo dnf makecache --refresh

#image: /images/fedora/36/ldc-libs-featured.png


Introduction

After updating yum database, We can install ldc-libs using dnf by running the following command:

sudo dnf -y install ldc-libs

In this tutorial we learn how to install ldc-libs on Fedora 36.

Install ldc-libs on Fedora 36 Using yum

What is ldc-libs

Update yum database with yum using the following command.

LDC is a portable compiler for the D programming language with modern optimization and code generation capabilities. This package contains the Phobos D standard library and the D runtime library.

We can use `yum` or `dnf` to install `ldc-libs` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ldc-libs.
sudo yum makecache --refresh

Install ldc-libs on Fedora 36 Using dnf

After updating yum database, We can install ldc-libs using yum by running the following command:

Update yum database with dnf using the following command.


sudo yum -y install ldc-libs
```bash

sudo dnf makecache –refresh

How To Uninstall ldc-libs on Fedora 36



To uninstall only the `ldc-libs` package we can use the following command:
After updating yum database, We can install `ldc-libs` using `dnf` by running the following command:


```bash
sudo dnf remove ldc-libs

ldc-libs Package Contents on Fedora 36

```bash
sudo dnf -y install ldc-libs

Install ldc-libs on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ldc-libs using yum by running the following command:

sudo yum -y install ldc-libs

How To Uninstall ldc-libs on Fedora 36

To uninstall only the ldc-libs package we can use the following command:

sudo dnf remove ldc-libs

ldc-libs Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/34
/usr/lib/.build-id/34/0e943a63a7dfa1a664ebab2b649dc1b23b73de
/usr/lib/.build-id/48
/usr/lib/.build-id/48/f317d80a6cf5d71c0944896f290cc327601ea3
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/a2c542680e08896541138341d41a1d902ede24
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/81547a01af94a170989907c58e150c2a85a9e1
/usr/lib/libdruntime-ldc-debug-shared.so.2.0.97
/usr/lib/libdruntime-ldc-debug-shared.so.97
/usr/lib/libdruntime-ldc-shared.so.2.0.97
/usr/lib/libdruntime-ldc-shared.so.97
/usr/lib/libphobos2-ldc-debug-shared.so.2.0.97
/usr/lib/libphobos2-ldc-debug-shared.so.97
/usr/lib/libphobos2-ldc-shared.so.2.0.97
/usr/lib/libphobos2-ldc-shared.so.97
/usr/share/licenses/ldc-libs
/usr/share/licenses/ldc-libs/LICENSE.txt
/usr/share/licenses/ldc-libs/LICENSE_1_0.txt

References

Summary

In this tutorial we learn how to install ldc-libs on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id /usr/lib/.build-id/09 /usr/lib/.build-id/09/154277103218748cde813d2bfbd866e5c8e040 /usr/lib/.build-id/51 /usr/lib/.build-id/51/007a592f72acc1aa9c7d9547307d79282f5cdd /usr/lib/.build-id/9e /usr/lib/.build-id/9e/31de82283e614e034cb2d42716e727f22e9b2a /usr/lib/.build-id/d4 /usr/lib/.build-id/d4/49d192684278e49ea53c217d393d098cf174c3 /usr/lib64/libdruntime-ldc-debug-shared.so.2.0.97 /usr/lib64/libdruntime-ldc-debug-shared.so.97 /usr/lib64/libdruntime-ldc-shared.so.2.0.97 /usr/lib64/libdruntime-ldc-shared.so.97 /usr/lib64/libphobos2-ldc-debug-shared.so.2.0.97 /usr/lib64/libphobos2-ldc-debug-shared.so.97 /usr/lib64/libphobos2-ldc-shared.so.2.0.97 /usr/lib64/libphobos2-ldc-shared.so.97 /usr/share/licenses/ldc-libs /usr/share/licenses/ldc-libs/LICENSE.txt /usr/share/licenses/ldc-libs/LICENSE_1_0.txt


## References

* [ldc-libs website](https://github.com/ldc-developers/ldc)

## Summary

In this tutorial we learn how to install `ldc-libs` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).