1、先安装依赖包 2、 安装nginx 3、# 编译nginx ubuntu 安装 nginx 1、先安装依赖包 sudo apt-getinstall gcc sudo apt-getinstall libpcre3 libpcre3-dev sudo apt-getinstall zlib1g zlib1g-dev sudo apt-getinstall openssl sudo apt-getinstall libssl-dev 安装过程中可能出现Unable to locate package:无法...
E: Unable to locate package update root@soft3-94:/var/lib/dpkg# apt-get install libssl-dev Reading package lists… Done Building dependency tree Reading state information… Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: act...
sudo apt-get install libgl1-mesa-dev libxml2-utils xsltproc unzip m4 sudo apt-get install lib32z-dev ccache sudo apt-get install libssl-dev 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 安装sudo apt-get install libesd0-dev 会报 Unable to locate package libesd0-dev 这个错,解决办法...
sudo apt-getinstall lib32ncurses5-dev x11proto-core-dev libx11-dev sudo apt-getinstall libgl1-mesa-dev libxml2-utils xsltproc unzip m4 sudo apt-getinstall lib32z-dev ccache sudo apt-getinstall libssl-dev 安装sudo apt-get install libesd0-dev 会报 Unable to locate package libesd0-dev ...
# 无法安装libssl可以尝试安装libssl-dev root@hecs-x-medium-2-linux-20200704093014:/home/proj_lab# apt-get install libssl Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libssl ...
E: Unable to locate package lib32ncurses 解决方案:用lib32ncurses5-dev替换lib32ncurses,用以下命令...
ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/ 重新编译即可 make -- 编译 或者根据你当前正在编译机器cpu核数调参数加速编译,比如我虚拟机是2核 make -j2 就可以同时跑2个job加速编译,编译了差不多15分钟 sudo make install -- 安装 ...
E: Unable to locate package libgl1-mesa-glx_23.0.4-0ubuntu1~22.04.1_amd64.deb Your missing the ./ before the filename to indicate current directory wget http://de.archive.ubuntu.com/ubuntu/pool/universe/m/mesa/libgl1-mesa-glx_23.0.4-0ubuntu1~22.04.1_amd64.debsudo apt insta...
N: Unable to locate package dotnet-sdk-2.2 N: Couldn't find any package by glob 'dotnet-sdk-2.2' N: Couldn't find any package by regex 'dotnet-sdk-2.2' ~$ apt-cache policy dotnet-runtime-2.2 N: Unable to locate package dotnet-runtime-2.2 ...
Setting up libssl-dev:amd64 (1.1.1-1ubuntu2.1~18.04.5) … 安装成功后,如果继续尝试安装libcrypto-dev,就会直接报错了,因为没有这个库: Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package libcrypto-dev ...