cknermann / WINE-on-ChromeOS

Shell-Script to install WINE in the Google Chrome OS Linux environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WINE-on-ChromeOS

This shell-script can be used to install WINE in the Chrome OS Linux environment. It was inspired by the how-tos I found here and here. With Chrome OS 97 and newer moving from Debian 10 "Buster" to 11 "Bullseye", I updated the script to use OpenPGP repository signing keys instead of the depracted apt-key command, as outlined here.

Now the script automatically executes all necessary steps to setup WINE and launch it's configuration tool. Just install the Linux environment on your Chromebook, preferably choosing more than the default partition size of 10.0 GB. Then update Linux...

sudo apt-get update
sudo apt-get dist-upgrade

...and install WINE by issuing the following command:

bash <(curl -sL https://raw.githubusercontent.com/cknermann/WINE-on-ChromeOS/main/wine-on-chromeos.sh)

Be sure to carefully monitor the free disk space of the Linux system and be ready to expand the partition, depending on which Windows applications you're going to install. Further consider that WINE will deploy not-working shortcuts in Chrome OS' launcher and you will have to manually repair them, as outlined here. You will find the shortcuts in /home/<username>/.local/share/applications/wine/Programs/:

WINE

I have successfully tested this using Google Chrome OS up to version 112.0, the Linux environment running Debian 11 "Bullseye" and WINE 8.0. The previous version of the script worked on earlier Chrome OS versions with Debian 10 "Buster" and previous versions of WINE, too. It's just a tiny little script to speed up things a bit, which comes "as-it-is" without any warranties or support. Please feel free to adapt it to suit your needs.

About

Shell-Script to install WINE in the Google Chrome OS Linux environment

License:MIT License


Languages

Language:Shell 100.0%