What should I do when the Linux installation software is missing packets or missing files?

Source: Internet
Author: User
Tags aliyun

Linux installation software prompts for missing or missing files, you do not know the software name or package name, then what to do? Let me tell you right now:

Use the Yum command, provided the Yum source is set up.

Fixed command format:

Yum whatprovides filename #<====filename is the file name. Just write the package or file you want to check.

Example:

[email protected] ~]# Yum whatprovides fuser
Loaded Plugins:fastestmirror
Loading mirror speeds from cached hostfile

    • Base:mirrors.aliyun.com
    • Epel:mirrors.aliyun.com
    • Extras:mirrors.cn99.com
    • Updates:mirrors.cn99.com
      base/7/x86_64/filelists_db | 6.9 MB 00:00:02
      epel/x86_64/filelists | Ten MB 00:00:03
      extras/7/x86_64/filelists_db | 588 KB 00:00:01
      updates/7/x86_64/filelists_db | 2.3 MB 00:00:02
      Psmisc-22.20-15.el7.x86_64:utilities for managing processes on your system
      Repo:base
      Matched from:
      Filename:/usr/sbin/fuser

[Email protected] ~]# Fuser
-bash:fuser:command not found
[email protected] ~]# Yum install psmisc-y
Loaded Plugins:fastestmirror
Loading mirror speeds from cached hostfile

    • Base:mirrors.aliyun.com
    • Epel:mirrors.aliyun.com
    • Extras:mirrors.cn99.com
    • Updates:mirrors.cn99.com
      Resolving Dependencies
      --Running Transaction check
      ---> Package psmisc.x86_64 0:22.20-15.el7 'll be installed
      --Finished Dependency Resolution

Dependencies resolved

=============================================================================================================== ==========================
Package Arch Version Repository Size

Installing:
Psmisc x86_64 22.20-15.EL7 Base 141 K

Transaction Summary

Install 1 Package

Total Download size:141 k
Installed size:475 K
Downloading packages:
psmisc-22.20-15.el7.x86_64.rpm | 141 KB 00:00:00
Running transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing:psmisc-22.20-15.el7.x86_64 1/1
Verifying:psmisc-22.20-15.el7.x86_64 1/1

Installed:
Psmisc.x86_64 0:22.20-15.EL7

complete!

What should I do when the Linux installation software is missing packets or missing files?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.