Tech Junkie Blog: October 2018

Monday, October 8, 2018

In our previous post we type in the yum command yum update to update the entire CentOS server.  But the most common operation that you will perform with yum that you will perform is to install, update, and remove an individual package.

In this post we will install, update and remove the php package.

Here are the steps to install, update, and remove php

1. Open a terminal session
2. Type yum install php, type y when asked for a confirmation





















3.  Now we want to update the php package that we just installed with the command yum update php






















Obviously we have nothing to update because we just install the package, but its the same process if there is an update.  You type y for any confirmation

4.  Now we want to remove the php package with the command yum remove php, type y on the confiromation

Monday, October 1, 2018

One of the more useful things are about yum is that it comes with a group install feature.  This basically lets you install groups of packages with one command.  These includes, administration tools, storage, databases, virtualization, and etc.

To get the list installed and available groups type in the command yum grouplist