Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

how to install dashqt on Linux

Discussion in 'Daemon and QT Wallet Guides' started by MrZilch, Sep 21, 2015.

  1. MrZilch

    MrZilch Active Member

    Joined:
    Jun 9, 2015
    Messages:
    96
    Likes Received:
    106
    Trophy Points:
    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.
     
  2. MrZilch

    MrZilch Active Member

    Joined:
    Jun 9, 2015
    Messages:
    96
    Likes Received:
    106
    Trophy Points:
    93
    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 Like x 1
  3. MangledBlue

    MangledBlue Well-known Member

    Joined:
    Jun 28, 2014
    Messages:
    1,246
    Likes Received:
    678
    Trophy Points:
    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
     
  4. UdjinM6

    UdjinM6 Official Dash Dev
    Dash Core Team Moderator

    Joined:
    May 20, 2014
    Messages:
    3,637
    Likes Received:
    3,536
    Trophy Points:
    1,183
    change "bitcoin" to "dash" and try again ;)
     
  5. MangledBlue

    MangledBlue Well-known Member

    Joined:
    Jun 28, 2014
    Messages:
    1,246
    Likes Received:
    678
    Trophy Points:
    183
    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.
     
  6. camosoul

    camosoul Grizzled Member

    Joined:
    Sep 19, 2014
    Messages:
    2,249
    Likes Received:
    1,125
    Trophy Points:
    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?