Project

General

Profile

MikroTik WinBox on Linux GUI computer

Introduction

This page documents setting up the MikroTik WinBox application on a Linux GUI computer.

It was done using WinBox 3.23 64-bit on a Debian Buster PC running Xfce but should be generally applicable for all Linux GUI desktops and WinBox 64-bit

Commands are illustrated for root. Prefix with sudo if required

Related documents

https://help.mikrotik.com/docs/display/ROS/Winbox

Prepare

apt install p7zip-full wine
mkdir -p /opt/mikrotik /tmp/winbox/ /usr/local/share/{applications,icons}

Download

No way was identified to get WinBox other than interactively

Interactively https://mikrotik.com/download > WinBox > note version number and click on 64-bit > save as /tmp/winbox/winbox.exe

Extract icons from .exe and install

cd /tmp/winbox/ && 7z x winbox.exe
cd .rsrc/ICON && file *
mv 1.ico winbox-32x32.ico
mv 2.ico winbox-16x16.ico
mv 3.ico winbox-48x48.ico
chmod 644 *.ico
cp -p *.ico /usr/local/share/icons

Install .exe

Replacing <version> with the version number seen on https://mikrotik.com/download

chmod 640 /tmp/winbox/winbox.exe
cp -p /tmp/winbox/winbox.exe /opt/mikrotik/winbox-<version>.exe
ln -s /opt/mikrotik/winbox{-<version>,}.exe  

winbox.desktop

Create /usr/local/share/applications/winbox.desktop containing

[Desktop Entry]
Name=MikroTik WinBox
Exec=wine64 /opt/mikrotik/winbox.exe
Terminal=false
Type=Application
Icon=/usr/local/share/icons/winbox-32x32.ico
Categories=Utility;