This might be helpful if you have limited bandwidth, or want to copy a single downloaded file between systems. You can then install the file as above. Note : In Linux, administrators find it helpful to have a single tool to manage software. That tool — called a package manager — can install software, keep track of software requirements, and track updates and patches. Package managers also work with repositories , which are secure and standardized libraries of commonly-used and well-supported applications.
In this tutorial, we covered three different options for installing RPM files on Linux. As with most Linux software, your default package manager makes it simple to track installations, updates, and prerequisites. Introduction While working in Linux, you may have seen downloadable files with the. Was this article helpful? Goran Jevtic. Working with multiple departments and on various projects, he has developed an extraordinary understanding of cloud and virtualization technology trends and best practices.
Next you should read. Security SysAdmin. It gets its name from However sudo requires setup. As root run:. NOTE: Every command provided on this page will work if you remove sudo from the command. However this requires you must be logged in as 'root'.
An alternative to using sudo is to use su to login as root, before executing a command. Fedora uses yum to install and update its software. When connected to the internet it will automatically determine application dependencies.
Fedora typically has 2 repositories enabled by default: fedora the same packages that come on any combination of the CD's or DVD's and updates updated packages, newer than fedora repository. These repositories 'sign' their RPM files to make sure they are valid when downloaded. Import the GPG keys to these repositories:. NOTE: Due to security reasons a new repository was created after Fedora 9 was released: updates-newkey.
This repository will automatically be configured and enabled when running an update. It is required that you run an update immediately after installing Fedora. Note that if you update just yum first, it is a small download.
For the purpose of this guide, most all needs are met by the RPMFusion repository, other requirements are stated. If you updated from previously using Livna it is okay, 'yum' will update automatically, for example, read this post: Update to RPMFusion. After yum downloads the application or update requested it will prompt to install.
This is good for learners or to keep track of what is happening. Applications can possibly be UN-installed in a update as well.
If you wish yum to automatically install downloads and make changes, run yum with the -y answer "yes" option. After that, full system updates become less common. Keep in mind that updates, may update all their dependancies, which can lead to long download times.
Often a new update may break something that already worked. Please understand what you are doing before running continuous updates. Fedora recommends users install a 3rd-party RPM packaged driver instead of using the installer from Nvidia's website. Currently RPMFusion provides a well packaged driver with some extra utilities, installable via yum.
If a kernel update is installed at the same time most likely , then a reboot will be required. The Nvidia logo will flash quickly once. In order for the kmod-nvidia driver package to install properly through yum it must find a matching version of the kernel. Usually this will be the latest version of the kernel. Since the driver comes from an RPMFusion mirror and the kernel comes from a Fedora mirror, it is quite possible the mirrors may be out of sync or one version of a package kernel or kmod-nvidia is newer that the other.
For example the kernel is 2. This will try to recompile the proper driver in order to match the available kernels. In most situations the 'kmod' created by the AKMOD system will be the same as the one that is or should be on the yum mirror. The only requirement is you have the Software Development packages installed, which is default on a DVD install.
Note: At least 1 reboot is required, for an example see the post: Fedora 9 Nvidia Update. Top Resources. Fedora 9 uses NetworkManager by default. While this has greatly improved networking for users with wireless and less common devices mobile broadband, GSM, etc.
NetworkManager is still under constant development. NetworkManager is highly recommended for Laptop users, especially using wireless with security.
Some applications require the network to be initialized during boot. Or run:. On machines with a fixed networking device and a fixed IP address e. Note that the Fedora 9 installer disables the network service by default. To switch to using the network service:. You should have an eth0 device already showing. To configure the IP settings click on Edit. Make sure the eth0 is selected as Active.
While it may be possible to re-activate your network without a reboot, it may be recommended to reboot. Some related information can be found on the Fedora Wiki.
Fedora 9 ships and uses GCC 4. Some applications that were compiled with an older GCC ex: 3. Make sure to have the following RPM's installed. Fedora 9 includes GCC 4. You can install GCC 3. I have more information on using alternate compilers.
Download RealPlayer Fedora ships without any form of MP3 playback. In order to add MP3 playback you must install from a 3rd party. The following requires the use of the RPMFusion repositories. XMMS rebuilt to be a little bit more modern. It is usually the Downloads folder. When it is opened in the software center, you should see the installation option.
This is the command line method. Open a terminal and switch to the directory where you have the RPM file downloaded. You can also provide the path to the RPM file. Use the DNF command like this:. Unlike Fedora, Red Hat still uses the good old Yum package manager. The process is the same as DNF command. You go to the directory where the RPM file is located or provide its path. What you can do is to type the first few letters of the package and then hit tab.
This is assuming that you have tab completion enabled which usually is.
0コメント