How to install python3.6 into a local user account in centos6?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
python 2.7 and 3.x may exist together, that is not a problem (for any user). I mean all the programs should be able to use the proper version, there should be no any conflict. So in general installing python 3.6 will/should not affect anything. But probably you have a special case, please describe it better.
From the other hand you are not able to hide anything from root, so if that is installed and executable root can use it.
Additionally you may try to play with the variable PATH which can be set for every user differently and will specify the location of executables.
To make it more precise please find the details below.
We host all our domains with a 3rd party company.
And the cPanel associated with the Server CentOS only supports Python2.7.
BUt with my case I want to install Python3.6 only onto one of the account hosted on that server.
So this should not effect the other accounts and the root account.
Because if this effects the other accounts and root then the managed support for that server comes to an end as the server's cPanel does not support Python 3.6.
Hope you understand the situation.
I would really appreciate of you can help me on this.
I do not really understand. I think that cPanel will use python2.7 anyway, even if you install python3.6.
You can configure linux (docker) containers with python3.6.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.