package
This filesystem object can inspect the propeties of an RPM (RPM Package Manager) package. Each package contains information about the program, including name and version.
Version | Platforms |
---|---|
8.0.584.0 | Red Hat, SUSE |
8.2.1078.0 | AIX |
9.2.6.94 | CentOS |
9.5.0.311 | Oracle Enterprise Linux |
10.0.0.133 | Amazon Linux 2 |
Creation
Returns a package in the RPM database that conflicts with this capability. If any packages are returned, then the rpm command will not allow any package providing this capability to be installed.
Version | Platforms |
---|---|
8.0.584.0 | Red Hat, SUSE |
8.2.1078.0 | AIX |
9.2.6.94 | CentOS |
9.5.0.311 | Oracle Enterprise Linux |
10.0.0.133 | Amazon Linux 2 |
Returns a package in the RPM database that provides this capability. If no packages are returned, then the rpm command will not allow any packages requiring this capability to be installed.
Version | Platforms |
---|---|
8.0.584.0 | Red Hat, SUSE |
8.2.1078.0 | AIX |
9.2.6.94 | CentOS |
9.5.0.311 | Oracle Enterprise Linux |
10.0.0.133 | Amazon Linux 2 |
Returns a package in the RPM database that requires this capability. If any packages are returned, then the rpm command will not allow any installed package that provides this capability to be uninstalled.
Version | Platforms |
---|---|
8.0.584.0 | Red Hat, SUSE |
8.2.1078.0 | AIX |
9.2.6.94 | CentOS |
9.5.0.311 | Oracle Enterprise Linux |
10.0.0.133 | Amazon Linux 2 |
Properties
The architecture represents the CPU type that the RPM Package was designed to be used on. Typical values are i386, i686, or x86_64, but packages can be created with archtectures like 'noarch' or have no architecture specified at all.Example: architecture of package "BESAgent" of rpm - On a SuSE Linux Enterprise Server 9.0, 64 bit, this will return x86_64, while on a Fedora Core 3, 32 bit, it will return i386.
Version | Platforms |
---|---|
8.0.584.0 | Red Hat, SUSE |
8.2.1078.0 | AIX |
9.2.6.94 | CentOS |
9.5.0.311 | Oracle Enterprise Linux |
10.0.0.133 | Amazon Linux 2 |
Returns the RPM version records of the specified package.
Examples
Q: rpm version record of (package "bzip2" of rpm)
A: 1.0.5-7.el6_0
Q: rpm version record of (package "gedit" of rpm)
A: 1:2.28.4-4.el6
Version | Platforms |
---|---|
8.0.584.0 | Red Hat, SUSE |
8.2.1078.0 | AIX |
9.2.6.94 | CentOS |
9.5.0.311 | Oracle Enterprise Linux |
10.0.0.133 | Amazon Linux 2 |
Casts
Creates a string containing the package's name, version and release.Example: package "apache" of rpm as string - Returns a string with information about the package, such as "apache-1.3.23-88".
Version | Platforms |
---|---|
8.0.584.0 | Red Hat, SUSE |
8.2.1078.0 | AIX |
9.2.6.94 | CentOS |
9.5.0.311 | Oracle Enterprise Linux |
10.0.0.133 | Amazon Linux 2 |