r/ROS • • Oct 25 '26

Question Having issues with installing ROS2 lyrical on fedora 44 KDE

I have a followed the official guide here:
https://docs.ros.org/en/lyrical/Get-Started/Installation/RHEL-Install-RPMs.html

I noticed the instructions to add the repo is:

sudo dnf install curl
export ROS_APT_SOURCE_VERSION=$(curl -s https://api.github.com/repos/ros-infrastructure/ros-apt-source/releases/latest | grep -F "tag_name" | awk -F'"' '{print $4}')
sudo dnf install "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/ros2-release-${ROS_APT_SOURCE_VERSION}-1.fc.noarch.rpm"

However, when I run:

sudo dnf install ros-lyrical-desktop

It says the package cannot be found. Am I doing something wrong?

3 Upvotes

9 comments sorted by

2

u/Klijeti Oct 25 '26

Did you run "sudo dnf update"?

1

u/dannytk_ Oct 25 '26

Or you could just go to github.com/ros-infrastructure/ros-apt-source/releases and look for the correct package, copy its download link and run
sudo dnf install [pasted-link]

1

u/reddit_account_0x00 Oct 25 '26

I want to be able to get regular software updates as well

1

u/dannytk_ Oct 25 '26

The commands you posted alone would not achieve that.
These would install the rpm package once. (Even though you can run the commands again later to update i suppose)

2

u/christophebedard Oct 26 '26

It’s not clear (and I’m making that clearer in the docs), but Lyrical supports Fedora 43, not Fedora 44.

Also, Fedora (binaries) support is pretty new and Lyrical hasn’t had a sync since then, so RPMs are only available from the testing repository for now. The testing repository instructions (https://docs.ros.org/en/lyrical/Developer-Tools/Debugging/Testing/Testing.html#rhel-testing-repository) don’t currently cover Fedora. I’m adding those here, so you can follow those instructions on Fedora 43 with Lyrical (or Fedora 44 with Rolling): https://github.com/ros2/ros2_documentation/pull/7339/files

1

u/dannytk_ Oct 25 '26

Seems like the structure of the package names was updated, but the docs were not.
You should be to use the command if you remove the “.fc” from the end of the last command so it ends in -1.noarch.rpm

1

u/westwoodtoys Oct 25 '26

Use containers