These instructions aren't clear. Is the command below a replacement for ubuntu packages? Do I need to set the environment variable on ubuntu or just for the custom command?

I would try to structure the instructions in a way that makes things a bit more clear.