#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 17. Networking Libraries

- Prev

  Networking Libraries

- Next

  cURL-8.12.1

- Up
- Home

# c-ares-1.34.4

## Introduction to c-ares

c-ares is a C library for asynchronous DNS requests.

This package is known to build and work properly using an LFS 12.3 platform.

### Package Information

- Download (HTTP): https://github.com/c-ares/c-ares/releases/download/v1.34.4/c-ares-1.34.4.tar.gz

- Download MD5 sum: 136230025fc9c9d510cb29fdc998a6ea

- Download size: 977 KB

- Estimated disk space required: 11 MB

- Estimated build time: 0.1 SBU

### c-ares Dependencies

#### Required

CMake-3.31.5

## Installation of c-ares

Install c-ares by running the following commands:

    mkdir build &&
    cd    build &&

    cmake  -D CMAKE_INSTALL_PREFIX=/usr .. &&
    make

This package does not include a test suite.

Now, as the `root` user:

    make install

## Contents

Installed Programs: adig and ahost
Installed Libraries: libcares.so
Installed Directories: None

### Short Descriptions

adig | queries information from DNS servers
ahost | prints the A or AAAA record associated with a hostname or IP address
`libcares.so` | is a C library for asynchronous DNS requests

- Prev

  Networking Libraries

- Next

  cURL-8.12.1

- Up
- Home