[539d7c54] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY libssh2-download-http "https://www.libssh2.org/download/libssh2-&libssh2-version;.tar.gz">
|
---|
| 8 | <!ENTITY libssh2-download-ftp " ">
|
---|
| 9 | <!ENTITY libssh2-md5sum "3d1147cae66e2959ea5441b183de1b1c">
|
---|
| 10 | <!ENTITY libssh2-size "835 KB">
|
---|
| 11 | <!ENTITY libssh2-buildsize "12 MB">
|
---|
| 12 | <!ENTITY libssh2-time "0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libssh2" xreflabel="libssh2-&libssh2-version;">
|
---|
| 16 | <?dbhtml filename="libssh2.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>libssh2-&libssh2-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libssh2">
|
---|
| 26 | <primary sortas="a-libssh2">libssh2</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libssh2</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | <application>Libssh2</application> package is a client-side C library
|
---|
| 34 | implementing the SSH2 protocol.
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
[272f28b] | 37 | &lfs83_checked;
|
---|
[539d7c54] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&libssh2-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&libssh2-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &libssh2-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &libssh2-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &libssh2-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &libssh2-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">libssh2 Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 76 | <para role="optional">
|
---|
| 77 | <xref linkend="libgcrypt"/>,
|
---|
| 78 | <xref linkend="openssh"/> (required for the testsuite)
|
---|
| 79 | </para>
|
---|
| 80 |
|
---|
| 81 | <para condition="html" role="usernotes">
|
---|
| 82 | User Notes: <ulink url="&blfs-wiki;/libssh2"/>
|
---|
| 83 | </para>
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2 role="installation">
|
---|
| 87 | <title>Installation of libssh2</title>
|
---|
| 88 |
|
---|
| 89 | <para>
|
---|
| 90 | Install <application>libssh2</application> by running the following
|
---|
| 91 | commands:
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
| 95 | make</userinput></screen>
|
---|
| 96 |
|
---|
| 97 | <para>
|
---|
| 98 | To test the results, issue: <command>make check</command>.
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
| 101 | <para>
|
---|
| 102 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 103 | </para>
|
---|
| 104 |
|
---|
| 105 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="commands">
|
---|
| 109 | <title>Command Explanations</title>
|
---|
| 110 |
|
---|
| 111 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 112 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 113 |
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="content">
|
---|
| 117 | <title>Contents</title>
|
---|
| 118 |
|
---|
| 119 | <segmentedlist>
|
---|
| 120 | <segtitle>Installed Programs</segtitle>
|
---|
| 121 | <segtitle>Installed Library</segtitle>
|
---|
| 122 | <segtitle>Installed Directories</segtitle>
|
---|
| 123 |
|
---|
| 124 | <seglistitem>
|
---|
| 125 | <seg>
|
---|
| 126 | None
|
---|
| 127 | </seg>
|
---|
| 128 | <seg>
|
---|
| 129 | libssh2.so
|
---|
| 130 | </seg>
|
---|
| 131 | <seg>
|
---|
| 132 | None
|
---|
| 133 | </seg>
|
---|
| 134 | </seglistitem>
|
---|
| 135 | </segmentedlist>
|
---|
| 136 |
|
---|
| 137 | <variablelist>
|
---|
| 138 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 139 | <?dbfo list-presentation="list"?>
|
---|
| 140 | <?dbhtml list-presentation="table"?>
|
---|
| 141 |
|
---|
| 142 | <varlistentry id="libssh2-lib">
|
---|
| 143 | <term><filename class="libraryfile">libssh2.so</filename></term>
|
---|
| 144 | <listitem>
|
---|
| 145 | <para>
|
---|
| 146 | contains functions to use the SSH2 protocol.
|
---|
| 147 | </para>
|
---|
| 148 | <indexterm zone="libssh2 libssh2-lib">
|
---|
| 149 | <primary sortas="c-libssh2">libssh2.so</primary>
|
---|
| 150 | </indexterm>
|
---|
| 151 | </listitem>
|
---|
| 152 | </varlistentry>
|
---|
| 153 | </variablelist>
|
---|
| 154 | </sect2>
|
---|
| 155 | </sect1>
|
---|