rayshader icon indicating copy to clipboard operation
rayshader copied to clipboard

Consider update ubuntu installation instructions

Open salvafern opened this issue 3 months ago • 0 comments

Hi there,

First thanks for this amazing package!

Adding here a solution to a issue I faced while installing. I have been attempting to install the ubuntu dependencies of rayshader on Ubuntu 24.04 noble but met this dependency issue:

$ sudo apt install libfreetype6-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libfreetype6-dev : Depends: libfreetype-dev (= 2.11.1+dfsg-1ubuntu0.2) but 2.13.2+dfsg-1build3 is to be installed
E: Unable to correct problems, you have held broken packages.

I tried a few things including sudo apt --fix-broken install but nothing fixed it. However, installing via install.packages("rayshader") with r2u properly config worked out of the blue. Maybe consider to add this option to the installation instructions?

salvafern avatar Nov 13 '24 14:11 salvafern