Help Buying New Laptop for Minting

Ok, I was able to wipe Windows 10 and get Xubuntu installed, but I’ve run into a slight problem. I downloaded all the Linux versions of Peercoin, Nu and B&C. I unzipped them and went to the 64 bit versions where I had two choices, Nu and Nud, etc… I tried installing all three wallets, but a box pops up and it says (Open Nu and other files of type “executable” with:) and then it lets me choose from a list of programs. Is there a reason why it won’t install on Linux like it usually does with Windows?

Edit: It seems with the Windows download there are three options, Nu, Nud and Nu-2.0.2-win-setup. The Linux download only has the first two options and not the 3rd setup option. Is this normal?

As previously mentioned Linux have different flavors, distributing a installer for every one would be endless, so instead only the binary is distributed.
As you may already know the files with the final “d” are daemons, same as Windows, and they will run without GUI.
You are interested in the ones without the d.

Files by default don’t have the executable permission, so that is why ‘open files of type “executable” with:…’ warning shows up.
Right click the file, select Properties → Permisions and tick Allow execution of the file as a program.
Then try to run it again

Ok, I checked that box with all 3 files. After doing so I tried double clicking on the icon or right clicking and hitting the execute option, but neither do anything. Nothing seems to happen at all when I do this. Just to go over some of the details, the laptop I’m using is 64 bit, so I went into the 64 bit folders. I’m doing this with Nu and not Nud. It only says Nu and not Nu.exe. I already checked the box. I also unzipped the 3 folders to the desktop. I’m not sure if it matters where I try to open them at. Is there something I may have missed?

There might have been some other errors. Try to open the folder in your terminal and run nu with the command “./nu”, see if any text comes up.

You should be able to run 32-bit nu on a 64-bit box. Doesn’t matter where the folder was unzipped, desktop is fine. Navigate to bin/32/ and double-click on nu. A pop-up dialog should appear that says Execute. Click on that and you’ll start the program. Be patient, as it will take a while to download the blockchain, but eventually a GUI will show up.

Ok, when I try to open the 64 bit version nothing happens, but when I try to open the 32 bit version I at least get an error message. First I checked box like ttutdxh suggested. Then when I tried to open it I got the following error…

"Failed to execute file “bcexchange”.

Failed to execute child process “/home/sentinelrv/Desktop/bcexchange-3.0.1-linux-gitian/bin/32/bcexchange” (No such file or directory)."

Edit: Same thing for Nu and Peerunity.

Browse to the folder where the 32-bit binary for bcexchange is. (I assume you are using Thunar as your File Manager? That’s the default in Xubuntu.) You should see two executable files: bcexchanged and bcexchange with sizes 7.2 Mb and 9.3 Mb, respectively. Right-click on bcexchange and select Execute.

If that still doesn’t work, open a terminal in the Accessories menu. Paste in the following at the command line:

~/Desktop/bcexchange-3.0.1-linux-gitian/bin/32/bcexchange

Copy “nu” file to the desktop and try to run it from there.

Edit: The “(No such file or directory)” error means that the system could not read that file, so either the read permissions are turned off for the binary or the parent folders.

If nothing above works, CTRL + ALT + T, paste this and press enter, should do all the work for you in one step.

wget https://nubits.com/sites/default/files/assets/nu-2.0.2-linux-gitian.zip && unzip nu-2.0.2-linux-gitian.zip && chmod +x bin/64/nu && ./bin/64/nu

Bah…nothing worked. I copied exactly what you wrote there and it gave me an error. I tried wiping the computer again and reinstalling Xubuntu, but the same thing happened. When I paste the text above in the terminal and hit enter I get the following…

sentinelrv@sentinelrv-X751LAB:~$ wget https://nubits.com/sites/default/files/assets/nu-2.0.2-linux-gitian.zip && unzip nu-2.0.2-linux-gitian.zip && chmod +x bin/64/nu && ./bin/64/nu
–2015-11-17 14:27:42-- https://nubits.com/sites/default/files/assets/nu-2.0.2-linux-gitian.zip
Resolving nubits.com (nubits.com)… 104.25.215.10, 104.25.214.10
Connecting to nubits.com (nubits.com)|104.25.215.10|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 18267518 (17M) [application/zip]
Saving to: ‘nu-2.0.2-linux-gitian.zip’

100%[======================================>] 18,267,518 1.42MB/s in 12s

2015-11-17 14:27:55 (1.41 MB/s) - ‘nu-2.0.2-linux-gitian.zip’ saved [18267518/18267518]

Archive: nu-2.0.2-linux-gitian.zip
inflating: COPYING
inflating: README
creating: bin/
creating: bin/32/
inflating: bin/32/nud
inflating: bin/32/nu
creating: bin/64/
inflating: bin/64/nud
inflating: bin/64/nu
creating: src/
inflating: src/nubit.tar.gz
./bin/64/nu: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory

Should I try installing a different version of Linux or does that error at the end give you some clue as to what’s wrong?

That is some progress, the program is complaining about some dependencies. Your past problems are solved.

Run sudo apt-get install libqtgui4 to solve that one. It installs the files required to run the GUI

You will probably need a few more dependencies, run ldd bin/64/nu and paste the output here so we can solve it faster.

If I paste that into the terminal it brings up the following…

sentinelrv@sentinelrv-X751LAB:~$ sudo apt-get install libqtgui4
[sudo] password for sentinelrv:

It won’t let me type anything in after that though. Is it asking me for the login password for the computer?

Yes, it is asking you for your password. It does not show the characters you input but they are there (is a security measure). Just press enter at the end.

Ok, that seemed to work. Here is what came up. I had to type y at one point so it would continue…

sentinelrv@sentinelrv-X751LAB:~$ sudo apt-get install libqtgui4
[sudo] password for sentinelrv:
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
libaudio2 libmysqlclient18 libqt4-declarative libqt4-network libqt4-script
libqt4-sql libqt4-sql-mysql libqt4-xml libqt4-xmlpatterns libqtcore4
libqtdbus4 mysql-common qtcore4-l10n
Suggested packages:
nas libqt4-declarative-folderlistmodel libqt4-declarative-gestures
libqt4-declarative-particles libqt4-declarative-shaders qt4-qmlviewer
libqt4-dev libicu48 qt4-qtconfig
The following NEW packages will be installed:
libaudio2 libmysqlclient18 libqt4-declarative libqt4-network libqt4-script
libqt4-sql libqt4-sql-mysql libqt4-xml libqt4-xmlpatterns libqtcore4
libqtdbus4 libqtgui4 mysql-common qtcore4-l10n
0 upgraded, 14 newly installed, 0 to remove and 2 not upgraded.
Need to get 10.8 MB of archives.
After this operation, 42.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main libaudio2 amd64 1.9.4-1 [57.1 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-common all 5.5.46-0ubuntu0.14.04.2 [14.1 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libmysqlclient18 amd64 5.5.46-0ubuntu0.14.04.2 [597 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main qtcore4-l10n all 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 [587 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libqtcore4 amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 [1,555 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libqt4-xml amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 [95.0 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libqtdbus4 amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 [180 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libqt4-network amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 [543 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libqt4-script amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 [776 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libqt4-sql amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 [97.4 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libqt4-xmlpatterns amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 [1,028 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libqtgui4 amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 [4,130 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libqt4-declarative amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 [1,076 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libqt4-sql-mysql amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 [30.3 kB]
Fetched 10.8 MB in 7s (1,395 kB/s)
Selecting previously unselected package libaudio2:amd64.
(Reading database … 174962 files and directories currently installed.)
Preparing to unpack …/libaudio2_1.9.4-1_amd64.deb …
Unpacking libaudio2:amd64 (1.9.4-1) …
Selecting previously unselected package mysql-common.
Preparing to unpack …/mysql-common_5.5.46-0ubuntu0.14.04.2_all.deb …
Unpacking mysql-common (5.5.46-0ubuntu0.14.04.2) …
Selecting previously unselected package libmysqlclient18:amd64.
Preparing to unpack …/libmysqlclient18_5.5.46-0ubuntu0.14.04.2_amd64.deb …
Unpacking libmysqlclient18:amd64 (5.5.46-0ubuntu0.14.04.2) …
Selecting previously unselected package qtcore4-l10n.
Preparing to unpack …/qtcore4-l10n_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_all.deb …
Unpacking qtcore4-l10n (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Selecting previously unselected package libqtcore4:amd64.
Preparing to unpack …/libqtcore4_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_amd64.deb …
Unpacking libqtcore4:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Selecting previously unselected package libqt4-xml:amd64.
Preparing to unpack …/libqt4-xml_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_amd64.deb …
Unpacking libqt4-xml:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Selecting previously unselected package libqtdbus4:amd64.
Preparing to unpack …/libqtdbus4_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_amd64.deb …
Unpacking libqtdbus4:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Selecting previously unselected package libqt4-network:amd64.
Preparing to unpack …/libqt4-network_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_amd64.deb …
Unpacking libqt4-network:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Selecting previously unselected package libqt4-script:amd64.
Preparing to unpack …/libqt4-script_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_amd64.deb …
Unpacking libqt4-script:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Selecting previously unselected package libqt4-sql:amd64.
Preparing to unpack …/libqt4-sql_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_amd64.deb …
Unpacking libqt4-sql:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Selecting previously unselected package libqt4-xmlpatterns:amd64.
Preparing to unpack …/libqt4-xmlpatterns_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_amd64.deb …
Unpacking libqt4-xmlpatterns:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Selecting previously unselected package libqtgui4:amd64.
Preparing to unpack …/libqtgui4_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_amd64.deb …
Unpacking libqtgui4:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Selecting previously unselected package libqt4-declarative:amd64.
Preparing to unpack …/libqt4-declarative_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_amd64.deb …
Unpacking libqt4-declarative:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Selecting previously unselected package libqt4-sql-mysql:amd64.
Preparing to unpack …/libqt4-sql-mysql_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_amd64.deb …
Unpacking libqt4-sql-mysql:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Setting up libaudio2:amd64 (1.9.4-1) …
Setting up mysql-common (5.5.46-0ubuntu0.14.04.2) …
Setting up libmysqlclient18:amd64 (5.5.46-0ubuntu0.14.04.2) …
Setting up qtcore4-l10n (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Setting up libqtcore4:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Setting up libqt4-xml:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Setting up libqtdbus4:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Setting up libqt4-network:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Setting up libqt4-script:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Setting up libqt4-sql:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Setting up libqt4-xmlpatterns:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Setting up libqt4-sql-mysql:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Setting up libqtgui4:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Setting up libqt4-declarative:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) …
Processing triggers for libc-bin (2.19-0ubuntu6.6) …

I’m going to go on to the 2nd part in your post if that looks ok.

Yes that worked as expected, lets see what ldd bin/64/nu tells us.

Here you go…

sentinelrv@sentinelrv-X751LAB:~$ ldd bin/64/nu
linux-vdso.so.1 => (0x00007fff25be8000)
libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4 (0x00007f6bcacd5000)
libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4 (0x00007f6bca7f0000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6bca5d2000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f6bca2ce000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6bc9fc8000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6bc9db2000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6bc99ed000)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f6bc97b1000)
libaudio.so.2 => /usr/lib/x86_64-linux-gnu/libaudio.so.2 (0x00007f6bc9599000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f6bc9291000)
libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f6bc906b000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f6bc8e52000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f6bc8baf000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f6bc895e000)
libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f6bc8756000)
libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f6bc853a000)
libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f6bc832a000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f6bc8120000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f6bc7f0e000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f6bc7bd9000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6bc79d5000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6bc77cd000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6bcb988000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f6bc75a3000)
libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007f6bc733d000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f6bc7139000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f6bc6efb000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f6bc6cf3000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f6bc6aee000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f6bc68cf000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f6bc66c9000)

It seems everything is ready, try starting Nu with ./bin/64/nu

The Nu client came up and is currently downloading the blockchain. :smile:

Now at the end there after installing all the dependencies could I have just double clicked on the Nu icon instead of typing it into the terminal to run the client?

Also, in order to get Peercoin and B&C to run, I would just have to take the following commands and change the download link, correct?

You should be able to run the binary clicking on it, but previously you had some kind of permission issue I don’t get.

For Peercoin and B&C the steps would be similar.
In that command you can find && symbol which is essentially ‘also do this if no errors are found’. So it really runs 4 things sequentially.

  • wget https://nubits.com/sites/default/files/assets/nu-2.0.2-linux-gitian.zip; wget downloads the link you pass as argument.
  • unzip nu-2.0.2-linux-gitian.zip; unzip decompress the downloaded file
  • chmod +x bin/64/nu; chmod changes the permissions of a file and “+x” adds the executable permission.
  • ./bin/64/nu; the “./” at the beginning is the way of launching binaries in linux

So yes, changing the download link should work for the other ones, but you should also change the name of the file to unzip, the folder/file to set the executable permission, and the path and name to launch it.
Try to modify that commands and run them because now you can understand there is not such thing as a “universal command” for doing something.

Now that the dependency problem is solved, shouldn’t he try executing the already downloaded and unzipped binaries for B&C and Peercoin? Why start the process from scratch?

Also, these dependencies were already in Xubuntu, but uninstalled, correct? I don’t see where it downloaded them, so I assume they were already apart of the OS. I just had to activate them first.