Question

Can't install python packages

Posted October 3, 2019 287 views
Linux Basics

I am the sole owner and user of this droplet.

I tried to install a python package and was told I did not have the correct permissions. How do I get permissioned to do this?

I tried to get the ‘su’ status, but even though I know the root password, I have no idea what the “(current) UNIX password:” is, which is what I am prompted to supply after clearing the first hurdle.

I know three passwords with this account: a password to log in via the browser, and a password for a user account I use with Putty/FTP, and the root password. How do I find the other one?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Hello,

I would recommend checking if your user has sudo access, to do that just run:

sudo -i

And then type the password for the user account that you use with Putty. If your user has sudo privileges you would gain root access to your droplet and you would be able to install the packages that you need.

Let me know how it goes!
Regards,
Bobby

Bobby,

Thank you very very much. I did that and was then allowed to install packages.

But I’m curious…what’s the deal with the ‘unix password’ thing? Where would I set that?

Eddie

Submit an Answer