#### Beyond Linux® From Scratch (systemd Edition) - Version 10.1

### Chapter 9. General Libraries

- Prev

  libsigsegv-2.13

- Next

  libstatgrab-0.92

- Up
- Home

# libssh2-1.9.0

## Introduction to libssh2

Libssh2 package is a client-side C library implementing the SSH2 protocol.

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

### Package Information

- Download (HTTP): https://www.libssh2.org/download/libssh2-1.9.0.tar.gz

- Download MD5 sum: 1beefafe8963982adc84b408b2959927

- Download size: 868 KB

- Estimated disk space required: 13 MB (with tests)

- Estimated build time: 0.2 SBU (with tests)

### libssh2 Dependencies

#### Optional

GnuPG-2.2.27, libgcrypt-1.9.2, and OpenSSH-8.4p1 (all three required for the testsuite)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libssh2

## Installation of libssh2

Install libssh2 by running the following commands:

    ./configure --prefix=/usr --disable-static &&
    make

To test the results, issue: make check. One test, using gnupg, may fail for unknown reasons.

Now, as the `root` user:

    make install

## Command Explanations

`--disable-static`: This switch prevents installation of static versions of the libraries.

## Contents

Installed Programs: None
Installed Library: libssh2.so
Installed Directories: None

### Short Descriptions

`libssh2.so` | contains functions to use the SSH2 protocol

Last updated on 2021-02-19 22:13:48 -0800

- Prev

  libsigsegv-2.13

- Next

  libstatgrab-0.92

- Up
- Home