You are not logged in.
Pages: 1
Hi,
While installing the main php 7 package, pacman pulls dependecies like apache which I dont need. I just need php-cli for the php-linter and php-autocomplete packages for Atom.
Is there no php-cli package for Archlinux as Debian/Ubuntu has for it ?
Last edited by juliendz (2016-08-29 04:28:58)
Offline
No, there is no such dependencies.
$ expac '%v: %E' php
7.0.10-1: libxml2 curl libzip
$ pactree -u php | grep -F apache || echo 'No apache in deps'
No apache in deps
Last edited by mpan (2016-08-29 04:05:53)
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
Hi,
I was referring to this package page : https://www.archlinux.org/packages/extra/x86_64/php/ and its listed in the dependencies as Apache (make).
So I understood it as a dependency that actually installs apache.
I should have just ran 'pacman -S php' just to check what it actually pulls.
Thank you.
Last edited by juliendz (2016-08-29 04:28:15)
Offline
For future reference: “make” dependencies are required only when building the package from sources. More at the Wiki: PKGBUILD: makedepends. Unless one wants to build a package from sources instead of only installing binaries from the repos, this has no significance.
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
Noted. Thank you for the clarafication.
Offline
Pages: 1