Liste des Groupes | Revenir à col advocacy |
Le 15-02-2025, rbowman <bowman@montana.com> a écrit :On 15 Feb 2025 11:27:36 GMT, Stéphane CARPENTIER wrote:
>
>Maybe things changed since I looked at that the last time. But, the last>
time I checked the msi provided only a way to install easily a new
software on Windows. And sometimes with something to remove them. There
was nothing about the updates.
On Ubuntu Brave is a snap. On Windows Brave will tell you when an update
is available, allow you to download it, and apply it on relaunch.
So, in that case, it's not managed by the package installer, but by the
application itself. Which is different. And the purpose of the package
manager is for the software to avoid doing this.
On Ubuntu, Brave will show the update but can't apply it by itself.
You have to update the snap and relaunch. Minor annoyance.
So here, the information comes from the software but the package manager
takes care of the update. Which is the proper way, because if the
software didn't checked itself, the package manager would have done it.
Now, on some systems, like ubuntu, python is managed by the system, so>
it refuses to execute a "pip install". And if the library isn't provided
by ubuntu, you have to run "pip install" in a virtual environment to be
able to use a library designed not to be shared with the libraries of
the system.
I believe 'sudo pip install xxxxx' will work although I prefer to use
venvs. Installing to the system libs might be preferable for something
like ruff but I still do that in the venv.
I can't test it now, but I'm pretty sure it wouldn't work. The error
message was explicit. It didn't said "you don't have the authorisation".
It said something like "the libraries are managed by your distribution
and you should use the package manager of your distribution instead, run
sudo apt install". I'm sure there are ways to force "pip install" to run
anyway, but I strongly believe it would be a bad idea because I have no
idea about the side effects.
Les messages affichés proviennent d'usenet.