gpt4 book ai didi

linux - sudo: apt-get: 命令未找到 Linux 服务器

转载 作者:太空宇宙 更新时间:2023-11-04 04:37:51 24 4
gpt4 key购买 nike

我正在使用Linux服务器并尝试安装jdk包。但是当我尝试 sudo apt 时,出现以下错误:

sudo: apt-get: command not found

Linux 版本是:

3.10.0-229.el7.x86_64 GNU/Linux

不知道哪里出了问题

最佳答案

看来您的服务器上有基于Linux版本的CentOS。你可以试试 Yum。例如:

sudo yum install ...

关于linux - sudo: apt-get: 命令未找到 Linux 服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38251181/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com