Installing WordPress on Debian using command line installers is quite a task. Almost every tool such as Webinoly, Slickstack or WordOps requires Ubuntu LTS (version 20.04 at the time of writing). But what happens when one really wants Debian 11 instead of Ubuntu? Read on
The installers for WordPress that are command line based- not yet ready for Debian 11- as on August end 2021. Testing Webinoly, WordOps and Openlitespeed’s one click installer

Debian 11 Install

Installing WordOps

Did the install succeed?
Short answer: yes, but with errors. However, WordOps stack would not install
Failure while installing WordOps

Trying Webinoly installation on Debian 11

Failure while configuring webinoly 
Trial III : OpenLiteSpeed

Code with error for those interested
Running post-install steps [OK] Traceback (most recent call last): File "/usr/local/bin/wo", line 8, in sys.exit(main()) File "/opt/wo/lib/python3.9/site-packages/wo/cli/main.py", line 93, in main with app: File "/opt/wo/lib/python3.9/site-packages/cement/core/foundation.py", line 1501, in __enter__ self.setup() File "/opt/wo/lib/python3.9/site-packages/cement/core/foundation.py", line 835, in setup __import__(self._meta.bootstrap, globals(), locals(), [], 0) File "/opt/wo/lib/python3.9/site-packages/wo/cli/bootstrap.py", line 7, in from wo.cli.controllers.base import WOBaseController File "/opt/wo/lib/python3.9/site-packages/wo/cli/controllers/base.py", line 5, in from wo.core.variables import WOVar File "/opt/wo/lib/python3.9/site-packages/wo/core/variables.py", line 13, in class WOVar(): File "/opt/wo/lib/python3.9/site-packages/wo/core/variables.py", line 135, in WOVar .format(wo_deb_repo)) NameError: name 'wo_deb_repo' is not defined WordOps (wo) installed successfully To enable bash-completion, just use the command: bash -l To install WordOps recommended stacks, you can use the command: wo stack install To create a first WordPress site, you can use the command: wo site create site.tld --wpWordOps Documentation : https://docs.wordops.net WordOps Community Forum : https://community.wordops.net WordOps Community Chat : https://chat.wordops.net Give WordOps a GitHub star : https://github.com/WordOps/WordOps/

This post was originally published in August 2021 when Debian 11 was recently released. The post has been updated since then.
This post was updated on 2022-02-23