Fedora14 installs the five-stroke input method and yum search software package yumprovides to use the newly installed fedora13. Similar to the previous version, there is no built-in five-stroke input method, and there is only one Chinese input method, are there so few people using five strokes ?! In the past, I installed five commands on the Internet to check and install the yum command under fedora and run them directly. I did not remember how to use yum to find the required software package. So I want to explore how to use the yum query command. Directly starting
Install the five input methods and yum search software package yum provides in Fedora 14.
The newly installed fedora13 is the same as the previous version. It does not have a five-stroke input method. The Chinese input method only has one pinyin. Are there so few people using five input methods ?!
In the past, I installed five commands on the Internet to check and install the yum command under fedora and run them directly. I did not remember how to use yum to find the required software package. So I want to explore how to use the yum query command.
Use yum install ibus-wubi to check whether the five packages are ibus-wubi.
No package ibus-wubi available.
This is not the name, so yum-help looks for the command to query the software package. One line exists.
List to list one or more software packages
So yum list ibus
List as follows
Installed software packages
Ibus. i686 1.3.3-1. fc13 @ anaconda-InstallationRepo-201005130056.i386
Installable software packages
Ibus. i686 1.3.6-1. fc13 updates
Run again
Yum list ibus
Yum list ibus-wubi
Yum list wubi
Yum list ibus-
No results. It seems that the yum list lists the packages that have been installed.
Check yum-help again
There are commands
Provides
Probably this command works, so
[Root @ notebookf13 feng] # yum provides wubi
Loaded plug-ins: presto, refresh-packagekit
Warning: an error occurs when the yum of 3.0.x matches the file name. You can use "*/wubi" or "* bin/wubi" to get this result.
No Matches found
Incorrect syntax. Follow the prompts:
[Root @ notebookf13 feng] # yum provides */wubi
Loaded plug-ins: presto, refresh-packagekit
Fedora/filelists_db | 16 MB 02: 22
Updates/filelists_db | 5.4 MB
No Matches found
I was impressed with the installation. The name of the five input methods package is not wubi, so it is no wonder that it is not included. Change the query command yum provides * wubi and then query
[Root @ notebookf13 feng] # yum provides * wubi
Loaded plug-ins: presto, refresh-packagekit
^ Z
[1] + Stopped yum provides * wubi
[Root @ notebookf13 feng] # bg 1
[1] + yum provides * wubi &
[Root @ notebookf13 feng] # yum-help
[If the query package is slow, the backend is lost. Check yum -- help again.]
[Root @ notebookf13 feng] # ibus-table-wubi-1.2.0.20090715-5.fc12.noarch: Wubi input methods for ibus-table
Repo: fedora
Matching comes from:
Other: ibus-table-wubi = 1.2.0.20090715-5. fc12
Scim-python-xingma-wubi-0.1.13rc1-6.fc12.i686: WuBi table for Python XingMa IM
: Engine
Repo: fedora
Matching comes from:
Other: scim-python-xingma-wubi = 0.1.13rc1-6. fc12
The ibus-table-xingma-1.2.0.20100305-2.fc13.noarch: The structural tables
: IBus-Table
Repo: fedora
Matching comes from:
Other: ibus-table-wubi = 1.2.0.20100305-2. fc13
Sure enough, I found the wubi package name of the Five-stroke input method, ibus-table-wubi
Okay, you can install yum.
Yum install ibus-table-wubi
The following is the console record of the entire process for your reference:
[Feng @ notebookf13 ~] $ Su
Password:
[Root @ notebookf13 feng] # yum install ibus-wubi
Loaded plug-ins: presto, refresh-packagekit
Fedora/metalink | 13 kB: 01
Fedora | 4.3 kB: 00
Fedora/primary_db | 10 MB 0:33
Updates/metalink | 8.8 kB: 00
Updates | 4.5 kB: 00
Updates/primary_db | 2.9 MB
Set the installation process
No package ibus-wubi available.
No action required
[Root @ notebookf13 feng] # yum-help
Loaded plug-ins: presto, refresh-packagekit
Usage: yum [options] COMMAND
List of Commands:
Check Check for problems in the rpmdb
Check-update check for Software Package updates
Clean deletes cached data
Deplist list dependencies of software packages
Downgrade a package
Erase remove one or more software packages from the system
Groupinfo displays Group details
Groupinstall install a group of software packages to the System
Grouplist list installable groups
Groupremove remove a group of software packages from the system
Help display usage information
History Display, or use, the transaction history
Info displays detailed information about the software package or group
Install one or more software packages to the System
List to list one or more software packages
Localinstall install local RPM
Makecache creates metadata cache
Provides
Reinstall overwrites a package
Repolist displays the configured Repository
Resolvedep determines which package provides the specified dependency
Search for a specified string in the software package details
Shell runs the interactive yum shell
Update updates one or more software packages in the system.
The software package replacement relationship is also considered when upgrade updates the software package.
Version Display a version for the machine and/or available repos.
Options:
-H,-help show this help message and exit
-T,-tolerant tolerates errors
-C,-cacheonly run entirely from system cache, don't update cache
-C [config file],-config = [config file]
Configuration File Path
-R [minutes],-randomwait = [minutes]
Maximum command wait time
-D [debug level],-debuglevel = [debug level]
Debug output level
-The showduplicates command displays duplicate entries in the repository under the list/search Command.
-E [error level],-errorlevel = [error level]
Error output level
-Rpmverbosity = [debug level name]
Debugging output level for rpm
-Q,-quiet operation
-V,-verbose operation
-Y,-assumeyes answers all the questions as Yes
-Version: displays the Yum version information and exits.
-Installroot = [path]: set the target root directory
-Enablerepo = [repo] enables one or more repositories (Wildcards are supported)
-Disablerepo = [repo] disables one or more repositories (Wildcards are supported)
-X [package],-exclude = [package]
Exclude software packages with full names or wildcards
-Disableexcludes = [repo]
Do not exclude from the master configuration, from the warehouse or from any location
-Consider the software package substitution relationship during the obsoletes upgrade
-Noplugins: Disable the Yum plug-in.
-Nogpgcheck: Disable gpg signature detection.
-Disableplugin = [plugin]
Disable the plug-in with the specified name
-Enableplugin = [plugin]
Enable plugins by name
-Skip-broken: skip software packages with dependency problems
-Color = COLOR: Specifies whether to use the color.
-Releasever = RELEASEVER
Set value of $ releasever in yum config and repo files
-Disablepresto disable Presto plugin and don't download any deltarpms
Plug-in options:
[Root @ notebookf13 feng] # yum list ibus
Loaded plug-ins: presto, refresh-packagekit
Installed software packages
Ibus. i686 1.3.3-1. fc13 @ anaconda-InstallationRepo-201005130056.i386
Installable software packages
Ibus. i686 1.3.6-1. fc13 updates
[Root @ notebookf13 feng] # yum list ibus-wubi
Loaded plug-ins: presto, refresh-packagekit
Error: no matching software packages can be listed.
[Root @ notebookf13 feng] # yum list wubi
Loaded plug-ins: presto, refresh-packagekit
Error: no matching software packages can be listed.
[Root @ notebookf13 feng] # yum list ibus-
Loaded plug-ins: presto, refresh-packagekit
Error: no matching software packages can be listed.
[Root @ notebookf13 feng] # yum provides wubi
Loaded plug-ins: presto, refresh-packagekit
Warning: an error occurs when the yum of 3.0.x matches the file name. You can use "*/wubi" or "* bin/wubi" to get this result.
No Matches found
[Root @ notebookf13 feng] # yum provides */wubi
Loaded plug-ins: presto, refresh-packagekit
Fedora/filelists_db | 16 MB 02: 22
Updates/filelists_db | 5.4 MB
No Matches found
[Root @ notebookf13 feng] # yum provides * wubi
Loaded plug-ins: presto, refresh-packagekit
^ Z
[1] + Stopped yum provides * wubi
[Root @ notebookf13 feng] # bg 1
[1] + yum provides * wubi &
[Root @ notebookf13 feng] # yum-help
Loaded plug-ins: presto, refresh-packagekit
Usage: yum [options] COMMAND
List of Commands:
Check Check for problems in the rpmdb
Check-update check for Software Package updates
Clean deletes cached data
Deplist list dependencies of software packages
Downgrade a package
Erase remove one or more software packages from the system
Groupinfo displays Group details
Groupinstall install a group of software packages to the System
Grouplist list installable groups
Groupremove remove a group of software packages from the system
Help display usage information
History Display, or use, the transaction history
Info displays detailed information about the software package or group
Install one or more software packages to the System
List to list one or more software packages
Localinstall install local RPM
Makecache creates metadata cache
Provides
Reinstall overwrites a package
Repolist displays the configured Repository
Resolvedep determines which package provides the specified dependency
Search for a specified string in the software package details
Shell runs the interactive yum shell
Update updates one or more software packages in the system.
The software package replacement relationship is also considered when upgrade updates the software package.
Version Display a version for the machine and/or available repos.
Options:
-H,-help show this help message and exit
-T,-tolerant tolerates errors
-C,-cacheonly run entirely from system cache, don't update cache
-C [config file],-config = [config file]
Configuration File Path
-R [minutes],-randomwait = [minutes]
Maximum command wait time
-D [debug level],-debuglevel = [debug level]
Debug output level
-The showduplicates command displays duplicate entries in the repository under the list/search Command.
-E [error level],-errorlevel = [error level]
Error output level
-Rpmverbosity = [debug level name]
Debugging output level for rpm
-Q,-quiet operation
-V,-verbose operation
-Y,-assumeyes answers all the questions as Yes
-Version: displays the Yum version information and exits.
-Installroot = [path]: set the target root directory
-Enablerepo = [repo] enables one or more repositories (Wildcards are supported)
-Disablerepo = [repo] disables one or more repositories (Wildcards are supported)
-X [package],-exclude = [package]
Exclude software packages with full names or wildcards
-Disableexcludes = [repo]
Do not exclude from the master configuration, from the warehouse or from any location
-Consider the software package substitution relationship during the obsoletes upgrade
-Noplugins: Disable the Yum plug-in.
-Nogpgcheck: Disable gpg signature detection.
-Disableplugin = [plugin]
Disable the plug-in with the specified name
-Enableplugin = [plugin]
Enable plugins by name
-Skip-broken: skip software packages with dependency problems
-Color = COLOR: Specifies whether to use the color.
-Releasever = RELEASEVER
Set value of $ releasever in yum config and repo files
-Disablepresto disable Presto plugin and don't download any deltarpms
Plug-in options:
[Root @ notebookf13 feng] # ibus-table-wubi-1.2.0.20090715-5.fc12.noarch: Wubi input methods for ibus-table
Repo: fedora
Matching comes from:
Other: ibus-table-wubi = 1.2.0.20090715-5. fc12
Scim-python-xingma-wubi-0.1.13rc1-6.fc12.i686: WuBi table for Python XingMa IM
: Engine
Repo: fedora
Matching comes from:
Other: scim-python-xingma-wubi = 0.1.13rc1-6. fc12
The ibus-table-xingma-1.2.0.20100305-2.fc13.noarch: The structural tables
: IBus-Table
Repo: fedora
Matching comes from:
Other: ibus-table-wubi = 1.2.0.20100305-2. fc13
[Root @ notebookf13 feng] # fg
Bash: fg: job has terminated
[1] + Done yum provides * wubi
[Root @ notebookf13 feng] # yum install ibus-table-wubi
Loaded plug-ins: presto, refresh-packagekit
Set the installation process
Package ibus-table-wubi is obsoleted by ibus-table-xingma, trying to install ibus-table-xingma-1.2.0.20100305-2.fc13.noarch instead
Resolve Dependencies
-> Execute transaction check
-> The software package ibus-table-xingma.noarch. 2.0.20100305-2. fc13 will be upgraded
-> Handle dependency ibus-table> = 1.2, which is required by the software package ibus-table-xingma-1.2.0.20100305-2.fc13.noarch
-> Execute transaction check
-> The software package ibus-table.noarch. 2.0.20100111-7. fc13 will be upgraded
-> Complete dependency Calculation
Dependency Solution
========================================================== ==========================================================
Package architecture version repository size
========================================================== ==========================================================
Installing:
Ibus-table-xingma noarch 1.2.0.20100305-2. fc13 fedora 8.4 M
Install for dependency:
Ibus-table noarch 1.2.0.20100111-7. fc13 fedora 244 k
Transaction Summary
========================================================== ==========================================================
Install 2 software packages
Update 0 Software Package
Total downloads: 8.7 MB
Installed size: 30 M
Are you sure you want? [Y/N]: y
Download the software package:
Setting up and reading Presto delta metadata
Fedora/prestodelta | 414 B: 00
Processing delta metadata
Package (s) data still to download: 8.7 M
(1/2): ibus-table-1.2.0.20100111-7.fc13.noarch.rpm | 244 kB
(2/2): ibus-table-xingma-1.2.0.20100305-2.fc13.noarch.rp | 8.4 MB
---------------------------
Total 15 kB/s | 8.7 MB
Warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID e8e40fde: NOKEY
Fedora/gpgkey | 3.2 kB: 00...
Import GPG key 0xE8E40FDE "Fedora (13) ", From/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
Are you sure you want? [Y/N]: y
Run rpm_check_debug
Execute transaction Test
Transaction test successful
Execute transactions
Installing: ibus-table-1.2.0.20100111-7.fc13.noarch 1/2
Installing: ibus-table-xingma-1.2.0.20100305-2.fc13.noarch 2/2
Installed:
Ibus-table-xingma.noarch. 2.0.20100305-2. fc13
Installed as dependencies:
Ibus-table.noarch. 2.0.20100111-7. fc13
Finished!