Linux安装指南#
This guide describes how to download, verify, install and encrypt the Dash Core wallet for Linux. The guide is written for Ubuntu 20.04 LTS, but the steps should be similar for other Linux distributions.
下载Dash Core钱包#
Visit https://www.dash.org/downloads/ to download the latest Dash Core wallet. In most cases, the website will properly detect which version you need. Click the Dash Core button to download the package directly.
If detection does not work, you will need to manually choose your operating system and whether you need an x64 (64 bit x86) or ARM version. If you are unsure about your version of Linux, you can check in Ubuntu using the Terminal:
uname -m
If the response is x86_64
, download Dash Core x64. If the response is
aarch64
, download Dash Core ARM. Once you know which version you need,
download the Dash Core TGZ file to your computer from
https://www.dash.org/downloads/ and save it to your Downloads folder.
备注
Since Dash Core 18.0, downloads are not available for 32-bit Linux installations.
验证Dash Core#
This step is optional, but recommended to verify the authenticity of the file you downloaded. This is done by checking its detached signature against the public key published by the Dash Core development team. To download the detached signature, click the Signature button on the wallet download page and save it to the same folder as the downloaded binary.
All releases of Dash since 0.16.0 are signed using GPG with the following key:
Pasta (pasta) with the key
5252 7BED ABE8 7984
, verifiable on Keybase (download)
Open a terminal, import the key and verify the authenticity of your download as follows:
curl https://keybase.io/pasta/pgp_keys.asc | gpg --import
gpg --verify dashcore-21.1.1-x86_64-linux-gnu.tar.gz.asc
If you see the message Good signature from ...
then you have an
authentic copy of Dash Core for Linux.
备注
If you have your own key configured, you can eliminate warnings from the verification output by signing the imported key before verifying:
gpg --quick-lsign-key "29590362EC878A81FD3C202B52527BEDABE87984"
gpg --verify dashcore-21.1.1-x86_64-linux-gnu.tar.gz.asc
提取Dash Core#
Linux的Dash Core是以压缩文档而不是安装程序方式分发的。这是因为同一文档下还有其它文件存在,比如在服务器上运行主节点文件。本指南中,我们会解压一个带图形用户接口(GUI)的可执行文件,此图形用户接口是最终用户按钱包用途设计的。
Extract Dash Core as follows:
tar xzf dashcore-21.1.1-x86_64-linux-gnu.tar.gz
This will create a folder named dashcore-21.1.1
in the current working
directory. We will now install the executable binaries to
/usr/local/bin
using the install
command:
sudo install -m 0755 -o root -g root -t /usr/local/bin dashcore-21.1.1/bin/*
Start Dash Core from the terminal with the following command:
dash-qt
The first time the program is launched, you will be offered a choice of where you want to store your blockchain and wallet data. Choose a location with enough free space, as the blockchain can reach 45GB+ in size. It is recommended to use the default data folder if possible.
Dash Core随后便开始运行了。第一次运行会比正常情况时间久一点,因为Dash Core需要生成一些加密数据来保护你的钱包。
Dash Core和达世币网络进行同步#
一旦Dash Core成功安装并启动,你就会看到钱包的主屏幕界面。这时钱包是“非同步状态”,窗口下面会有进度条显示同步的进程。
During this process, Dash Core will download a full copy of the Dash blockchain from other nodes to your device. Depending on your internet connection, this may take a long time. If you see the message “No block source available”, check your internet connection. When synchronization is complete, you will see a small green tick in the lower right corner.
You can now create a wallet to send and receive funds.
Setting up a desktop entry#
You can set up an XDG Desktop Entry
in order to be able to launch Dash Core from your KDE or Gnome desktop
environment. To do so, create a file named
~/.local/share/applications/dash.desktop
and add the following
content:
[Desktop Entry]
Version=1.5
Name=Dash Core
Comment=Dash Core is used to interact with the Dash blockchain
Exec=/usr/local/bin/dash-qt
Icon=dash-icon
Terminal=false
Type=Application
Ensure the file is executable:
chmod +x ~/.local/share/applications/dash.desktop
An appropriate icon can optionally be downloaded from the Dash Brand Guidelines page:
wget https://media.dash.org/wp-content/uploads/dash-d-rounded-square-250.png
xdg-icon-resource install --size 256 dash-d-rounded-square-250.png dash-icon
Creating your Dash Wallet#
在 v20.1.0 版本加入: HD wallets are now created by default.
If no wallet files are loaded, you will get this prompt in the Overview tab. To create a wallet, click the Create a new wallet button or click File -> Create Wallet. HD wallets are created by default. See the advanced topics section for information about HD wallets.
You will be prompted to create a new wallet with a custom wallet name. By default, your wallet will be encrypted. You may choose to uncheck the box and encrypt the wallet later. We have included instructions on how to encrypt your wallet in the following section.
If you do choose to encrypt now, you will be asked to enter and verify a password.
Following that, you will get a standard warning.
The following section will detail the steps you need to follow if you choose to encrypt your Dash wallet later.
加密你的达世币钱包#
加密你的钱包,请点击设置 > 加密钱包。
你将被要求输入和验证密码。
When the encryption process is complete, you will see a warning that past backups of your wallet will no longer be usable, and be asked to shut down Dash Core. When you restart Dash Core, you will see a small green lock in the lower right corner.