In: Computer Science
Command |
Example Usage |
Explanation |
yum search packagename |
||
yum install packagename |
||
yum update packagename |
||
yum remove packagename |
||
yum update |
1.
For example, to search for all packages related to FarmHouse, type:
su -c "yum search FarmHouse"
Used to search all available packages by string and starts by searching for the names, descriptions, summaries and listed package maintainers of all of the available packages to find those that match.
2.
Example - To install the package tcpclient, type: su -c 'yum install tcpclient'
It is used to install new software or package.
3.
Example - To update the package tcpclient, type: su -c 'yum update tcpclient'
To update the given software or package.
4.
Example - To remove the package tcpclient, type: su -c 'yum remove tcpclient'
It is used to remove a package with the given packagename and only clears those dependencies that are needed for the package.
5.
Example - To update all the installed packages, type: su -c 'yum update'
It is used to update every currently installed package, making sure that all the dependencies are satisfied.