How to install CPU-OS Simulator in Ubuntu 20.04 using Wine
Installing windows application in Linux
Install Wine(referred link)
Wine (originally an acronym for “Wine Is Not an Emulator”) is a compatibility layer capable of running Windows applications on Unix-like operating systems, such as Linux, macOS, & BSD. It translates Windows system calls into equivalent POSIX calls on-the-fly, allowing a seamless integration of Windows programs into any desktop environment.
- If your system is 64 bit, enable 32 bit architecture
sudo dpkg — add-architecture i386
- Download and add the repository key
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
- Add the repository
sudo add-apt-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ focal main’
- Update packages
sudo apt update
- Install winehq-stable package
sudo apt install — install-recommends winehq-stable
Configure Wine(referred link)
- run the
winecfgcommand in your terminal.
- The command installs Mono and Gecko and sets the Wine environment.
- A dialog will appear asking whether you want to install the wine-mono package. Click on the “Install” button, and the installation will start.
- Once done, a new dialog will appear, prompting you to install Gecko. Again click on the “Install” button.
- When the installation is completed, the Wine configuration dialog will be shown. Here you can configure various Wine settings. The default settings should be sufficient in most cases. Once finished, close the dialog box.
Get Winetricks(referred link)
Winetricks is a helper script to download and install various redistributable runtime libraries needed to run some programs in Wine.
- Goto Downloads folder
- Download the script
- Give executable permission
chmod +x winetricks
Install packages using Winetricks
These packages are need to run the CPU-OS Simulator.
Install vb6run package (used to run vb6 apps)
sh winetricks vb6run
Get mfc42.dll file(used by the Visual Studio)
sh winetricks mfc42
Install CPU-OS Simulator in Ubuntu
- Download the CPU-OS simulator’s installation file(
.exe) from here
- Start the installation by right-clicking on the
.exefile and selecting
Open With Wine Windows Program Loader
- The installation wizard will start. Install in the same way as you would install any application on a Windows computer.
- Windows applications are installed in the
Run CPU-OS Simulator in Ubuntu
To start the CPU-OS Simulator, navigate to the
~/.wine/drive_c/Program Files (x86)/CPU-OS Simulator directory and double click on the
CPUSimulator.exe file(or right click and select
Open With Wine Windows Program Loader)
CPUSimulator.exe file can be copied to Desktop for quick access.