Crystal Language Install Fedora 40

I am trying to install the Crystal language on my Fedora 40 set up.
https://crystal-lang.org/install/index.html

When I try to install, I get this:

sudo dnf install crystal
[sudo] password for heinrich:
Last metadata expiration check: 0:06:58 ago on Fri 12 Jul 2024 12:48:04 PM EDT.
Error:
 Problem: package crystal-1.13.0-1.1.x86_64 from devel_languages_crystal requires crystal1.13, but none of the providers can be installed
  - package crystal-1.13.0-1.1.x86_64 from devel_languages_crystal obsoletes crystal1.13 provided by crystal1.13-1.13.1-1.1.x86_64 from devel_languages_crystal
  - conflicting requests
(try to add '--skip-broken' to skip uninstallable packages)

Any suggestions on how I can install Crystal?

Added crystal, devel, f40, package-maintainers

It looks like a packaging problem with the Crystal repo itself. Have you tried the Docker method mentioned on the installation page? You can use Podman instead of Docker in Fedora.

2 Likes

Let the crystal maintainers know there is a problem.

2 Likes

Winner Winner Chicken Dinner!

2 Likes

I raised the issue on GitHib with the Crystal Maintainers. The issue was on their side. The issue has been fixed.

sudo dnf install crystal
Last metadata expiration check: 3:09:26 ago on Tue 16 Jul 2024 06:08:12 AM EDT.
Dependencies resolved.
==========================================================================================================================================================
 Package                         Architecture                   Version                             Repository                                       Size
==========================================================================================================================================================
Installing:
 crystal                         x86_64                         1.13.1-2.1                          devel_languages_crystal                         9.0 k

Transaction Summary
==========================================================================================================================================================
Install  1 Package

Total download size: 9.0 k
Installed size: 82
Is this ok [y/N]: y
Downloading Packages:
crystal-1.13.1-2.1.x86_64.rpm                                                                                              28 kB/s | 9.0 kB     00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                      28 kB/s | 9.0 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                  1/1
  Installing       : crystal-1.13.1-2.1.x86_64                                                                                                        1/1

Installed:
  crystal-1.13.1-2.1.x86_64

Complete!
3 Likes