Step 1: Download the ZIP from the GitHub Release
- Navigate to the GitHub repository of Didot.
- Go to the Releases section, typically found under the “Code” tab.
- Download the
.zip
file for the desired release.
Example:
wget https://github.com/Seddryck/Didot/releases/download/v0.13.0/Didot-0.13.0-net7.0-linux-x64.zip
Step 2: Extract the ZIP File
- Open a terminal and navigate to the directory where you downloaded the
.zip
file. - Use the
unzip
command to extract the contents. You can choose any directory for extraction (e.g.,/usr/local/bin/Didot
).
unzip didot.zip -d /usr/local/bin/Didot
Tip: Ensure the directory you extract to is accessible and easy to remember.
Step 3: Add the Executable to the System PATH
To run the executable from any location in the terminal, you need to add its folder to your system’s PATH.
- Open your
~/.bashrc
(or~/.zshrc
depending on your shell) file with a text editor.
nano ~/.bashrc
- Add the following line at the end of the file to add the Didot directory to your PATH:
export PATH="/usr/local/bin/Didot:$PATH"
- Save the file and reload your shell configuration:
source ~/.bashrc
Step 4: Verify Installation
- Open a new terminal.
- Type the name of the executable (e.g.,
didot
) and hit Enter. - If everything is set up correctly, the program should run.