0

I have Ubuntu 22.04 and I wish to install Apache, MySQL, PHP and Composer altogether via apt.

How to install Apache, MySQL, PHP and Composer via apt? Something like this?

apt install curl lamp-server^ php-curl composer

1 Answer 1

2

Yes, it is possible. As per the man page, the install subcommand of apt accepts one or more packages:

       install, remove, purge (apt-get(8))
           Performs the requested action on one or more packages specified via regex(7), glob(7)
           or exact match.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .