How To Install php-pear.noarch on Amazon Linux 2
In this tutorial we learn how to install php-pear.noarch in Amazon Linux 2. php-pear.noarch is PHP Extension and Application Repository framework
Introduction
In this tutorial we learn how to install php-pear.noarch
on Amazon Linux 2.
What is php-pear.noarch
PEAR is a framework and distribution system for reusable PHP components. This package contains the basic PEAR components.
We can use yum
to install php-pear.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install php-pear.noarch.
Install php-pear.noarch on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install php-pear.noarch
using yum
by running the following command:
sudo yum -y install php-pear.noarch
How To Uninstall php-pear.noarch on Amazon Linux 2
To uninstall only the php-pear.noarch
package we can use the following command:
sudo yum remove php-pear.noarch
php-pear.noarch Package Contents on Amazon Linux 2
/etc/pear
/etc/pear.conf
/usr/bin/pear
/usr/bin/peardev
/usr/bin/pecl
/usr/lib/rpm/macros.d/macros.pear
/usr/share/doc/pear
/usr/share/doc/pear/Archive_Tar
/usr/share/doc/pear/Archive_Tar/docs
/usr/share/doc/pear/Archive_Tar/docs/Archive_Tar.txt
/usr/share/doc/pear/PEAR
/usr/share/doc/pear/PEAR/INSTALL
/usr/share/doc/pear/PEAR/LICENSE
/usr/share/doc/pear/PEAR/README.rst
/usr/share/doc/pear/Structures_Graph
/usr/share/doc/pear/Structures_Graph/LICENSE
/usr/share/doc/pear/Structures_Graph/docs
/usr/share/doc/pear/Structures_Graph/docs/tutorials
/usr/share/doc/pear/Structures_Graph/docs/tutorials/Structures_Graph
/usr/share/doc/pear/Structures_Graph/docs/tutorials/Structures_Graph/Structures_Graph.pkg
/usr/share/doc/pear/XML_Util
/usr/share/doc/pear/XML_Util/examples
/usr/share/doc/pear/XML_Util/examples/example.php
/usr/share/doc/pear/XML_Util/examples/example2.php
/usr/share/doc/php-pear-1.10.12
/usr/share/doc/php-pear-1.10.12/README.rst
/usr/share/licenses/php-pear-1.10.12
/usr/share/licenses/php-pear-1.10.12/LICENSE-PEAR
/usr/share/licenses/php-pear-1.10.12/LICENSE-Structures_Graph
/usr/share/man/man1/pear.1.gz
/usr/share/man/man1/peardev.1.gz
/usr/share/man/man1/pecl.1.gz
/usr/share/man/man5/pear.conf.5.gz
/usr/share/pear
/usr/share/pear-data
/usr/share/pear-data/PEAR
/usr/share/pear-data/PEAR/package.dtd
/usr/share/pear-data/PEAR/template.spec
/usr/share/pear/Archive
/usr/share/pear/Archive/Tar.php
/usr/share/pear/Console
/usr/share/pear/Console/Getopt.php
/usr/share/pear/OS
/usr/share/pear/OS/Guess.php
/usr/share/pear/PEAR
/usr/share/pear/PEAR.php
/usr/share/pear/PEAR/Builder.php
/usr/share/pear/PEAR/ChannelFile
/usr/share/pear/PEAR/ChannelFile.php
/usr/share/pear/PEAR/ChannelFile/Parser.php
/usr/share/pear/PEAR/Command
/usr/share/pear/PEAR/Command.php
/usr/share/pear/PEAR/Command/Auth.php
/usr/share/pear/PEAR/Command/Auth.xml
/usr/share/pear/PEAR/Command/Build.php
/usr/share/pear/PEAR/Command/Build.xml
/usr/share/pear/PEAR/Command/Channels.php
/usr/share/pear/PEAR/Command/Channels.xml
/usr/share/pear/PEAR/Command/Common.php
/usr/share/pear/PEAR/Command/Config.php
/usr/share/pear/PEAR/Command/Config.xml
/usr/share/pear/PEAR/Command/Install.php
/usr/share/pear/PEAR/Command/Install.xml
/usr/share/pear/PEAR/Command/Mirror.php
/usr/share/pear/PEAR/Command/Mirror.xml
/usr/share/pear/PEAR/Command/Package.php
/usr/share/pear/PEAR/Command/Package.xml
/usr/share/pear/PEAR/Command/Pickle.php
/usr/share/pear/PEAR/Command/Pickle.xml
/usr/share/pear/PEAR/Command/Registry.php
/usr/share/pear/PEAR/Command/Registry.xml
/usr/share/pear/PEAR/Command/Remote.php
/usr/share/pear/PEAR/Command/Remote.xml
/usr/share/pear/PEAR/Command/Test.php
/usr/share/pear/PEAR/Command/Test.xml
/usr/share/pear/PEAR/Common.php
/usr/share/pear/PEAR/Config.php
/usr/share/pear/PEAR/Dependency2.php
/usr/share/pear/PEAR/DependencyDB.php
/usr/share/pear/PEAR/Downloader
/usr/share/pear/PEAR/Downloader.php
/usr/share/pear/PEAR/Downloader/Package.php
/usr/share/pear/PEAR/ErrorStack.php
/usr/share/pear/PEAR/Exception.php
/usr/share/pear/PEAR/Frontend
/usr/share/pear/PEAR/Frontend.php
/usr/share/pear/PEAR/Frontend/CLI.php
/usr/share/pear/PEAR/Installer
/usr/share/pear/PEAR/Installer.php
/usr/share/pear/PEAR/Installer/Role
/usr/share/pear/PEAR/Installer/Role.php
/usr/share/pear/PEAR/Installer/Role/Cfg.php
/usr/share/pear/PEAR/Installer/Role/Cfg.xml
/usr/share/pear/PEAR/Installer/Role/Common.php
/usr/share/pear/PEAR/Installer/Role/Data.php
/usr/share/pear/PEAR/Installer/Role/Data.xml
/usr/share/pear/PEAR/Installer/Role/Doc.php
/usr/share/pear/PEAR/Installer/Role/Doc.xml
/usr/share/pear/PEAR/Installer/Role/Ext.php
/usr/share/pear/PEAR/Installer/Role/Ext.xml
/usr/share/pear/PEAR/Installer/Role/Man.php
/usr/share/pear/PEAR/Installer/Role/Man.xml
/usr/share/pear/PEAR/Installer/Role/Php.php
/usr/share/pear/PEAR/Installer/Role/Php.xml
/usr/share/pear/PEAR/Installer/Role/Script.php
/usr/share/pear/PEAR/Installer/Role/Script.xml
/usr/share/pear/PEAR/Installer/Role/Src.php
/usr/share/pear/PEAR/Installer/Role/Src.xml
/usr/share/pear/PEAR/Installer/Role/Test.php
/usr/share/pear/PEAR/Installer/Role/Test.xml
/usr/share/pear/PEAR/Installer/Role/Www.php
/usr/share/pear/PEAR/Installer/Role/Www.xml
/usr/share/pear/PEAR/PackageFile
/usr/share/pear/PEAR/PackageFile.php
/usr/share/pear/PEAR/PackageFile/Generator
/usr/share/pear/PEAR/PackageFile/Generator/v1.php
/usr/share/pear/PEAR/PackageFile/Generator/v2.php
/usr/share/pear/PEAR/PackageFile/Parser
/usr/share/pear/PEAR/PackageFile/Parser/v1.php
/usr/share/pear/PEAR/PackageFile/Parser/v2.php
/usr/share/pear/PEAR/PackageFile/v1.php
/usr/share/pear/PEAR/PackageFile/v2
/usr/share/pear/PEAR/PackageFile/v2.php
/usr/share/pear/PEAR/PackageFile/v2/Validator.php
/usr/share/pear/PEAR/PackageFile/v2/rw.php
/usr/share/pear/PEAR/Packager.php
/usr/share/pear/PEAR/Proxy.php
/usr/share/pear/PEAR/REST
/usr/share/pear/PEAR/REST.php
/usr/share/pear/PEAR/REST/10.php
/usr/share/pear/PEAR/REST/11.php
/usr/share/pear/PEAR/REST/13.php
/usr/share/pear/PEAR/Registry.php
/usr/share/pear/PEAR/RunTest.php
/usr/share/pear/PEAR/Task
/usr/share/pear/PEAR/Task/Common.php
/usr/share/pear/PEAR/Task/Postinstallscript
/usr/share/pear/PEAR/Task/Postinstallscript.php
/usr/share/pear/PEAR/Task/Postinstallscript/rw.php
/usr/share/pear/PEAR/Task/Replace
/usr/share/pear/PEAR/Task/Replace.php
/usr/share/pear/PEAR/Task/Replace/rw.php
/usr/share/pear/PEAR/Task/Unixeol
/usr/share/pear/PEAR/Task/Unixeol.php
/usr/share/pear/PEAR/Task/Unixeol/rw.php
/usr/share/pear/PEAR/Task/Windowseol
/usr/share/pear/PEAR/Task/Windowseol.php
/usr/share/pear/PEAR/Task/Windowseol/rw.php
/usr/share/pear/PEAR/Validate.php
/usr/share/pear/PEAR/Validator
/usr/share/pear/PEAR/Validator/PECL.php
/usr/share/pear/PEAR/XMLParser.php
/usr/share/pear/Structures
/usr/share/pear/Structures/Graph
/usr/share/pear/Structures/Graph.php
/usr/share/pear/Structures/Graph/Manipulator
/usr/share/pear/Structures/Graph/Manipulator/AcyclicTest.php
/usr/share/pear/Structures/Graph/Manipulator/TopologicalSorter.php
/usr/share/pear/Structures/Graph/Node.php
/usr/share/pear/System.php
/usr/share/pear/XML
/usr/share/pear/XML/Util.php
/usr/share/pear/pearcmd.php
/usr/share/pear/peclcmd.php
/usr/share/tests/pear
/usr/share/tests/pear/Console_Getopt
/usr/share/tests/pear/Console_Getopt/tests
/usr/share/tests/pear/Console_Getopt/tests/001-getopt.phpt
/usr/share/tests/pear/Console_Getopt/tests/bug10557.phpt
/usr/share/tests/pear/Console_Getopt/tests/bug11068.phpt
/usr/share/tests/pear/Console_Getopt/tests/bug13140.phpt
/usr/share/tests/pear/Structures_Graph
/usr/share/tests/pear/Structures_Graph/tests
/usr/share/tests/pear/Structures_Graph/tests/AcyclicTestTest.php
/usr/share/tests/pear/Structures_Graph/tests/AllTests.php
/usr/share/tests/pear/Structures_Graph/tests/BasicGraphTest.php
/usr/share/tests/pear/Structures_Graph/tests/TopologicalSorterTest.php
/usr/share/tests/pear/Structures_Graph/tests/helper.inc
/usr/share/tests/pear/XML_Util
/usr/share/tests/pear/XML_Util/tests
/usr/share/tests/pear/XML_Util/tests/AbstractUnitTests.php
/usr/share/tests/pear/XML_Util/tests/ApiVersionTests.php
/usr/share/tests/pear/XML_Util/tests/AttributesToStringTests.php
/usr/share/tests/pear/XML_Util/tests/Bug18343Tests.php
/usr/share/tests/pear/XML_Util/tests/Bug21177Tests.php
/usr/share/tests/pear/XML_Util/tests/Bug21184Tests.php
/usr/share/tests/pear/XML_Util/tests/Bug4950Tests.php
/usr/share/tests/pear/XML_Util/tests/Bug5392Tests.php
/usr/share/tests/pear/XML_Util/tests/CollapseEmptyTagsTests.php
/usr/share/tests/pear/XML_Util/tests/CreateCDataSectionTests.php
/usr/share/tests/pear/XML_Util/tests/CreateCommentTests.php
/usr/share/tests/pear/XML_Util/tests/CreateEndElementTests.php
/usr/share/tests/pear/XML_Util/tests/CreateStartElementTests.php
/usr/share/tests/pear/XML_Util/tests/CreateTagFromArrayTests.php
/usr/share/tests/pear/XML_Util/tests/CreateTagTests.php
/usr/share/tests/pear/XML_Util/tests/GetDocTypeDeclarationTests.php
/usr/share/tests/pear/XML_Util/tests/GetXmlDeclarationTests.php
/usr/share/tests/pear/XML_Util/tests/IsValidNameTests.php
/usr/share/tests/pear/XML_Util/tests/RaiseErrorTests.php
/usr/share/tests/pear/XML_Util/tests/ReplaceEntitiesTests.php
/usr/share/tests/pear/XML_Util/tests/ReverseEntitiesTests.php
/usr/share/tests/pear/XML_Util/tests/SplitQualifiedNameTests.php
/var/cache/php-pear
/var/lib/pear
/var/lib/pear/.channels
/var/lib/pear/.channels/.alias
/var/lib/pear/.channels/.alias/pear.txt
/var/lib/pear/.channels/.alias/pecl.txt
/var/lib/pear/.channels/.alias/phpdocs.txt
/var/lib/pear/.channels/__uri.reg
/var/lib/pear/.channels/doc.php.net.reg
/var/lib/pear/.channels/pear.php.net.reg
/var/lib/pear/.channels/pecl.php.net.reg
/var/lib/pear/.depdb
/var/lib/pear/.depdblock
/var/lib/pear/.filemap
/var/lib/pear/.lock
/var/lib/pear/.registry
/var/lib/pear/.registry/.channel.__uri
/var/lib/pear/.registry/.channel.doc.php.net
/var/lib/pear/.registry/.channel.pecl.php.net
/var/lib/pear/.registry/archive_tar.reg
/var/lib/pear/.registry/console_getopt.reg
/var/lib/pear/.registry/pear.reg
/var/lib/pear/.registry/pear_manpages.reg
/var/lib/pear/.registry/structures_graph.reg
/var/lib/pear/.registry/xml_util.reg
/var/lib/pear/pkgxml
/var/lib/pear/pkgxml/Archive_Tar.xml
/var/lib/pear/pkgxml/Console_Getopt.xml
/var/lib/pear/pkgxml/PEAR.xml
/var/lib/pear/pkgxml/PEAR_Manpages.xml
/var/lib/pear/pkgxml/Structures_Graph.xml
/var/lib/pear/pkgxml/XML_Util.xml
References
Summary
In this tutorial we learn how to install php-pear.noarch
on Amazon Linux 2 using yum.