This walkthrough describes an unofficial way to run the Windows edition of nanoCAD 22 on Ubuntu 22.04 LTS. It records the versions used in the original test.
We used Wine 7.11 Staging. The Wine project provides its own installation instructions: https://wiki.winehq.org/Ubuntu The steps used in this test are listed below.
Open a terminal.
1. Update the package index.
sudo apt update
2. On a 64-bit system, enable the 32-bit architecture.
sudo dpkg --add-architecture i386
3. Download and install the WineHQ repository key.
wget -nc https://dl.winehq.org/wine-builds/winehq.key && sudo mv winehq.key /usr/share/keyrings/winehq-archive.key
4. Add the WineHQ repository for Ubuntu Jammy.
wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources && sudo mv winehq-jammy.sources /etc/apt/sources.list.d/
5. Refresh the package index.
sudo apt-get update
6. Install WineHQ Staging.
sudo apt install --install-recommends winehq-staging
7. Check the installed Wine version.
wine --version
To adjust Wine settings, use
winecfg
8. Install winetricks
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && chmod +x winetricks && sudo apt install winetricks
If Winetricks is already installed, update it:
sudo winetricks --self-update
Next, install the Windows dependencies used by nanoCAD 22.
9. Install .NET Framework 4.8.
winetricks --force dotnet48
10. Install the Visual C++ 2019 runtimes. Extract VC_redist.x86.exe and VC_redist.x64.exe from the nanoCAD installer with Engrampa and run both:
wine VC_redist.x86.exe && wine VC_redist.x64.exe
11. Install d3dcompiler_47 library
winetricks d3dcompiler_47
On June 20, 2022, this procedure installed Wine 7.11 Staging.
12. Download nanoCAD 22 to the Downloads folder, switch to that directory and start the installer:
This example installs the platform alone. Clear the PostgreSQL checkbox because the specialist modules aren’t being installed.
wine NC22*.exe
13. Add wine_nano220x64.reg to Wine’s Windows registry.
winetricks regedit wine_nano220x64.reg
14. Launch nanoCAD from the desktop icon. The extra 22.0.lnk file can be removed from the desktop.
This completes the setup used for the original Ubuntu 22.04 and nanoCAD 22 test.


