ERROR: Bash 4.4 or later is required (you are using Bash 4.2).Consider upgrading your distribution to get a more recent Bash version.
Error to is or get Using Bash version
2023-09-11 14:16:49 时间
再安装Bashtop的过程中报错:
解决:
#查看自己bash的版本发现是4.2版本
/bin/bash --version
#下载bash5.0版本
wget http://ftp.gnu.org/gnu/bash/bash-5.0.tar.gz
#解压
tar zxvf bash-5.0.tar.gz
#进入目录
cd bash-5.0
#编译
./configure && make && make install
#创建软连接
mv /bin/bash /bin/bash.bak
ln -s /usr/local/bin/bash /bin/bash
#最后重启服务器配置即可生效
相关文章
- docker 运行后端项目出错,查看日志,错误信息为:Error: Unable to access jarfile /xxx/xxx.jar
- Error while trying to retrieve text for error ORA-12705
- 启动简单的springboot项目报错:To display the conditions report re-run your..Web server failed to start
- error: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is cu
- Kafka启动遇到ERROR Exiting Kafka due to fatal exception (kafka.Kafka$)
- Swift Error fatal error: unexpectedly found nil while unwrapping an Optional value
- 错误ERROR datanode.DataNode (DataXceiver.java:run(278)) - hadoop07:50010DataXceiver error processing unknown operation src:127.0.0.136479 dst:127.0.0.150010
- Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE
- Selenium2学习-037-WebUI自动化实战实例-IE浏览器显示比例问题:org.openqa.selenium.remote.SessionNotFoundException: Unexpected error launching Internet Explorer. Browser zoom level was set to 94%. It should be set to 100%
- 【HarmonyOS】【FAQ】使用hdc命令安装hap包时,出现以下错误: failed to install bundle. error: operation time out.
- The incident LOST_EVENTS occured on the master. Message: error writing to the binary log, Error_code
- Error Code: 1414. OUT or INOUT argument 2 for routine company.new_procedure is not a variable or NEW
- 关于Docker报错问题解决:Docker fails to start containers with cgroup memory allocation error.
- [Errno 14] PYCURL ERROR 7 - “couldn‘t connect to host“
- HandleServiceCommands: system error caught. error code=1072, message = CreateService failed: unknow
- ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'
- Android Error Conversion to Dalvik format failed with error 1