|
| 1 | +# How to Install |
| 2 | + |
| 3 | +Welcome to the installation guide for RAYX! This section is a work in progress as we refine our release distribution. If you encounter any issues, we're here to help. Please open an issue on GitHub [here](https://github.com/hz-b/rayx/issues/new/choose). Your feedback helps us improve our documentation and installers based on real user experiences. |
| 4 | + |
| 5 | +## Releases |
| 6 | + |
| 7 | +You can find the latest releases of RAYX [here](https://github.com/hz-b/rayx/releases/tag/v0.21.2). Each release includes: |
| 8 | + |
| 9 | +- **rayx-core**: The core library binary. |
| 10 | +- **rayx**: Command-Line Interface (CLI) application. |
| 11 | +- **rayx-ui**: Graphical User Interface (GUI) application. |
| 12 | +- **Data Files**: Includes necessary data, shader, and font files. |
| 13 | + |
| 14 | +## Dependencies |
| 15 | + |
| 16 | +There are some dependencies that might not be handled by every distributed package, installer or archive. We give a general overview of missing dependencies you might encounter here. |
| 17 | + |
| 18 | +### rayx-core |
| 19 | + |
| 20 | +- [HDF5 Library](https://www.hdfgroup.org/download-hdf5/) for faster I/O operations. |
| 21 | + |
| 22 | +### rayx-ui |
| 23 | + |
| 24 | +- GPU driver from AMD, Intel, or NVIDIA. |
| 25 | + |
| 26 | +## Installation Instructions |
| 27 | + |
| 28 | +### Windows |
| 29 | + |
| 30 | +We provide the following options for Windows: |
| 31 | + |
| 32 | +- **Portable Version (.zip)**: No installation required. Just unzip and run. |
| 33 | +- **Installer (.exe)**: An NSIS installer that guides you through the setup process. |
| 34 | + |
| 35 | +**Note:** You may need to install the [Microsoft Visual C++ Redistributable](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170). |
| 36 | + |
| 37 | +### Linux |
| 38 | + |
| 39 | +We offer several packages for Linux distributions: |
| 40 | + |
| 41 | +- **Debian Package (.deb)**: For Debian-based systems like Ubuntu. |
| 42 | +- **RPM Package (.rpm)**: For Red Hat-based systems like Fedora. |
| 43 | +- **Tarball (.tar.gz)**: For other Linux systems. Intended for experienced users comfortable with manual installations. |
| 44 | + |
| 45 | +#### Ubuntu (Debian-based Systems) |
| 46 | + |
| 47 | +To install RAYX on Ubuntu: |
| 48 | + |
| 49 | +1. **Download** the `.deb` package from the [releases page](https://github.com/hz-b/rayx/releases/tag/v0.21.2). |
| 50 | + |
| 51 | +2. **Install** the package using: |
| 52 | + |
| 53 | + ```bash |
| 54 | + sudo apt install ./rayx-ui_<version>_amd64.deb |
| 55 | + ``` |
| 56 | + |
| 57 | + Replace `<version>` with the actual version number. |
| 58 | + |
| 59 | +3. **Install Dependencies**: |
| 60 | + |
| 61 | + ```bash |
| 62 | + sudo apt-get install libhdf5-dev |
| 63 | + ``` |
| 64 | + |
| 65 | +#### Fedora (Red Hat-based Systems) |
| 66 | + |
| 67 | +To install RAYX on Fedora: |
| 68 | + |
| 69 | +1. **Download** the `.rpm` package from the [releases page](https://github.com/hz-b/rayx/releases/tag/v0.21.2). |
| 70 | + |
| 71 | +2. **Install** the package using: |
| 72 | + |
| 73 | + ```bash |
| 74 | + sudo dnf install rayx-ui-<version>.rpm |
| 75 | + ``` |
| 76 | + |
| 77 | + Replace `<version>` with the actual version number. |
| 78 | + |
| 79 | +3. **Install Dependencies**: |
| 80 | + |
| 81 | + ```bash |
| 82 | + sudo dnf install hdf5 |
| 83 | + ``` |
| 84 | + |
| 85 | +#### Arch Linux |
| 86 | + |
| 87 | +While we don't provide a native package for Arch Linux, you can use the tarball or build from source. |
| 88 | + |
| 89 | +**Install Dependencies**: |
| 90 | + |
| 91 | +```bash |
| 92 | +sudo pacman -S hdf5 |
| 93 | +``` |
| 94 | + |
| 95 | +--- |
| 96 | + |
| 97 | +### Installing from Tarball (.tar.gz) |
| 98 | + |
| 99 | +The tarball is intended for experienced users who prefer manual installation or are using a Linux distribution not directly supported by our `.deb` or `.rpm` packages. |
| 100 | + |
| 101 | +**Steps**: |
| 102 | + |
| 103 | +1. **Download** the `.tar.gz` file from the [releases page](https://github.com/hz-b/rayx/releases) or use the provided tarball. |
| 104 | + |
| 105 | +2. **Extract** the tarball: |
| 106 | + |
| 107 | + ```bash |
| 108 | + tar -xzf RAYX-<version>-Linux.tar.gz |
| 109 | + ``` |
| 110 | + |
| 111 | + This will create a directory named `RAYX-<version>-Linux`. |
| 112 | + |
| 113 | +3. **Move** the extracted files to a directory of your choice (e.g., `/opt/rayx`): |
| 114 | + |
| 115 | + ```bash |
| 116 | + sudo mv RAYX-<version>-Linux /opt/rayx |
| 117 | + ``` |
| 118 | + |
| 119 | +4. **Add to PATH** (optional): |
| 120 | + |
| 121 | + ```bash |
| 122 | + echo 'export PATH=/opt/rayx/bin:$PATH' >> ~/.bashrc |
| 123 | + source ~/.bashrc |
| 124 | + ``` |
| 125 | + |
| 126 | +5. **Run RAYX** from the installation directory or after adding it to your PATH. |
| 127 | + |
| 128 | +**Note:** Installing from a tarball does not handle dependencies automatically. You need to ensure all required dependencies are present on your system. Look at the previous sections for guidance. |
| 129 | + |
| 130 | +--- |
| 131 | + |
| 132 | +If you have any questions or run into issues during installation, please don't hesitate to [open an issue on GitHub](https://github.com/hz-b/rayx/issues/new/choose). Your input is invaluable in helping us enhance our tools and documentation. |
0 commit comments