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
相关推荐
mizuhokaga36 分钟前
Linux内网集群基于Docker 安装 Chat2DB
linux·运维·docker
Ricky_Theseus1 小时前
数据库关系代数 - 连接操作
linux·数据库·算法
一招定胜负1 小时前
课堂教学质量综合评分系统
java·linux·前端
学不完的2 小时前
ZrLog 高可用架构监控部署指南(Prometheus + Grafana)
linux·运维·架构·负载均衡·grafana·prometheus·ab测试
17(无规则自律)2 小时前
【Linux驱动实战】:标准的按键控制LED驱动写法
linux·驱动开发·嵌入式硬件
DA02213 小时前
Linux驱动-I2C总线驱动
linux·c语言·linux驱动
枫桥骤雨3 小时前
本地OpenClaw部署教程
ubuntu·openclaw
IMPYLH4 小时前
Linux 的 dirname 命令
linux·运维·服务器·数据库
扛枪的书生5 小时前
Nginx 学习总结
linux
认真的薛薛5 小时前
Docker网络模式
linux·运维·数据库·面试·github