Rebuilding .rpm package for VPN
Posted:
Sep 12th, '21, 05:08
by kiddjsh
I just recently installed Mageia as my Linux OS, and was wanting to add a VPN service. All of the FREE to use VPN services found online do not seem to support Mageia, so I started doing some research through the Wiki. I found an instance where a user can rebuild a distro for Mageia, with references to Fedora and Debian as the source .rpm packages; I wasn't able to locate the alien program mentioned from the Mageia repo for Debian packages. The VPN service I was looking at is the ProtonVPN, and they have downloadable Fedora, Debian and ArchLinux packages. Is the process of rebuilding a distro fairly easy, or is there another way around this?
Foreign .rpm packages
An rpm from another distro can often be rebuilt for Mageia. Please refer to Packagers RPM tutorial. A good source for the best suitable package candidates is Fedora.
Also see our forum thread How to rebuild an src.rpm, using amoebax as example
.deb packages
Programs packaged for Debian/Ubuntu/... in .deb format can often be converted using the program alien, which you can install from Mageia repo.
Example: How to repackage and install Spotify
Re: Rebuilding .rpm package for VPN
Posted:
Sep 12th, '21, 10:10
by sturmvogel
You don't need the ProtonVPN package. You can also setup this VPN with Mageia onboard tools. Make sure you have Mageias network-manager installed.
https://wiki.mageia.org/en/Switching_to_networkmanagerAnd now follow the instructions from ProtonVPN to setup your connection with Mageias networkmanager-openvpn:
https://protonvpn.com/support/linux-openvpn/
Re: Rebuilding .rpm package for VPN
Posted:
Sep 12th, '21, 13:17
by morgano
Welcome to Mageia kiddjsh!
You may like to introduce yourself at
viewtopic.php?f=2&t=15Thank you for noticing and reporting we no longer have alien packaged.
I would like to update
https://wiki.mageia.org/en/Ways_to_inst ... b_packages with a working method.
(For now, I noted there that we do not have alien any more.)Anyone here know how to do install .deb?
Re: Rebuilding .rpm package for VPN
Posted:
Sep 12th, '21, 13:30
by sturmvogel
According to our Database we do have alien packaged.
https://madb.mageia.org/package/show/application/0/arch/x86_64/name/alienMorgano, i reversed the change in our Wiki!
But as already mentioned: This is not necessary to get a working VPN under any linux distribution.
Re: Rebuilding .rpm package for VPN
Posted:
Sep 12th, '21, 15:20
by morgano
Thanks sturmvogel for the correction
I did check myself but did it in a wrong way
BTW, currently a bug and fix in our alien
here
Re: Rebuilding .rpm package for VPN
Posted:
Sep 24th, '21, 01:17
by kiddjsh
So, the alien program can be downloaded from the link above, and it won't have any problems with creating a .deb version of the program to run, that will be compatible with Mageia? Meaning, I can use the alien program to repackage a debian version of the ProtonVPN service? Has the bug fix been implemented, that was mentioned before?
Re: Rebuilding .rpm package for VPN
Posted:
Sep 24th, '21, 02:30
by kiddjsh
Also, I followed the instructions above on OpenVPN, how I'm getting an error when attempting to following the instructions from ProtonVPN.
bash: apt-get: command not found
any pointers?
Re: Rebuilding .rpm package for VPN
Posted:
Sep 24th, '21, 10:34
by sturmvogel
Mageia is using rpm and dnf. But if you are not familiar to commandline you can also use the Mageia software center.
Install following packages via software center:
- Code: Select all
networkmanager-openvpn-1.8.12-1.mga8.x86_64.rpm
openvpn-2.5.0-2.1.mga8.x86_64.rpm
plasma-applet-nm-openvpn-5.20.4-1.mga8.x86_64.rpm
P.S.:
https://wiki.mageia.org/en/Installing_and_removing_softwarehttps://wiki.mageia.org/en/Install_and_remove_software_for_beginners
Re: Rebuilding .rpm package for VPN
Posted:
Apr 14th, '22, 20:19
by codegazer
For information on configuring openvpn to connect to protonVPN, please see:
https://wiki.mageia.org/en/Configuring_OpenVPN_with_ProtonVPN_in_Mageia