Permission problem

I’m doing a course project and are going to build my c++ projects, I was told that TO DO:
To ensure that you have the proper packages on your machine, run the following script to automatically install them:

$ sudo build_support/packages.sh

However this command is denied

I googled and tried many comments but they didn’t work.
Any ideas what to do?

Ask your instructor why the entire build_support/packages.sh script needs to be run as root.

You should probably also read the script, and see if you can manually perform any necessary steps.

You could try running build_support/packages.sh without the sudo to see if it works.