Linux--随记笔谈

Linux–随记笔谈

输出后的jason文字,一直跳动

# echo "MeepoPS Start: \033[40G[\033[49;32;5mjaosn\033[0m]\n";

Ubuntu16 php编译安装openssl

1.# cd /php-7.2.6/ext/openssl
2.# mv config0.m4 config.m4 //否则报错:找不到config.m4
3.# /usr/local/php/bin/phpize            
(报错Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script.)(执行apt-get insatall autoconf)
4.# ./configure -with-openssl --with-php-config=/usr/local/php/bin/php-config
报错configure: error: Cannot find OpenSSL's ,解决apt-get install libssl-dev

问题一

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
解决:
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a
sudo apt-get update

linux apt-get安装和卸载命令

apt-get update:更新安装列表
apt-get upgrade:升级软件
apt-get install software_name :安装软件
apt-get --purge remove  software_name :卸载软件及其配置
apt-get autoremove software_name:卸载软件及其依赖的安装包

猜你喜欢

转载自blog.csdn.net/qq_29627497/article/details/82964729
今日推荐