How To Install php-phpoffice-phpexcel on CentOS 7
Introduction
In this tutorial we learn how to install php-phpoffice-phpexcel
on CentOS 7.
What is php-phpoffice-phpexcel
Project providing a set of classes for the PHP programming language, which allow you to write to and read from different spreadsheet file formats, like Excel (BIFF) .xls, Excel 2007 (OfficeOpenXML) .xlsx, CSV, Libre/OpenOffice Calc .ods, Gnumeric, PDF, HTML, … This project is built around Microsoft’s OpenXML standard and PHP. Optional * APC (php-pecl-apc) * Memcache (php-pecl-memcache)
We can use yum
or dnf
to install php-phpoffice-phpexcel
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install php-phpoffice-phpexcel.
Install php-phpoffice-phpexcel on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install php-phpoffice-phpexcel
using yum
by running the following command:
Install php-phpoffice-phpexcel on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install php-phpoffice-phpexcel
using dnf
by running the following command:
How To Uninstall php-phpoffice-phpexcel on CentOS 7
To uninstall only the php-phpoffice-phpexcel
package we can use the following command:
References
Summary
In this tutorial we learn how to install php-phpoffice-phpexcel
on CentOS 7 using yum
and dnf
.