linux-app
linux-app copied to clipboard
OpenSuse RPM package is missing
Hello guys. OpenSuse is most popular Linux distribution in Europe and has only little bit less popularity than Ubuntu in the world. I'm don't understand why you ignore millions and millions Linux users? Is so hard for developer to create RPM installation package?
I'm going to fix your request:
Hello guys. OpenSUSE is the most popular Linux distribution in Europe and has only a little bit less popularity than Ubuntu in the world. Please consider creating an RPM installation package for OpenSUSE. It would make millions of Linux users very happy.
Anyone can submit a package to openSUSE to be included in the official repositories. There's already a spec file in this repo, half work done.
@calexandru2018 I noticed that you tried to pack it for openSUSE a while ago, do you need any help? I can pack it in OBS.
Even though this package is OSS, I believe it could end up in openSUSE:Factory:NonFree as ProtonVPN is not free.
We have free tier, does that not count?
I'm not sure, there's no "VPN providers" packages in openSUSE, just openvpn, wireguard and similar.
I would need to ask where is the best place to put this if the intention is to be an official package under openSUSE repositories.
Got it, thanks.
@calexandru2018 I noticed that you tried to pack it for openSUSE a while ago, do you need any help? I can pack it in OBS.
@alexandrevicenzi Where did you see that ?
@calexandru2018 I noticed that you tried to pack it for openSUSE a while ago, do you need any help? I can pack it in OBS.
@alexandrevicenzi Where did you see that ?
Here https://build.opensuse.org/package/show/home:calexandru2018/protonvpn-linux-gui
@alexandrevicenzi that is actually the legacy GUI, which is based on the community CLI.
Once we get added to official fedora repo we'll be able to easily support openSUSE (I suspect). And we're working on being official on fedora repos, although given the nature of things it takes time so we have no ETA at this point.
I added all packages to my home project in OBS. python-proton-client and python-protonvpn-nm-lib I submitted to devel:languages:python, protonvpn-gui I'll submit somewhere once the dependencies are accepted, otherwise the package will be broken.
Fedora may use RPMs as well, but openSUSE build system has its own perks.
https://build.opensuse.org/package/show/home:avicenzi/protonvpn-gui https://build.opensuse.org/package/show/home:avicenzi/python-proton-client https://build.opensuse.org/package/show/home:avicenzi/python-protonvpn-nm-lib

Correct @alexandrevicenzi but from the fedora system, the opensuse packages are actually built automatically and once approved, they're added to the official repositories. That's the benefit, since it's centralized.
The GUI in openSUSE has some issues compared to the one in Ubuntu, I'm currently investigating some odd behaviors.
@alexandrevicenzi Hi, I'm using your repo for protonvpn-gui, python-proton-client and python-protonvpn-nm-lib . There's no protonvpn-cli so I used the older version of it from https://build.opensuse.org/package/show/home%3Aahjolinna/protonvpn-cli
BTW, your version of protonvpn-gui is outdated too. The latest version as of I'm writing is 1.2.0
Packages python-proton-client and python-protonvpn-nm-lib are in Factory, currently available for Tumbleweed only.
https://build.opensuse.org/package/show/openSUSE:Factory/python-proton-client https://build.opensuse.org/package/show/openSUSE:Factory/python-protonvpn-nm-lib
protonvpn-gui still has some issues that I need to fix, once I have time I'll do that and submit the package.
Hei,
No protonvpn-cli for Leap 15.3 yet?
Hei,
No protonvpn-cli for Leap 15.3 yet?
You could install protonvpn-cli using pip.
Anyluck on the package for opensuse, would be really appreciate having an native app.
Hello all, is there any progress on this topic?
The protonvpn-gui package was submitted to openSUSE Factory, if approved will be available in Tumbleweed.
I would need to submit all packages and dependencies to Leap 15.3 to be available there, once approved I'll take a look into that, but can't guarantee that it will be in 15.3, perhaps only 15.4.
Hi there, thanks for the efforts to include the OpenSUSE users in the mix! However, I tried to install the packages you have provided on latest Tumbleweed w/ KDE Plasma (5.23.4) - no luck there.
I keep getting: ValueError: Namespace Gtk not available when trying to run it, yet I've got all dependencies needed.
@alexandrevicenzi any progress on this? I've got the CLI version 3.11.0 to run by modifying the .spec file for the OpenSUSE package names, but the GUI version 1.7.0 can't be run that way and throws an AttributeError: 'APISession' object has no attribute 'delinquent'.
UPD: problem solved by updating the library to 3.7.0 (packages here), had to hack the .spec file to bypass the tests on the library because they try to make network access which OBS blocks during builds.
@alexandrevicenzi Thank you so much for packing this for openSUSE!
There are a few issues with the protonvpn-gui package I have found so far:
- typelib-1_0-WebKit2-4_0 is not marked as a dependency. This package is actually needed to run protonvpn, so I think you should add it.
- I am getting an excessive amount of password prompts with the standard polkit policy (I have to type my password in like 4 times everytime I try to connect to the VPN). I did try putting it to easy mode, but it made no differences. I think this might have to do with openSUSE policies itself, but I am not sure. It would be great if you could somehow help eliminate the password prompts (like how it is on Fedora) or at least reduce the number of prompts there are.
I am testing this on openSUSE MicroOS.
2. I am getting excessive amount of password prompt with the standard polkit policy (I have to type my password in like 4 times everytime I try to connect to a VPN). I did try putting it to easy mode, but it made no differences. I think this might have to do with openSUSE policies itself, but I am not sure. It would be great if you could somehow help eliminate the password prompts (like how it is on Fedora) or at least reduce the number of prompts there are.
Relevant: https://github.com/ProtonVPN/linux-cli/issues/42#issue-955693989
@tommytran732 what happens if you do this:
printf "\npolkit.addRule(function(action, subject) {\n\tif (action.id.indexOf('org.freedesktop.NetworkManager.') == 0 && subject.isInGroup('users')) {\n\t\treturn polkit.Result.YES;\n\t}\n});\n" | sudo tee /etc/polkit-1/rules.d/20-protonvpn.rules
That should give you apolkit exception for NetworkManager for all regular user accounts.
@tommytran732 what happens if you do this:
printf "\npolkit.addRule(function(action, subject) {\n\tif (action.id.indexOf('org.freedesktop.NetworkManager.') == 0 && subject.isInGroup('users')) {\n\t\treturn polkit.Result.YES;\n\t}\n});\n" | sudo tee /etc/polkit-1/rules.d/20-protonvpn.rulesThat should give you apolkit exception for NetworkManager for all regular user accounts.
Doesn't seem to fix it. Do I need to run any other command to load the polkit rules in? I did try rebooting but it made no differences.
@alexandrevicenzi Hi, I just wanted to ask if there is any further progress regarding Protonvpn-Gui as official -.rpm for Tumbleweed? It would be really cool if Opensuse would be in front of it
@osm-frasch hi, the package is currently experimental and can be added easily see: https://software.opensuse.org/package/protonvpn-gui
I still need to update a few things, once I do that, I'll send it to Factory and if accepted it will be available in TW.
I did not have the time recently, but hopefully, I can get back to it soon.
Hey @alexandrevicenzi any updates on getting the package to TW from factory ? I really appreciate your efforts !
The package is available in development repositories, not in Factory yet.
For TW:
zypper addrepo https://download.opensuse.org/repositories/network:vpn/openSUSE_Tumbleweed/network:vpn.repo
For Leap 15.3:
zypper addrepo https://download.opensuse.org/repositories/network:vpn/openSUSE_Leap_15.3/network:vpn.repo
After just refresh and install.
zypper refresh
zypper install protonvpn-gui
Once the package is accepted in Factory I'll post it here.
@alexandrevicenzi Thank you, works perfectly. Except for the Polkit rules. After I applied the Polkit rules as shown by @tommytran732, the GUI runs without the root password query. So now we just have to wait until the whole thing is included in Factory ...and until Wireguard is finally implemented and the whole thing becomes snappy ;-)
Not sure if any of you are aware but there are going to be some changes (no ETA at this point though). Please read more here: https://github.com/ProtonVPN/linux-cli/issues/64