Rebuilding .rpm package for VPN

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Rebuilding .rpm package for VPN

Postby kiddjsh » Sep 12th, '21, 05:08

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
kiddjsh
 
Posts: 4
Joined: Sep 11th, '21, 07:35

Re: Rebuilding .rpm package for VPN

Postby sturmvogel » Sep 12th, '21, 10:10

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_networkmanager

And now follow the instructions from ProtonVPN to setup your connection with Mageias networkmanager-openvpn:
https://protonvpn.com/support/linux-openvpn/
sturmvogel
 
Posts: 674
Joined: Jul 30th, '12, 00:39

Re: Rebuilding .rpm package for VPN

Postby morgano » Sep 12th, '21, 13:17

Welcome to Mageia kiddjsh! :)

You may like to introduce yourself at viewtopic.php?f=2&t=15

Thank 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?
Mandriva since 2006, Mageia 2011 at home & work. Thinkpad T40, T43, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1301
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: Rebuilding .rpm package for VPN

Postby sturmvogel » Sep 12th, '21, 13:30

According to our Database we do have alien packaged.
https://madb.mageia.org/package/show/application/0/arch/x86_64/name/alien
Morgano, i reversed the change in our Wiki!

But as already mentioned: This is not necessary to get a working VPN under any linux distribution.
sturmvogel
 
Posts: 674
Joined: Jul 30th, '12, 00:39

Re: Rebuilding .rpm package for VPN

Postby morgano » Sep 12th, '21, 15:20

Thanks sturmvogel for the correction :)
I did check myself but did it in a wrong way :oops:
BTW, currently a bug and fix in our alien here
Mandriva since 2006, Mageia 2011 at home & work. Thinkpad T40, T43, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1301
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: Rebuilding .rpm package for VPN

Postby kiddjsh » Sep 24th, '21, 01:17

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?
kiddjsh
 
Posts: 4
Joined: Sep 11th, '21, 07:35

Re: Rebuilding .rpm package for VPN

Postby kiddjsh » Sep 24th, '21, 02:30

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?
kiddjsh
 
Posts: 4
Joined: Sep 11th, '21, 07:35

Re: Rebuilding .rpm package for VPN

Postby sturmvogel » Sep 24th, '21, 10:34

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_software
https://wiki.mageia.org/en/Install_and_remove_software_for_beginners
sturmvogel
 
Posts: 674
Joined: Jul 30th, '12, 00:39

Re: Rebuilding .rpm package for VPN

Postby codegazer » Apr 14th, '22, 20:19

For information on configuring openvpn to connect to protonVPN, please see:

https://wiki.mageia.org/en/Configuring_OpenVPN_with_ProtonVPN_in_Mageia
User avatar
codegazer
 
Posts: 22
Joined: Mar 30th, '11, 00:48


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron