[root@hadoophww yum.repos.d]# sudo yum list installed vsftpdLoaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * epel: mirror-icn.misakamikoto.network Error: No matching Packages to list
时间: 2023-06-25 20:07:34 浏览: 141
这个命令的意思是列出已经安装的vsftpd软件包。但是,命令返回了一个错误,说没有匹配的软件包。可能是因为vsftpd没有被安装,或者软件包列表没有被更新。你可以尝试运行以下命令来更新软件包列表,然后再次尝试列出已安装的软件包:
```
sudo yum update
sudo yum list installed vsftpd
```
如果vsftpd确实没有被安装,你可以使用以下命令安装它:
```
sudo yum install vsftpd
```
相关问题
yum install iptables Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile
要使用yum安装iptables,可以按照以下步骤进行操作:
1. 首先,确保您已经更新了yum源,并且可以从互联网访问。可以使用以下命令更新yum源:
```
sudo yum update
```
2. 接下来,使用以下命令安装iptables:
```
sudo yum install iptables
```
请注意,如果您的系统上已经安装了最新版本的iptables,那么这个命令可能不会执行任何操作,因为没有新的软件包可供安装。在这种情况下,您可以使用以下命令来检查iptables的安装状态:
```
sudo yum list installed | grep iptables
```
如果输出中包含"iptables"字样,则表示iptables已经安装在您的系统上。
3. 如果您想查看iptables的默认安装目录,可以使用以下命令:
```
whereis iptables
```
该命令将显示iptables在系统上的位置。
总结起来,要使用yum安装iptables,您只需要运行以下命令:
```
sudo yum install iptables
```
然后,如果您想查看iptables的默认安装目录,可以运行以下命令:
```
whereis iptables
```
[root@localhost ~]# yum update 已加载插件:fastestmirror, langpacks Loading mirror speeds from cached hostfile No packages marked for update
这个命令是用来更新你的系统中已经安装的软件包。如果你的系统中没有任何需要更新的软件包,那么执行该命令会输出 "No packages marked for update",表示你的系统已经是最新的了。如果你想更新某个特定的软件包,可以使用 "yum update <package-name>" 命令来更新该软件包。