Package crystal-0.15.0-1.x86_64 is already installed
judging by this information, you already have the http://dist.crystal-lang.org/rpm/crystal-0.15.0-1.x86_64.rpm package installed
After installing this package, the crystal script should appear in the /opt/crystal/bin/ , which you probably need. you can start it by specifying the full path to it:
/opt/crystal/bin/crystal опции параметры ...
in order to be able to run this script just by name, without specifying the full path to it, add this path to the value stored in the PATH environment variable:
export PATH="$PATH:/opt/crystal/bin"
In order not to execute this command manually in each instance of the shell , you can add it to the end of your shell's configuration file, which is called ~/.имяrc . You can find out the name of the shell like this:
$ echo $SHELL /bin/bash
This means that the file to which you can add the command is: ~/.bashrc .
rpm -ql crystal). - aleksandr barakincrystal-0.15.0-1.x86_64. // however, if the package was collected by the same team ... ghm ... programmers as for debian, thecrystalscript is most likely located in/opt/crystal/bin. here try it and run. - aleksandr barakin