To see our 3D Printed DIY product offerings, head to our Etsy shop by clicking here!

By Bijan Bowen

Jetson Box64 & Wine64 Install

Box64 and Wine64 Installation Guide

Installing Box64 and Wine64 on Nvidia Jetson

Box64 Installation

Box64 lets your ARM64 device run x86_64 (64-bit) Linux programs.

1. Get the Source Code

git clone https://github.com/ptitSeb/box64
cd box64

Downloads the Box64 program code from the internet

2. Prepare Build Environment

mkdir build
cd build

Creates a new folder for building the program

3. Configure for Jetson

cmake .. -D TEGRA_T234=1 -D CMAKE_BUILD_TYPE=RelWithDebInfo

Sets up Box64 specifically for Jetson hardware

4. Compile the Program

make -j4

Builds Box64 using 4 CPU cores for faster compilation

5. Install Box64

sudo make install

Installs Box64 on your system

6. Enable System Integration

sudo systemctl restart systemd-binfmt

Tells your system to use Box64 for x86_64 programs

7. Verify Installation

box64 --version

Checks that Box64 is properly installed

Wine64 Installation

Wine64 lets you run Windows 64-bit programs on Linux.

1. Set Up Variables

branch="stable"
version="9.0.0.0"
id="ubuntu"
dist="jammy"
tag="-1"

Defines which version of Wine we want to install

2. Download Wine Packages

LNKA="https://dl.winehq.org/wine-builds/${id}/dists/${dist}/main/binary-amd64/"
DEB_A1="wine-${branch}-amd64_${version}~${dist}${tag}_amd64.deb"
DEB_A2="wine-${branch}_${version}~${dist}${tag}_amd64.deb"
wget ${LNKA}${DEB_A1}
wget ${LNKA}${DEB_A2}

Downloads the necessary Wine files

3. Install Wine Files

rm -rf wine-installer
rm -rf ~/wine
mkdir wine-installer
dpkg-deb -x wine-stable-amd64_9.0.0.0~jammy-1_amd64.deb wine-installer
dpkg-deb -x wine-stable_9.0.0.0~jammy-1_amd64.deb wine-installer
mv wine-installer/opt/wine* ~/wine

Extracts and installs Wine to your home directory

4. Create System Links

sudo ln -s ~/wine/bin/wine64 /usr/local/bin/wine64
sudo ln -s ~/wine/bin/wineboot /usr/local/bin/wineboot
sudo ln -s ~/wine/bin/winecfg /usr/local/bin/winecfg
sudo ln -s ~/wine/bin/wineserver /usr/local/bin/wineserver
sudo chmod +x /usr/local/bin/wine64 /usr/local/bin/wineboot /usr/local/bin/winecfg /usr/local/bin/wineserver

Makes Wine commands available system-wide

5. Install Dependencies

sudo apt-get install -y libodbc2 libosmesa6

Installs additional required software

6. Initialize Wine

wine64 wineboot

Sets up Wine for first use

7. Running Windows Programs

box64 wine64 program.exe

Basic command to run Windows programs

Note: Run Wine initialization and Windows programs directly on the device, not through SSH, for proper display support.

0 comments

Leave a comment

Please note, comments must be approved before they are published