![]() ![]() You can also try the configuration wizard. If you prefer to install PHP 8.2 beside the default PHP version, this can be achieved using the php82 prefixed packages, see the PHP 8.2 as Software Collection post. Warning: some extensions are still under development, but it seems useful to provide them to allow upgrade to more people, and to allow user to give feedback to the authors. If these extensions are not mandatory, you can remove them before the upgrade, else, you will have to be patient. See the compatibility tracking list: PECL extensions RPM status The upgrade can fail (by design) when some installed extensions are not yet compatible with PHP 8.2. With Zend OPcache v8.2.5, Copyright (c), by Zend Technologies Zend Engine v4.2.5, Copyright (c) Zend Technologies RHEL or CentOS 7īy choice, the packages have the same name than in the distribution, so a simple update is enough: Needed packages are in the remi-safe (enabled by default) and remi-php82 repositories, the latest is not enabled by default (administrator choice according to the desired PHP version). With Fedora and EL ≥ 8, you can simply use the remi-8.2 stream of the php module Subscription-manager repos -enable=rhel-7-server-optional-rpms Alma, CentOS Stream, Rocky version 9 Subscription-manager repos -enable codeready-builder-for-rhel-8-x86_64-rpms Subscription-manager repos -enable codeready-builder-for-rhel-9-x86_64-rpms 6.On Fedora, standards repositories are enough, on Enterprise Linux (RHEL, CentOS) the Extra Packages for Enterprise Linux ( EPEL) and Code Ready Builder (CRB) repositories must be configured, and on RHEL-7 the optional channel must be enabled. In this example, the nano package is not an orphan and it is needed by two packages. Nano is needed by default-editor, nano-default-editor We also can check if a package has parents or is an orphan by using the -depending option: $ -depending nano Nano depends upon basesystem,bash,centos-gpg-keys,centos-stream-release,centos-stream-repos,file-libs,filesystem,glibc,glibc-common,glibc-langpack-en,libgcc,ncurses-base,ncurses-libs,setup,tzdata,zlib Now, we can simply use to check our package: $ nano In CentOS, we should first download the package, then install it via the rpm command: $ wget It’s a perl tool that is part of a package named rpmorphan.įirst, let’s install perl and rpmorphan: $ yum install perl rpmorphan The rpmdep is an improved rpm -qR command that displays all connections of an installed RPM package. For example, we have the Licence, Signature, Original website, and above all, our package’s files in a list. Now, we have a lot of info about our specified package. ![]() GNU nano is a small and friendly text editor. Also, we can press the r key on a selected package to show its connections.īesides, we can use the i key to see the full details of a package: Name : nano To see the full list, we use the Up and Down arrow keys. ![]() L – leaf, meaning no other package depends on this one.In the first column, we can see that every package has a flag ( L, o, B): Now, we can install rpmreaper: $ yum install rpmreaperĪt this point, we can simply run it to browse the RPM tree: $ rpmreaper However, on some Linux distros, we might first need to install the EPEL repo via the epel-release package: $ yum install epel-release To install rpmreaper, we can again use yum or dnf. Moreover, we can use this tool to see the RPM packages in a tree view. Rpmreaper is an ncurses application that basically allows removing unnecessary packages and their connections from the system. So, the result is different from the previous command, which deals with an older version. In this case, the nano package in the repo is the latest version. Last metadata expiration check: 0:00:10 ago on Fri 10:21:28 AM UTC. In addition, if we want to check the repo, we can just write the package’s name: $ repoquery -requires -resolve nano ![]() This way, we don’t need it to be installed to extract the necessary data. Last metadata expiration check: 0:04:19 ago on Fri 10:21:28 AM UTC. Moreover, if we’re going to get info about an RPM file on our system, we use the full name of that file: $ repoquery -requires -resolve nano-2.9.86_64.rpm We should use –requires and –resolve with the repoquery command. To use it, we can install it via yum or dnf: $ yum install yum-utils ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |