You have to create the directory using sudo mkdir. I believe that is all that is required. After that, the installatiion should work.
This is the same sort of problem I had when installing an update on my Ubuntu 22.04 laptop. I had to create the update directory this way (although I do not remember in detail all the steps I needed to do it).
