[Solved] Build Package

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

[Solved] Build Package

Postby Spinnifex » Mar 22nd, '24, 00:53

Hello.

I want to compile and build
the newest version of GnuPG
and found a nice tutorial here.
Then I realize that I have to build a lot packages in addition.
And this is a little bit scary for me.
E.G. I may need to build a newer version of
Code: Select all
libusb

So if this failed I destroyed a crucial part of my system !?

Are there any security tips you have?
Can I make a snapshot of the system?
I have had installed
Code: Select all
timeshift
on Mag8 but never used it.
Is there an "easy" failsafe way?

Thanks!
best
Spinni
Last edited by Spinnifex on Jun 9th, '24, 20:01, edited 1 time in total.
Spinnifex
 
Posts: 141
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam

Re: Build Package

Postby doktor5000 » Mar 22nd, '24, 02:33

You don't seem to understand what linux from scratch is about, it's about building (compiling) a linux installation from scratch, basically without a package manager, one by one.
As you don't really understand what you're attempting, some brief answers:
- yes you may destroy part of or your complete system
- if you replace parts of your system there may be security consequences
- you should not try this on your main system, obviously, and no there is no easy failsafe way
- for your question about snapshot/timeshift you should start a separate thread


To build a newer version of gnupg you only need to build that, and the libraries it requires if those are required in a newer version than what is available.
If you want to try that, it's probably easier to rebuild a src.rpm from cauldron, where that newer gnupg version is already present.
I've described this here: https://forums.mageia.org/en/viewtopic.php?t=5530

Although you don't mention WHY you want the newest version of gnupg in the first place.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Build Package

Postby Spinnifex » Mar 24th, '24, 20:09

Hello.

Thanks for your advise.

You are right - i do not understand a lot of linux.
Therefore I ask here ;)

Okay I thought so that this page was not the best way to get what I want.
But I want to try to build GnuPG by myself.
This is the reason from GnuPG
These are the canonical release forms of GnuPG. To use them you need to build the binary version from the provided source code. For Unix systems this is the standard way of installing software. For GNU/Linux distributions are commonly used (e.g. Debian, Fedora, RedHat, or Ubuntu) which may already come with a directly installable packages. However, these version may be older so that building from the source is often also a good choice

The reason is

- I bought a Nitrokey and for the best way to use this I need a recent version of GnuPG along with CCID and PCSCD. I've tried for weeks to get this key working for me but with Mag8 I had no luck. And one reason was the not new version of GnuPG and CCID. The reason to buy the key is to login with this on websites who use FIDO or Passkey and to store my GnuPG keys for my mail accounts.
- I want to get this done

Thanks for your hint.

Hopefully I am able to build Gnupg

Thanks

Spinni
Spinnifex
 
Posts: 141
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam

Re: Build Package

Postby doktor5000 » Mar 24th, '24, 20:21

Maybe you should start with asking about Nitrokey and your actual issue instead of an arbitrary version upgrade for gnupg.
AFAICT nitrokey only requires gnupg 2.1 or higher including scdaemon, which we have by default. Same with ccid and pcsc-lite.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Build Package

Postby benmc » Mar 24th, '24, 20:26

Spinnifex wrote:I've tried for weeks to get this key working for me but with Mag8 I had no luck.


are you still on (EOS) Mga8
or on Mga9?
benmc
 
Posts: 1213
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Build Package

Postby Spinnifex » Mar 24th, '24, 22:28

Hello

I installed Mga9 recently.
But because of my OCD I did not installed all packages for nitrokey yet.
So I started an other thread how to build my own gnupg package.
But I should first check whether the current environment is good for the nitrokey (Nitrokey3).

Regards.
Spinni
Spinnifex
 
Posts: 141
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam

Re: Build Package

Postby Spinnifex » Mar 26th, '24, 00:00

Hello

@Doktor5000
To use the Nitrokey3 I will need
Code: Select all
ccid.1.5.0

or higher what I have read so far.

Spinnifex
Spinnifex
 
Posts: 141
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam

Re: Build Package

Postby Spinnifex » Jun 9th, '24, 20:00

Hello.

I was able to install the latest gnupg package. And I can access the key.
:)

Best
Spinni
Spinnifex
 
Posts: 141
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron