Recent

Author Topic: Centos 7.9 and rpm....  (Read 3918 times)

Prime

  • Jr. Member
  • **
  • Posts: 62
Centos 7.9 and rpm....
« on: August 06, 2021, 02:29:14 pm »
Hi all,

I'm trying to install fpc 3.2.2 / Lazarus 2.0.12 on a Centos 7.9 system.

However when I try and install the RPMs I get
Code: [Select]
# rpm -Uvh fpc-3.2.0-1.x86_64.rpm
error: Failed dependencies:
        rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by fpc-3.2.0-1.x86_64

This is because the compression I believe has been changed in the latest versions of RPM, and centos does not support this :(

I've managed to install fpc using the downloadable tar file, and telling it where to install. Is there a version of Lazarus that can be installed in the same way?

If not I'm happy to build / install fpc/Lazarus as needed, however I want to try and install system wide rather than just for one user, is this possible?

Cheers.

Phill.

nesquik

  • Newbie
  • Posts: 2
Re: Centos 7.9 and rpm....
« Reply #1 on: August 12, 2021, 04:20:09 am »
the nature of centos is meant to be stable long-term packages.
Quote
If not I'm happy to build / install fpc/Lazarus as needed
i would recommend using https://github.com/LongDirtyAnimAlf/fpcupdeluxe so you don't have to pull your hair out compiling manually
Quote
however I want to try and install system wide rather than just for one user, is this possible?
you can specific the install path with fpcupdeluxe

dbannon

  • Hero Member
  • *****
  • Posts: 2794
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Centos 7.9 and rpm....
« Reply #2 on: August 12, 2021, 04:31:20 am »

I've managed to install fpc using the downloadable tar file, and telling it where to install. Is there a version of Lazarus that can be installed in the same way?

If not I'm happy to build / install fpc/Lazarus as needed, however I want to try and install system wide rather than just for one user, is this possible?

It should be possible to do a system wide install of Lazarus from source.  A bit more fiddling around for sure but it does sound like you understand the issues.
On the other hand, much of a System Wide install ends up being replicated in user space as soon as you install your first package so, maybe its not worth while fussing with and a local install of Lazarus is reasonably well documented.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

 

TinyPortal © 2005-2018