Question

Running a Twitch Bot on DO

Posted July 9, 2021 64 views
Linux BasicsFAQDigitalOceanBuilding on DigitalOcean

Can i run my twitch host bot on DO?

my issue is itsa .exe file

can i put this on linux

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hello,

Usually running .exe files is not supported on Linux natively.

However, you could try using a program called Wine. To install Wine on Ubuntu you could follow the steps here:

  • Check installed architectures
dpkg --print-architecture
  • See if 32-bit architecture is installed. The following command should respond with “i386”.
dpkg --print-foreign-architectures
  • If “i386” is not displayed, execute the following.
sudo dpkg --add-architecture i386
  • Recheck with:
dpkg --print-foreign-architectures
  • Add the WineHQ Ubuntu repository.
wget -nc https://dl.winehq.org/wine-builds/winehq.key

sudo gpg -o /etc/apt/trusted.gpg.d/winehq.key.gpg --dearmor winehq.key
  • Add the repository.
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
  • Update the package database.
sudo apt update
  • Install Wine
sudo apt install --install-recommends winehq-stable
  • Verify the installation succeeded.
wine --version

Then finally to run the .exe file use the following command:

wine your_file.exe

For more information about wine check their official website here:

https://www.winehq.org/

If this does not work with your bot, I could suggest finding a bot that is supported for Linux.
Regards,
Bobby