< Home - < Back

file


Information about the package, file, which is shipped with common Linux distributions. The file package is designed for, A utility for determining file types.


Package Name:

file

Summary:

A utility for determining file types

Description:

The file command is used to identify a particular file according to the type of data contained by the file. File can identify many different file types, including ELF binaries, system libraries, RPM packages, and different graphics formats.

Architecture:

x86_64

Version:

5.04

Release:

30.el6

Size:

55 k

Repository:

installed

From Repository:

base

Licence:

BSD



Handy Yum Commands for file


Control the file package with the following handy commands outlined below.


Command

Description of Command

yum install file

This command will install file on the server.

yum remove file

This command will un-install file on the server. When you run this command, you will be asked if you are sure that you want to remove file, so you have to manually confirm that you want to do this.

yum -y remove file

This command will un-install file on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove file when using the -y flag.

yum update file

This command will update file to the latest version. When you run this command, you will be asked if you are sure that you want to remove file, so you have to manually confirm that you want to do this.

yum -y update file

This command will update file to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove file when using the -y flag.

yum info file

This command will show you core information about the file package.

yum deplist file

This command will show you the dependencies for file. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update file

This command will check if there is an update waiting on file. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.