To install jupyter notebook on Ubuntu run
pip install jupyter
To start jupyter notebook, create an empty folder, change to it
mkdir ~/book cd ~/book
Now run
jupyter notebook
By default, it bind to localhost. If you want to run on a public IP, run as follows
jupyter notebook --ip 198.50.234.187 --port 8888 --allow-root
Example