gpt4 book ai didi

ubuntu - 安装tomcat时如何解决安装错误

转载 作者:行者123 更新时间:2023-12-01 08:52:52 25 4
gpt4 key购买 nike

安装tomcat 7时出现错误。我已经搜索过,但找不到任何解决方案。

The error is..

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package tomcat 7

Please help me...

最佳答案

看起来您在 tomcat 之间有一个空格和 7 .使用以下命令安装tomcat7:sudo apt-get install tomcat7
[更新]
1. 添加deb http://security.ubuntu.com/ubuntu trusty-security main universe到/etc/apt/sources.list 文件。
2.运行sudo apt-get update 3.运行sudo apt-get install tomcat7

关于ubuntu - 安装tomcat时如何解决安装错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37131706/

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