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
相关推荐
Harvy_没救了4 分钟前
【Linux】Shell指令中的变量
linux·运维·服务器
Deitymoon11 分钟前
linux——TCP多线程并发服务器
linux·服务器·tcp/ip
senijusene15 分钟前
IMX6ULL Linux 驱动开发流程:从环境搭建到系统启动与内核编译
linux·运维·驱动开发
格林威17 分钟前
AI视觉项目部署:Docker 部署视觉服务可行性分析
linux·运维·人工智能·数码相机·docker·容器·工业相机
秋雨梧桐叶落莳23 分钟前
【iOS】 AutoLayout初步学习
学习·macos·ios·objective-c·cocoa·xcode
huanmieyaoseng100327 分钟前
Linux安装达梦数据库DM8
linux·运维·数据库
没bug怎么跑36 分钟前
rsync全网备份全流程
linux·运维·github
TechMasterPlus44 分钟前
Linux 驱动开发深度解析:从内核模块到设备驱动
linux·运维·驱动开发
念恒123061 小时前
Linux权限
linux·c语言
落羽的落羽1 小时前
【算法札记】练习 | Week1
linux·服务器·c++·人工智能·python·算法·机器学习