LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   new to linux, installing things is hard...? blockstream green? (https://www.linuxquestions.org/questions/linux-general-1/new-to-linux-installing-things-is-hard-blockstream-green-4175721817/)

theenate 02-08-2023 02:32 PM

new to linux, installing things is hard...? blockstream green?
 
hello forum, i am trying to install blockstream gree wallet, cant figure it out. I have downloaded the package from the site. cant get past that. anyone got help for me?

rkelsen 02-08-2023 02:35 PM

new to linux, installing things is hard...? blockstream green?
 
What distribution are you using? There are different methods for installing things.

Also, what is your level of experience? Are you comfortable using the command line?

frankbell 02-08-2023 08:11 PM

rkelsen is quite correct. More information would be quite helpful. It might be a good idea to take a few minutes to read this tutorial: How To Ask a Question.

Here's a good intro to the installation process on Linux: https://opensource.com/article/18/1/...all-apps-linux

theenate 02-09-2023 10:31 AM

I'm using mint 20.2 cinnamon

I've downloaded the appimage which will open the program, but it will not recognize when i connect things via usb. I have downloaded the "Linux static binary" a tar.gz file which i don't understand how to install.

I am, somewhat capable with command line.

If i open the tar.gz file with Archive manager I wind up in another folder with an unknown file type

hazel 02-09-2023 10:47 AM

Try typing tar -tf followed by the full name of the tar.gz file and posting the result, which will be a list of the contents. That should make it pretty clear from where to unpack and install it.

But it would still be better if you could download and install the package from the Mint repository using the apt package manager. Have you tried asking apt to find it for you?

theenate 02-09-2023 11:31 AM

tar -tf BlockstreamGreen_Linux_x86_64.tar.gz
tar: BlockstreamGreen_Linux_x86_64.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

hummm. the file certainly exists here: /home/theenate/Downloads

mrmazda 02-09-2023 11:43 AM

Quote:

Originally Posted by theenate (Post 6410163)
tar -tf BlockstreamGreen_Linux_x86_64.tar.gz

There's no full name there.
Code:

tar -tf /home/theenate/DownloadsBlockstreamGreen_Linux_x86_64.tar.gz
is what was meant by full name.

theenate 02-09-2023 01:42 PM

Ahh ok, here is what i get


theenate@theenate-G7-7588:~$ tar -tf /home/theenate/Downloads/BlockstreamGreen_Linux_x86_64.tar.gz
green

mrmazda 02-09-2023 01:49 PM

Try again with -tvf instead of -tf.

theenate 02-09-2023 03:16 PM

returned this

-rwxr-xr-x gitlab-runner/gitlab-runner 57454304 2022-04-12 20:35 green

mrmazda 02-09-2023 03:34 PM

That is a rather large file, probably expected to be run thus:
Code:

/home/theenate/Downloads/green
You might first try:
Code:

/home/theenate/Downloads/green --help
Even better, run a virus checker on it first, since it didn't come from your distro's package management system known to be safe.

theenate 02-09-2023 03:50 PM

are the commands you have above the complete line to run (Im as green as it gets)

I get no "such file or directory" or "not a directory" with either of the above lines, i added BlockstreamGreen_Linux_x86_64.tar.gz between donwloads and green, with no progress and ran

sudo apt install /home/theenate/Downloads/BlockstreamGreen_Linux_x86_64.tar.gz/green

which just returns "E: Unsupported file /home/theenate/Downloads/BlockstreamGreen_Linux_x86_64.tar.gz/green given on commandline"

mrmazda 02-09-2023 04:13 PM

We need to be clear about where this green file extracted to. Open a file manager and find green. If it's in /home/theenate/Downloads as /home/theenate/Downloads/green, then /home/theenate/Downloads/green should start/run it.

Use your file manager and pinpoint where it is. Once you know, then you have the option to change to that directory, after which simply ./green should run it.

sudo apt install will not function on any .tar.gz file, as that error message declares.

If green is somewhere in /home/theenate/Downloads, you really should move it somewhere with a more appropriate name. Downloads is for what you actually downloaded, such as .isos, .zips, .tgzs, .bz2s, .tar.gzs and the like, not for what you extracted from them. One possibility would be /home/theenate/bin/. Another would be /usr/local/bin/, or /opt/bin/, or /usr/local/BlockstreamGreen/.

theenate 02-09-2023 04:45 PM

That did it. got it running, thanks for all the help!!

mrmazda 02-09-2023 05:25 PM

/home/theenate/bin would be an option. Some distros will automatically create a bin directory in a user's home directory when the user is initialized. In others, it's up to the user to do if desired. Bin implies binary application, program or utility, though not all applications are binary files (many are scripts). Its about segregating various file types from other types, like data files and A/V files.


All times are GMT -5. The time now is 09:14 AM.