Installing JupyterHub under Anaconda

I’ve installed Anaconda3 v2019.07 on an Ubuntu 18.04 server dedicated to running a JupyterHub instance. I’ve had lots of trouble and I’m confused about several things I was hoping people here could help with.

  1. Does Anaconda install JupyterHub? The official list of packages at https://docs.anaconda.com/anaconda/packages/py3.7_linux-64/ doesn’t list JupyterHub, and this guide I found (https://pythonforundergradengineers.com/installing-jupyter-hub.html) shows installing Anaconda and JupyterHub as two clearly distinct steps, indicating that Anaconda doesn’t automatically install JupyterHub.

However, after installing Anaconda, I’ve found the jupyterhub binary on my system:

$ which jupyterhub
/opt/anaconda3/bin/jupyterhub

and conda lists jupyterhub as already installed:

$ conda list jupyterhub$
# packages in environment at /opt/anaconda3:
#
# Name                    Version                   Build  Channel
jupyterhub                1.0.0                    pypi_0    pypi

So, do I need to install JupyterHub as a separate step, or does Anaconda now include it?

  1. I’ve also installed JupyterHub’s nativeauthenticator. The installation instructions for it (https://native-authenticator.readthedocs.io/en/latest/quickstart.html) include this step to generate the config file:
$ jupyterhub --generate-config -f /etc/jupyterhub/jupyterhub_config.py

Whether JupyterHub is already installed or I have to install it through conda instead, either way it will exist under the Anaconda installation directory (/opt/anaconda3/), and /etc/jupyterhub/ will not exist on my system. How will I need alter the --generate-config command to use a JupyterHub instance under Anaconda? That is, where do the config files go in that scenario?