how to update wordpress from terminal centos 7 code example Example: install wordpress on centos 7 sudo yum update -y