Tech Junkie Blog: Linux CentOS In-Depth: Install,, Update, Remove Package With yum install, yum update, and yum remove

Monday, October 8, 2018

Linux CentOS In-Depth: Install,, Update, Remove Package With yum install, yum update, and yum remove

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

No comments:

Post a Comment