The Redhat Package Manager, so if we can roughly translate our Fedora version to Redhat Version we can figure out what package to install. Fedora versioning goes from 1 to Fedora is using the upstream of Redhat meaning that its versions a faster rate with more upto date package. If you have to use an older version you will need to do some Google-fu to translate the version over. If you are using nearly the latest version of Fedora then its going be the latest version of Redhat.
DNF is suppose to be present on Fedora 28 and greater. So its odd its not running. Okay, so lets use which command to see if they exist.
Say you want to install the package cowsay , run the following command:. If this package is in any of the repositories you have listed in your yum. YUM is a very powerful tool and it can make managing packages on a Linux system really simple. Ubuntu users may be familiar with apt-get , a similar automated package installation tool.
If you have a large number of Linux machines in your network you can optionally setup a local YUM repository which can save you a lot of bandwidth. As FC 6 is not supported the repository is no longer available. Alternatively you could install subversion from source. Sign up to join this community.
The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 11 years, 10 months ago. Active 11 years, 10 months ago. Viewed times. Improve this question. Some software may be optimized for particular types of Intel-compatible machine. Use the short name of the package for yum commands.
This causes yum to automatically select the most recent package in the repositories that matches the hardware architecture of your computer. Specify a package with other name formats to override the default behavior and force yum to use the package that matches that version or architecture.
Only override yum when you know that the default package selection has a bug or other fault that makes it unsuitable for installation. Package Names You may use any of the following formats to specify a package in a yum operation: name , name. Software Management Tools in Fedora Core.
The yum utility is a complete software management system. Fedora Core also includes two graphical applications for software management that use yum. The pup utility provides an interface for updating software, and the pirut application enables you to add or remove software.
Both graphical tools appear in the Applications desktop menu. The rpm command-line utility has many functions for working with individual RPM packages. You may use it to manually install and remove packages from your system. If you install software with the rpm utility, you must manually check and install any dependencies. For this reason, pirut and yum are the recommended methods for installing software. Current Package Versions The pirut and yum utilities ensure that you have the most recent version of software packages.
Other methods do not guarantee that the packages are current. Managing Software with yum. Use the yum utility to modify the software on your system in four ways:. To install new software from package repositories. Installing Software from a Package File The yum commands shown in this section use repositories as package sources. To use yum , specify a function and one or more packages or package groups. Each section below gives some examples.
For each operation, yum downloads the latest package information from the configured repositories. If your system uses a slow network connection yum may require several seconds to download the repository indexes and the header files for each package.
The yum utility searches these data files to determine the best set of actions to produce the required result, and displays the transaction for you to approve. The transaction may include the installation, update, or removal of additional packages, in order to resolve software dependencies. This is an example of the transaction for installing tsclient :. Review the list of changes, and then press y to accept and begin the process.
If you press N or Enter , yum does not download or change any packages. Package Versions The yum utility only displays and uses the newest version of each package, unless you specify an older version. The yum utility also imports the repository public key if it is not already installed on the rpm keyring. This is an example of the public key import:. Check the public key, and then press y to import the key and authorize the key for use.
If you press N or Enter , yum stops without installing any packages. To ensure that downloaded packages are genuine, yum verifies the digital signature of each package against the public key of the provider. Once all of the packages required for the transaction are successfully downloaded and verified, yum applies them to your system. You may only read this file with root access. Installing New Software with yum. To install the package tsclient , enter the command:.
Enter the password for the root account when prompted. Updating Software with yum. To update the tsclient package to the latest version, type:. New Software Versions Require Reloading If a piece of software is in use when you update it, the old version remains active until the application or service is restarted. Kernel updates take effect when you reboot the system. Kernel Packages Kernel packages remain on the system after they have been superseded by newer versions.
This enables you to boot your system with an older kernel if an error occurs with the current kernel. To minimize maintenance, yum automatically removes obsolete kernel packages from your system, retaining only the current kernel and the previous version.
Removing Software with yum. To remove software, yum examines your system for both the specified software, and any software which claims it as a dependency. The transaction to remove the software deletes both the software and the dependencies.
To remove the tsclient package from your system, use the command:. Data and Configuration File Retention The removal process leaves user data in place but may remove configuration files in some cases.
If a package removal does not include the configuration file, and you reinstall the package later, it may reuse the old configuration file. Searching for Packages with yum. Use the search features of yum to find software that is available from the configured repositories, or already installed on your system. Searches automatically include both installed and available packages. The format of the results depends upon the option.
If the query produces no information, there are no packages matching the criteria. Searching by Package Name and Attributes. To search for a specific package by name, use the list function. To search for the package tsclient , use the command:. To make your queries more precise, specify packages with a name that include other attributes, such as version or hardware architecture.
To search for version 0. Valid Package Attributes Refer to Section 2. Advanced Searches. If you do not know the name of the package, use the search or provides options. Alternatively, use wild cards with any yum search option to broaden the search criteria. The search option checks the names, descriptions, summaries and listed package maintainers of all of the available packages to find those that match. For example, to search for all packages that relate to Palm Pilots, type:. The provides function checks both the files included in the packages and the functions that the software provides.
This option requires yum to download and read much larger index files than with the search option. To search for all packages that include files called libneon , type:. To search for all packages that either provide a MTA Mail Transport Agent service, or include files with mta in their name:. For each command, at the prompt enter the password for the root account.
Use the standard wild-card characters to run any search option with a partial word or name:? To list all packages with names that begin with tsc , type:. Understanding Matches.
0コメント