Repository navigation
linux-0.4.10-rc4
Hello!
As some of you may know, I was the one who created the how-to video for all of you to watch so you could easily setup Scarlet on your Windows machine. I have taken time out of my day to make proper Linux support, however it requires a shit ton of tweaking to work.
If some of you are interested in running this on Linux, but not too advanced with Linux, I would recommend staying away from this guide and sticking with Windows as it's much easier to run Scarlet that way.
As of the current release, 0.4.10-rc4, there is no current way (so I think that is) to tell Scarlet where the log files are stored, so logging will NOT work as of now. This is also why I mentioned that I've gotten some what proper support working.
I was running everything on Linux Mint 22, which is Ubuntu based. I have no idea how to set this up on other distros, however I'm willing to work with other distros to see how it works. Here's how to get it started;
Run sudo apt install openjdk-21-jdk -y. This will install Java version 21, not 8, 21. 8 doesn't seem to work properly on Linux with Scarlet. Be sure after you check the version using java --version in your terminal.
Install Powershell through a GitHub repo, Powershell is not on Linux natively. You can install it here, be sure you find and install the .deb file. https://github.com/PowerShell/PowerShell/releases?page=1
Once that is ran, open your terminal again and now type sudo ln -s /usr/bin/pwsh /usr/local/bin/powershell. This will make it so any calls Scarlet uses for "powershell" will in reality be using pwsh. PWSH is the same call as Powershell, but different in later versions past 5+. Be sure you did this correctly by running powershell in your terminal.
You likely already have Scarlet installed, however you're probably questioning how exactly you get it to run since a .bat file doesn't run on Linux. You need to convert your .bat file into a .sh file. I recommend naming your .sh file run.sh as I found it's easier that way.
After it is converted, go back into your terminal and run chmod +x run.sh. This will make your .sh file executable for Linux, you need to run this .sh file through your terminal.
You may get dependency/library issues. If you do, that is perfectly fine. I've given everyone a folder that they can download to manually add the folder themselves. Do note that the folder you will be looking for will be Windows based as Scarlet was meant to run on Windows, so yes, you will unironically need to find an AppData folder within Linux. Or, you can just add the libraries in the root directory of wherever you installed Scarlet. I was using my Downloads folder for this.
And with that, you should have Scarlet running natively on Linux. Just remember that you will not get updated logs until Vinny adds a way to change where your logs are stored.

Full Changelog: https://github.com/KozyBlake/Scarlet/commits/linux-0.4.10-rc4