MacOS、ubuntu安装libssh、libssh2

libssh安装

libssh官方下载链接

bash 复制代码
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/opt/libssh/ ..
make -j6
sudo make install

libssh2安装

libssh2官方下载链接

ubuntu系统安装

bash 复制代码
./configure --prefix=/opt/libssh2
make -j6
sudo make install

MacOS系统安装

首先安装openssl
openssl官方下载链接

bash 复制代码
./config --prefix=/opt/openssl
make -j6
sudo make install

安装libssh2

bash 复制代码
./configure --prefix=/opt/libssh2 --with-libssl-prefix=/opt/openssl
make -j6
sudo make install
相关推荐
Mike_6668 分钟前
Linux (Ubuntu) Jetson AArch64 架构 JetPack6.2 CUDA+CUDNN+PyTorch 安装踩坑经历
linux·pytorch·ubuntu
tianyuanwo13 分钟前
Bash与Sh的诞生背景、底层原理及Linux多Shell解释器兼容性解析
linux·开发语言·bash
skywalk816314 分钟前
Ubuntu宽屏显示器只有4:3分辨率问题的解决:用cvt和xrandr命令查看并配置显卡分辨率到1440x900
linux·运维·ubuntu·显示
小镇学者25 分钟前
【macos】warning: CRLF will be replaced by LF 问题解决方案
macos
都小事儿36 分钟前
U-boot:自搬移
linux·spring boot
JiMoKuangXiangQu41 分钟前
Linux 内存 domain 管理
linux·内存管理·domain
warton8842 分钟前
ubuntu24下操作配置mysql8相关目录到指定地址
linux·运维·mysql
小亮亮虫44 分钟前
linux-交叉编译链安装
linux
学Linux的语莫1 小时前
本地部署ollama
linux·服务器·langchain
TheNextByte11 小时前
如何将Mac上的联系人同步到 iPhone?
macos·cocoa·iphone