Why do I get permission denied when I try use “make” to install something?

后端 未结 5 398
走了就别回头了
走了就别回头了 2021-02-01 04:47

I\'m trying to install something and it\'s throwing me an error: Permission denied when I try to run make on it.

I\'m not too fond of the unive

5条回答
  •  遇见更好的自我
    2021-02-01 05:07

    Giving us the whole error message would be much more useful. If it's for make install then you're probably trying to install something to a system directory and you're not root. If you have root access then you can run

    sudo make install
    

    or log in as root and do the whole process as root.

提交回复
热议问题