how to install dashqt on Linux

MrZilch

Active Member
Jun 9, 2015
96
106
93
Hey guys. Im very new to Linux. This is a kind of embarrassing question. How do I install dash qt on ubuntu ?
thanks in advance.
 

MrZilch

Active Member
Jun 9, 2015
96
106
93
Hey guys. Im very new to Linux. This is a kind of embarrassing question. How do I install dash qt on ubuntu ?
thanks in advance.
I will answer my own question as I cant figure out how to del this post.

UdjinM6 Answered this here : https://dashtalk.org/threads/linux-wallet-download-installation-guide.3901/


"
Our build system now produce files that are not recognized as executables though they are.
I wrote a simple script to install dash-qt from downloaded archive and to give it a nice icon.
Here is what you need to do:

1) After you extracted downloaded archive you should have dash-0.12.0 folder somewhere.
Go inside it, create a file named install_dash_qt.sh and edit it with your favorite editor:

Code (Text):
  1. #!/bin/bash
  2. sudo -s install -m 0755 -o root -g root -t /usr/local/bin bin/dash-qt
  3. echo "[Desktop Entry]
  4. Name=Dash-Qt
  5. Comment=Dash - Reinventing Cryptocurrency https://www.dashpay.io
  6. Type=Application
  7. Exec=dash-qt %u
  8. Terminal=false
  9. Icon=/usr/share/pixmaps/dash128.xpm
  10. MimeType=x-scheme-handler/dash
  11. Categories=Applications;Finance;" > ~/Desktop/Dash-Qt.desktop
  12. chmod u+x ~/Desktop/Dash-Qt.desktop
  13. sudo cp ~/Desktop/Dash-Qt.desktop /usr/share/applications/
  14. sudo wget -O /usr/share/pixmaps/dash128.xpm https://github.com/dashpay/dash/raw/master/share/pixmaps/bitcoin128.xpm
2) Right click on empty space in that folder and choose "Open in Terminal". In command line issue:
Code (Text):
  1. chmod u+x install_dash_qt.sh
to make file executable and
Code (Text):
  1. ./install_dash_qt.sh
to run it.

Enter your password and shortly after you should have a nice icon on your Desktop and the same icon in Applications.

Enjoy! :)

PS. This script reguires wget. Install it first if you don't have it already
Code (Text):
  1. sudo apt-get install wget
EDIT:
"su -c" requires you to set root password which "normal"/non-developer users do not have at all (by ubuntu's default)
Changed script to use "sudo -s" instead, give it a try if you had problems before
 
  • Like
Reactions: splawik21

MangledBlue

Well-known Member
Jun 28, 2014
1,246
678
183
USA
FYI
As of today - not getting this to work
thx



error as follows
-----------------------------------------------
NAMESTUFF$ sudo ./install_dash_qt.sh [hit enter]
install: cannot stat 'bin/dash-qt': No such file or directory
--2017-02-20 18:29:35-- https://github.com/dashpay/dash/raw/master/share/pixmaps/bitcoin128.xpm
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-02-20 18:29:36 ERROR 404: Not Found.

NAMESTUFF$
---------------------------------------------------

edit to add error
 

UdjinM6

Official Dash Dev
Dash Core Team
Moderator
May 20, 2014
3,638
3,538
1,183
FYI
As of today - not getting this to work
thx



error as follows
-----------------------------------------------
NAMESTUFF$ sudo ./install_dash_qt.sh [hit enter]
install: cannot stat 'bin/dash-qt': No such file or directory
--2017-02-20 18:29:35-- https://github.com/dashpay/dash/raw/master/share/pixmaps/bitcoin128.xpm
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-02-20 18:29:36 ERROR 404: Not Found.

NAMESTUFF$
---------------------------------------------------

edit to add error
change "bitcoin" to "dash" and try again ;)
 

MangledBlue

Well-known Member
Jun 28, 2014
1,246
678
183
USA
That did help as it completed
but

I have a general icon called Dash-Qt.desktop and does not function

-------error
The application launcher “Dash-Qt.desktop” has not been marked as trusted. If you do not know the source of this file, launching it may be unsafe.
 

camosoul

Grizzled Member
Sep 19, 2014
2,263
1,130
1,183
Type "./dash-qt &" and hit enter... That's it. Nothing else.

You're making it waayyy harder than necessary and I don't know why.

On xubuntu 16.04 there aren't any dependencies to install. Just download the binary and run it. Easier than Windows or MAC.

Wasn't there a PPA?