-
https://sopel.chat/usage/installing/ says: "Latest stable release On most systems where you can run Python, the best way to install Sopel is to just sudo pip install sopel. (On Windows, leave out the sudo.) Installing with pip will “just handle” dependencies for you, so you won’t need to do so manually (except for installing backports.ssl_match_hostname as described above, if you’re on Python 2.7)." Why sudo in Linux? What if the user doesn't have sudo access which I am going to do a clean install on my friend's remote Fedora box? Thank you for reading and hopefully answering soon. :) |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
So |
Beta Was this translation helpful? Give feedback.
-
Thank you for the quick answer, dgw. That should be added in that installing web page. I ran "pip install sopel" without sudo and noticed the installation went into /home/ant/.local/. Does "pip install --user sopel" do the same too? I am hoping it does. |
Beta Was this translation helpful? Give feedback.
-
Because Sopel is supposed to be used as a service, and as such can be installed as root and launch as its own user. Using Also, if you don't have root access/not a sudoer on a system, installing a service doesn't sound like something you should do anyway. |
Beta Was this translation helpful? Give feedback.
-
Ah, I use the -d parameter when I run sopel to daemonize. |
Beta Was this translation helpful? Give feedback.
-
When does -d option go away for Sopel? V8? |
Beta Was this translation helpful? Give feedback.
So
pip install --user sopel
instead. Usingsudo
is "best" because it makes Sopel globally available, which is great in many cases but by no means required.