Due to Silica requiring dpkg-deb to properly work, you cannot run Silica in native Windows. As a result, you need to set your machine up WSL and Ubuntu for Windows, which will allow for Linux programs to run in Windows via a terminal.
Please follow this official tutorial. Please use Ubuntu for ideal results.
Due to how dpkg-deb
handles permissions, we need to change some settings to make things work.
- Run
sudo nano /etc/wsl.conf
to edit the WSL config. - Copy and paste the following text into the file.
[automount]
enabled = true
root = /mnt/
options = "umask=22,fmask=11"
- Run the following command to update your
umask
to0022
.
echo "\numask 0022" >> ~/.bashrc
-
Open up Windows PowerShell as an administrator by right-clicking on the Windows button.
-
Run this command to restart WSL:
Get-Service LxssManager | Restart-Service
That's it! Windows is now ready for Silica! (Note: Please always run Silica through the Ubuntu program or Windows Terminal.)
(Tip courtesy of /u/zoredache on Reddit.)
Like any Debian-based system (like Ubuntu), we need to install some dependencies before downloading Silica.
apt-get install gnupg
apt-get install git
Now it's time to get Silica! Because of how Windows deals with line breaks, we need to download Silica via Git. If you already downloaded Silica via your web browser, delete it. We'll redownload it in a second.
Once you are in the directory you want to download Silica to, run this command:
git clone https://github.com/Shugabuga/Silica/
This will create a new folder for Silica.
Due to how Windows deals with line breaks, if you wish to create Silica config files by hand, you need to make sure your text editor uses Unix line breaks. This varies by text editor and IDE, so look for a setting about line breaks or EOL characters and set it to Unix.
From here, you're all set for Windows-specific instructions!