Don's Pages and my Music

Sunday, April 7, 2013

Linux Command Line - How to use YUM to install and uninstall packages - FedoraForum.org


imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 44
Posts: 8,256
How to use YUM to install and uninstall packages


Introduction

To update the system applying the most recent corrective patches of security and to the operating system is not as difficult as many do not suppose, nor either must be a hell of dependencies between packages RPM as some others argue. The reality of the things is that it is much very simple and single requires of good bandwidth or very many patience. Next we presented/displayed the procedures to use yum and to make easily what some denominate "horrible, difficult and complicated ".

Please note there are some changes that apply to Fedora Core 3. You will need to install GPG Key for yum in FC3.

Creating Yum Repo's For FC3.

To update system. Update of the system with all the dependencies that are necessary:
Code:
yum update
Searches. To make a search of some package or term in the data base in some of the formed deposits yum in the system:
Code:
 yum search any-package
Example:
Code:
yum search httpd
I hope this will help you understand how to use yum more effeciently. Any erros in this how please notify me.
Consultation of information. To consult the information contained in a package in individual:
Code:
 yum info any-package
Example:
Code:
yum info httpd
Installation of packages. Installation of paquetería with automatic resolution of dependencies:
Code:
 yum install any-package
Example.
Code:
yum install gkrellm
Uninstalling packages. Desinstalación of packages along with everything what it depends on these:
Code:
yum remove any-package
Example.
Code:
yum remove gkrellm
Listing Packages. The following thing will list all the packages available in the data base yum and that can settle:
Code:
 available yum list|less
The following thing will list all the packages installed in the system:
Code:
 yum list installed|less
The following thing will list all the packages installed in the system and that can (they must) be updated:
Code:
 yum list updates|less
Cleaning of the system.

Yum leaves as result of its use heads and packages RPM stored in the interior of the directory located in the route /var/cache/yum/. Particularly the packages RPM that have settled can occupy much space and is by such reason agrees to eliminate them once no longer they have utility. Also it agrees to do the same with the old heads of packages that no longer are in the data base. In order to make the corresponding cleaning, the following thing can be executed:
Code:
 yum clean all
Group install
Code:
yum groupinstall "groupname"
Dont forget the quotation marks for group install.

I hope this will help you understand how to use yum more effeciently. I did this for our newbies that may want to uninstall packages which is not mention in the fedora FAQ. For more info on yum go here: http://www.fedorafaq.org/#installsoftware

Skipping on down...

ilja Offline
Registered User
 
Join Date: Apr 2004
Location: Euregio
Posts: 3,613
Great howto.
One tip, you can use also joker-signs as * or ? e.g.
Code:
yum install gkrellm*

Read More tips in the Posts...
http://fedoraforum.org/forum/showthread.php?t=25880

yum apps list
Google Custom Search
DonsDeals: List installed packages with YUM
DonsDeals: yum commands...

yum list installed > /tmp/yum-list.txt
yum list installed - Google Search
How to use YUM to install and uninstall packages - FedoraForum.org
yum
Linux Get list of installed software for reinstallation / restore software
yum command list installed apps - Google Custom Search
Yum Update Not Found Errors Research
clamav-server-0.96.5-1400.fc14.i686 (@updates) Not found - Google Search
RPM resource clamav-server
RPM Search clamav-server
vlc-core-1.1.7-1.fc14.i686 RPM
vlc-core-1.1.7-1.fc14.i686.rpm - Fedora 14 - Download
vlc-core-1.1.4-4.fc14.i686.rpm - Fedora 14 - Download
yum update --skip-broken not working thins I tried on 03-09-11
yum update --skip-broken not working - Google Search
Yum installed apps list command
installed apps list command - Google Search
DonsDeals: This Post is a Follow up to my previous Post called... Don's favorite Fedora Apps...
DonsDeals: List installed packages with YUM
DonsDeals: Linux Tip: Using a Shell Script to Set Up Your Computer : IT News Today
How to use YUM to install and uninstall packages - FedoraForum.org


No comments:

Post a Comment