[SOLVED] Trouble installing a tar.gz program

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
RunAmuck
Level 1
Level 1
Posts: 8
Joined: Fri May 05, 2017 12:32 am
Location: Seattle

[SOLVED] Trouble installing a tar.gz program

Post by RunAmuck » Tue Feb 20, 2018 1:48 am

Hello everyone!

I am trying to install a a program (V-Planner) and it is supposed to be available for Linux.
I downloaded the tar.gz file and am trying to figure out how to install it.
When I go to the readme it says:
"Copy the correct binary to your favorite /bin location.
Set the execute permissions on."

What does that mean?
I copied the downloaded tar.gz file to the /bin folder but cannot figure out what to do next.

Any insight would be appreciated!
Last edited by RunAmuck on Fri Feb 23, 2018 1:32 am, edited 1 time in total.

User avatar
jimallyn
Level 18
Level 18
Posts: 8551
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: Trouble installing a tar.gz program

Post by jimallyn » Tue Feb 20, 2018 3:08 am

Here's what I did: I have a Progs folder on my computer, which is where I download programs to. I created a V-Planner folder in my Progs folder, and that is where I downloaded V-Planner to. Then I opened up the file manager, and navigated to the V-Planner folder. I right clicked on the v-planner_3.91.0.tar.gz file, then clicked Extract here. That extracted the v-planner_3.91.0 folder. I double clicked that folder and in it I found a couple of files, and a couple of folders: i386-linux and x64-linux. Having a 64 bit processor, I double clicked the x64-linux folder. In that folder I found the vplanner executable file. I right clicked it, then clicked Properties, Permissions, and checked the box for Allow executing file as program. Then I clicked the Close button to close the Properties dialog. I double clicked the vplanner file, and the program started. You could move the vplanner executable file to your desktop, or add it to the Menu, or however you prefer to start it.

When I was a kid me and a buddy of mine found a tank that was intended for god-only-knows what gas. It had a fitting on it like you have on your tires to pump them up. We filled it up at the service station, and rigged a hose to it. Then we dove underwater with it, and breathed from the hose on the tank. I'd say we're probably very lucky we didn't manage to kill ourselves, but we sure had fun being able to stay under water for a few minutes.
Image

“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan

Hoser Rob
Level 12
Level 12
Posts: 4464
Joined: Sat Dec 15, 2012 8:57 am

Re: Trouble installing a tar.gz program

Post by Hoser Rob » Tue Feb 20, 2018 8:00 am

I just looked at the V-Planner dl site, and the Linux version says it's for "Fedora, Ubuntu, Redhat, SuSU, GNU Linux and more". Then, if you hit the dl button it just has one tar.gz file for all those distros. That isn't encouraging ... not all Linux systems are equivalent. The fact they spelled SUSE isn't encouraging either.

Linux novices are usually advised to avoid installing from tar.gz files, for good reasons. ANd that's for ones that aren't likely to need as much fiddling as this probably would.

I found this, which does seem to have better Linux support ...

https://subsurface-divelog.org/download/

Cosmo.
Level 23
Level 23
Posts: 17823
Joined: Sat Dec 06, 2014 7:34 am

Re: Trouble installing a tar.gz program

Post by Cosmo. » Tue Feb 20, 2018 8:04 am

There is a PPA offered for Ubuntu and Mint. Why not using this?

stormryder
Level 3
Level 3
Posts: 145
Joined: Sun Nov 30, 2014 8:40 am

Re: Trouble installing a tar.gz program

Post by stormryder » Tue Feb 20, 2018 12:43 pm

RunAmuck wrote:
Tue Feb 20, 2018 1:48 am
I copied the downloaded tar.gz file to the /bin folder but cannot figure out what to do next.
I'd do as jimalyn suggested, it ran fine from my home folder too. I like to run these kinds of programs from my home folder so I don't have to use my sudo password to modify or move them.
jimallyn wrote:
Tue Feb 20, 2018 3:08 am
I double clicked the vplanner file, and the program started. You could move the vplanner executable file to your desktop, or add it to the Menu, or however you prefer to start it.
I typically create a launcher on my desktop and point it to the executable.
Cosmo. wrote:
Tue Feb 20, 2018 8:04 am
There is a PPA offered for Ubuntu and Mint. Why not using this?
I didn't see one offered on the official site so it is understandable that the OP may not have found it, in fact I couldn't find a .deb at all.
Can you provide a link?

User avatar
Flemur
Level 16
Level 16
Posts: 6290
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Trouble installing a tar.gz program

Post by Flemur » Tue Feb 20, 2018 12:59 pm

RunAmuck wrote:
Tue Feb 20, 2018 1:48 am
When I go to the readme it says:
"Copy the correct binary to your favorite /bin location.
Set the execute permissions on."
There are two executable files in that archive, one for 32bit, one for 64bit, both named "vplanner".
Extract the one you want and copy it to
/home/<username>/bin/.
and do

Code: Select all

chmod +x /home/<username>/bin/vplanner
If you don't have /home/<username>/bin/, create it, then log out/in.
To run it type

Code: Select all

vplanner
in a terminal.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

Cosmo.
Level 23
Level 23
Posts: 17823
Joined: Sat Dec 06, 2014 7:34 am

Re: Trouble installing a tar.gz program

Post by Cosmo. » Tue Feb 20, 2018 4:20 pm

stormryder wrote:
Tue Feb 20, 2018 12:43 pm
I didn't see one offered on the official site so it is understandable that the OP may not have found it, in fact I couldn't find a .deb at all.
Can you provide a link?
Hm, I'm astonished. On the page, which has been linked by Hoser Rob, the advice for adding the PPA is hard to overlook in the section about Ubuntu (with Mint expressively noted).

User avatar
Termy
Level 5
Level 5
Posts: 762
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: Trouble installing a tar.gz program

Post by Termy » Tue Feb 20, 2018 4:42 pm

Hoser Rob wrote:
Tue Feb 20, 2018 8:00 am
Linux novices are usually advised to avoid installing from tar.gz files, for good reasons.
Dang straight. I'm definitely not a Linux "novice" and even I for absolutely sure avoid compiling; it's messy and opens you up to a number of issues. Since I started with Linux, I can count the number of times I've needed to compile on one hand, maybe two at a stretch, and a couple of those times were probably down to me messing around with programming in C. :roll:
Here to help.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/channel/UCfp-lN ... naEE6NtDSg
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife

stormryder
Level 3
Level 3
Posts: 145
Joined: Sun Nov 30, 2014 8:40 am

Re: Trouble installing a tar.gz program

Post by stormryder » Tue Feb 20, 2018 6:23 pm

Cosmo. wrote:
Tue Feb 20, 2018 4:20 pm
On the page, which has been linked by Hoser Rob
Thank you for that clarification. I was referring to the software that the OP originally indicated he wanted to use, V-Planner, which I found here.
http://www.hhssoftware.com/v-planner/download.php

User avatar
phd21
Level 17
Level 17
Posts: 7524
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Trouble installing a tar.gz program

Post by phd21 » Tue Feb 20, 2018 11:51 pm

Hi Everyone,

It seems like some of you are confused as to what the original poster wants.

There are two really nice diving applications "subsurface" and "v-planner".

"v-planner" is a self-contained archive file, that all you have to do is extract the archive file, and it is ready to run as "jimallyn" and "Flemur" explained, there is no need to compile it like some other software.

"SubSurface" has a few installation options from their PPA, Deb files, AppImage file, etc... There are a lot of nice new features and options in this newer version.


...
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
Termy
Level 5
Level 5
Posts: 762
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: Trouble installing a tar.gz program

Post by Termy » Wed Feb 21, 2018 10:48 am

phd21 wrote:a self-contained archive file, that all you have to do is extract the archive file, and it is ready to run
Aaaah, didn't realise -- my bad. Most archives are installed by compiling from source, so I think it was a natural assumption. :P
Here to help.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/channel/UCfp-lN ... naEE6NtDSg
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife

User avatar
phd21
Level 17
Level 17
Posts: 7524
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Trouble installing a tar.gz program

Post by phd21 » Wed Feb 21, 2018 12:26 pm

Hi Termy, RunAmuck, and Everyone Else,

I would agree that compiling software from source code is certainly not for newbies (new users of Linux or any OS) and that most archive files (.tar.gz) from software developers usually do require compiling before installing or working.

I have noticed over the past couple years that more and more software developers are providing archive files (tar.gz, zip, 7z, etc...) with their software in what I call "self-contained" (already compiled, ready to run and use) archive files that only require downloading the archive file, right-clicking it and extracting it, checking for permission to run their startup executable program file, then double-clicking its executable program startup file to run it. And it is simple to create a desktop shortcut launcher (or menu item) to the application's startup program. FYI: The software developers usually have instructions on how to install their software on their website or from an article about the software on a website, but if not, ask here.

I also recommend with these type of applications that if you downloaded and extracted some software to your "/Downloads" folder, that you move the application's folder or file to your "/Home" folder before creating desktop launcher shortcuts or menu items. I created an "Apps" and or "Apps-Misc" folder underneath my "/Home" folder to put all software that does not install in a typical Linux method in that folder (directory) to make it easier for me to identify and manage those software packages.

...
FileManager_v-planner.jpg
a file manager showing the extracted "v-planner" folder and its 32-bit (i386) or 64-bit (amd64, x64) executable program files
v-planner1.jpg
"v-planner"
subsurface1.jpg
"subsurface"
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

RunAmuck
Level 1
Level 1
Posts: 8
Joined: Fri May 05, 2017 12:32 am
Location: Seattle

Re: Trouble installing a tar.gz program

Post by RunAmuck » Thu Feb 22, 2018 1:21 am

Hi Everyone,
Thank you for your help. As always I am amazed at the level of support this community provides!

Post Reply

Return to “Newbie Questions”