How to install packages (‘apt-get install’) in Jupyter?

  anaconda, apt-get, jupyter-notebook, sudo, windows

I want to install many packages by jupyter or by Anaconda prompt, knowing that my operating system is Windows 10 and I want to write an executable script to install these packages from this link How can I write Ubuntu like: sudo apt-get install command?
for example :

git clone --recursive
sudo apt-get install build-essential 
sudo apt-get install cmake

and thank you

Source: Windows Questions