Will there be Linux support available? #9
Replies: 4 comments 12 replies
-
Hey there. Thanks for your post. I would love to support Linux but unfortunately, I have no experience with that kind of thing and don't really have the means right now to learn/develop/test it. So without help or anything, I'm sorry to say this will not be a priority for a good while |
Beta Was this translation helpful? Give feedback.
-
Care to check if the following was done? https://stackoverflow.com/questions/47285243/ The 3 top voted answers seem very promising... |
Beta Was this translation helpful? Give feedback.
-
I was able to successfully run it under Here are the needed steps:
Have fun! |
Beta Was this translation helpful? Give feedback.
-
I also wrote a simple installer / runner with all the needed commands, for a semi-automated installer. It sets up the wine repository and dependencies using commands adapted from the official sources: #!/bin/bash
# https://github.com/tryashtar/nbt-studio
########################################################
# Install Wine 6 (maybe 5 works too, who knows?)
# Check if already integrated with seten
# https://wiki.winehq.org/Ubuntu
sudo dpkg --add-architecture i386
### if Ubuntu 18.04, need extra packages from OpenSuse. They're already available in 20.04
wget -qO- 'https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key' | sudo apt-key add -
sudo apt-add-repository --no-update 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./'
####
wget -qO- 'https://dl.winehq.org/wine-builds/winehq.key' | sudo apt-key add -
sudo apt-add-repository --no-update 'https://dl.winehq.org/wine-builds/ubuntu/'
sudo apt update
sudo apt install -y --install-recommends winehq-stable
##########################################################
# This is optional, but I prefer to keep my wine "bottles" isolated from each other
export WINEPREFIX=$HOME/.local/share/wineprefixes/nbtstudio
# .NET 5 (formerlly .NET Core (up to 3.x), successor of .NET Framework (up to 4.x))
# https://dotnet.microsoft.com/download
# Windows, .NET 5.0 (or later), .NET Runtime
# https://dotnet.microsoft.com/download/dotnet/5.0/runtime
# Windows, Run Desktop Apps (not Console or Server), Download x64
# Automation:
# https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script
# Create and configure the bottle before installing .NET
wine64 wineboot
# Install the .NET Runtime
wine64 windowsdesktop-runtime-*-win-x64.exe
###################
# Download and extract latest NBT Studio
# https://github.com/tryashtar/nbt-studio/releases/latest
wine64 ./NbtStudio.exe @tryashtar , would you be interested in a PR to include such script in NBT Studio? I could give it a better polish, add some sanity checks and verifications, auto-select the needed requirements (i.e., check if Ubuntu 18.04 or later), add a CLI for |
Beta Was this translation helpful? Give feedback.
-
I use Ubuntu 20.04 and remember needing Wine to install the old NBTExplorer.
I LOVED that program and wish to use this one!
That said, Wine causes conflicts with a program we use for a web interface on my Bungeecord network.
Even if I cannot use this, I love that the ol' NBTExplorer is getting a reboot! <3
Beta Was this translation helpful? Give feedback.
All reactions