
On 15 May 2015 at 19:14, Daniel Jitnah <djitnah@greenwareit.com.au> wrote:
On 15/05/15 14:17, Sean Crosby wrote:
Hi Daniel,
If your OS is the same as Ubuntu, apache2 is actually only a "recommended" dependency of phpmyadmin, and you can install phpmyadmin without apache2 by running
Yes its Ubuntu, but phpmyadmin depends on libapache2-mod-php5, and libapache2-mod-php5 depends on apache2-common.
On 14.04, the package requires root@astrotest:~# apt-cache show phpmyadmin Package: phpmyadmin Priority: extra Section: universe/web Installed-Size: 22468 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Thijs Kinkhorst <thijs@debian.org> Architecture: all Version: 4:4.0.10-1 Depends: libapache2-mod-php5 | libapache2-mod-php5filter | php5-cgi | php5-fpm | php5, php5-mysql | php5-mysqli | php5-mysqlnd, php5-mcrypt, php5-json, perl, debconf (>= 0.5) | debconf-2.0, dbconfig-common, fonts-dejavu-core | ttf-dejavu-core, php-gettext, libjs-jquery, libjs-jquery-ui, libjs-jquery-cookie, libjs-jquery-mousewheel, libjs-jquery-event-drag, libjs-jquery-tablesorter, libjs-codemirror, libjs-underscore, ucf (>= 0.28) Recommends: apache2 | lighttpd | httpd, php5-gd, mysql-client Suggests: mysql-server, www-browser I assume given you will run nginx, you have/will use php5-fpm So to not install the apache2 packages, this seems to do it root@astrotest:~# apt-get --no-install-recommends install phpmyadmin php5-fpm Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: dbconfig-common libjs-codemirror libjs-jquery-cookie libjs-jquery-event-drag libjs-jquery-metadata libjs-jquery-mousewheel libjs-jquery-tablesorter libjs-jquery-ui libjs-underscore libmcrypt4 php-gettext php5-mcrypt php5-mysql Suggested packages: libjs-jquery-ui-docs libmcrypt-dev mcrypt php-pear mysql-server Recommended packages: javascript-common apache2 lighttpd httpd php5-gd The following NEW packages will be installed: dbconfig-common libjs-codemirror libjs-jquery-cookie libjs-jquery-event-drag libjs-jquery-metadata libjs-jquery-mousewheel libjs-jquery-tablesorter libjs-jquery-ui libjs-underscore libmcrypt4 php-gettext php5-fpm php5-mcrypt php5-mysql phpmyadmin 0 to upgrade, 15 to newly install, 0 to remove and 31 not to upgrade. Need to get 7,849 kB of archives. After this operation, 37.9 MB of additional disk space will be used. Sean
Daniel.
apt-get --no-install-recommends install phpmyadmin
Sean
On 15 May 2015 at 14:09, Daniel Jitnah <djitnah@greenwareit.com.au <mailto:djitnah@greenwareit.com.au>> wrote:
Hi Luvers,
how do I override suggested dependencies using apt-get which
conflicts
with already installed software that provides equivalent functionalities?
For example:
If I install phpmyadmin usign apt-get, it will also install apache2,
and
if I already have say nginx installed, it will remove it, and
replace it
with apache. But I want to keep nginx.
How do I get apt-get to install phpmyadmin while keeping nginx?
Thanks Daniel
_______________________________________________ luv-main mailing list luv-main@luv.asn.au <mailto:luv-main@luv.asn.au> http://lists.luv.asn.au/listinfo/luv-main