Good day! I think I can help you. A friend of mine once recommended me to use the magento 2 install module to install the programs I need. I think this can help you solve your problem as well. It is very convenient and many people use it, so I recommend you to try it, I wish you good luck and have a good day!