What's new
  • Thank you for your input for the last few days regarding the list of exchanges you want to see DSTRA in.
    These are our targets for fundraising going forward. Learn more

Tutorial: Installing DSTRA Wallet in Ubuntu with Linux WINE

#1
Why use Linux WINE?

  • If you have unmet dependencies in your Ubuntu or Debian-based distribution that you are unable to resolve.
  • If you already run full nodes using Berkeley 4.8 libraries and are therefore unable to remove them in order to install Berkeley 5.3.
  • If you prefer to install DSTRA from an executable rather than building from source, while waiting for a Linux packaged image.

What is Linux WINE?

WINEHQ said:
Wine (originally an acronym for "Wine Is Not an Emulator") is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, macOS, & BSD. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing you to cleanly integrate Windows applications into your desktop.

Install DSTRA with WINE


To install DSTRA QT wallet in Linux using WINE complete the following 8 steps.
Note: Change $HOME where referenced to your path, example: /home/username/

Open terminal and add the repository (see WineHQ for Linux Mint instructions):
Code:
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
Update packages and install WINE from the stable branch:
Code:
sudo apt update && sudo apt-get install --install-recommends winehq-stable -y
Once WINE has successfully installed, reboot your system to implement the installation:
Code:
sudo reboot
Create the wineprefix directory and dstra wineprefix (installing mono and gecko when prompted):
Code:
mkdir ~/.wineprefix
WINEPREFIX="/$HOME/.wineprefix/dstra" wine wineboot
Download and extract the Windows executable to the dstra directory:
Code:
wget https://github.com/DSTRACoin/dstra/releases/download/v1.2.5/dstra-1.2.5-win32.zip
unzip dstra-1.2.5-win32.zip -d ~/.wineprefix/dstra
Download the dstra.conf file and save to Downloads folder:
Code:
https://mega.nz/#!WSQGDTDA!7Gwp7nNhG4fHekWuydcF31ljgJ1Ljeyl7pKdGCqsRtU
Move the dstra.conf file to your dstra data directory in your wineprefix:
Code:
mv ~/Downloads/dstra.conf "/$HOME/.wineprefix/dstra/drive_c/users/$HOME/Application Data/DSTRA"
Launch the DSTRA QT wallet in WINE from the dstra wineprefix:
Code:
WINEPREFIX="/$HOME/.wineprefix/dstra" wine /$HOME/.wineprefix/dstra/dstra-qt.exe
Any problems feel free to ask.
 
Last edited:

Rocha

Junior Member
#2
Congrats!! Nice to see more Linux users! Create a tutorial with Serathy´s help for install on a Raspberry! Linux is the best!
 
#3
Thanks for the tutorial, it is very informative! Although I am not a Linux user, I am pretty sure that Linux users may find it very helpful! Keep up with the work!
 

Aerolite

Junior Member
#7
I might give this a try. I've attempted to use WINE in the past on other coins' wallets but I haven't had much luck with it so I'd end up going a different route.
 
#8
I might give this a try. I've attempted to use WINE in the past on other coins' wallets but I haven't had much luck with it so I'd end up going a different route.
You should be OK with this one, the executable works fine in WINE basically, so shouldn't matter what OS you're on.
So far I've found all QT wallets seem to work on WINE, as after all, they are all QT software. Best of luck.