LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-26-2017, 05:12 AM   #1
Novatian
Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 18.3 and 19 64 bit and 17.1, 32bit, Xfce and MATE, Android, Windows 10
Posts: 858

Rep: Reputation: 35
Installing tar.gz


Hi, I am in Mint 17 or 18, and on a desktop, I followed the instructions from this 2, 1/2 minute video:
https://www.youtube.com/watch?v=Dsi3Zi1ZoHc
I have seopwersuite in my desktop now, I unpacked it with a terminal command from the video, and I click on the file I get two files "distr" and "Install.sh", what need I do next to get this program running?

In another option, open as administrator, using my su password, I tried to run, but got this:
#!/bin/bash

if [ $UID != "0" ] ; then
echo -e "You need to be ${red}ROOT${coloroff} to run this script, sorry..."
echo -e "Press ${blue}ENTER${coloroff} to exit the installer."
read
exit 1
fi

jversion=$(java -version 2>&1 | grep -i version)

if [ -z "$jversion" ]; then
echo "This software is built using Java technology,"
echo "so please take a moment to install Java to be able to use the software on your computer."
echo ""
exit 1
fi

jv=$(java -version 2>&1 | grep -i version | cut -d'"' -f2 | cut -d'.' -f1-2)

if [ $jv == "1.6" ] || [ $jv == "1.7" ]; then
echo "Your version of Java is not supported."
echo "Please update your Java to version 1.8 or newer to be able to use the software on your computer."
exit 1
fi

cd distr/commons/bin/

java -jar macinstall.jar seopowersuite

Last edited by Novatian; 01-26-2017 at 05:37 AM.
 
Old 01-26-2017, 07:13 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Kubuntu 18.04, Manjaro, Win 10
Posts: 2,147

Rep: Reputation: 156Reputation: 156
You need to execute the install.sh.

As root chmod +x install.sh

And then

./install.sh
 
Old 01-26-2017, 07:34 AM   #3
Novatian
Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 18.3 and 19 64 bit and 17.1, 32bit, Xfce and MATE, Android, Windows 10
Posts: 858

Original Poster
Rep: Reputation: 35
bren@bren-ThinkCentre-M92p ~ $ su
Password:
bren-ThinkCentre-M92p bren # chmod +x install.sh
chmod: cannot access 'install.sh': No such file or directory
bren-ThinkCentre-M92p bren # ./install.sh
bash: ./install.sh: No such file or directory
bren-ThinkCentre-M92p bren #

My terminal can't find it. Maybe wrong name.
 
Old 01-26-2017, 08:15 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,369

Rep: Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418
it is on your desktop, so you need to cd first:
Code:
cd /home/<your user name>/Desktop
# but probably you need to cd into another dir, I do not really know where is this install.sh located.
chmod +x install.sh
./install.sh
 
Old 01-26-2017, 09:21 AM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro / Parrot
Posts: 6,951

Rep: Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403
adding a little bit to what @pan64 said:

First, always be inside of the same directory that the file you are going to run as local configure/compile/install "script".
issue the chmod +x as stated to make it executable. user or root can do this. But if root owns it then root has to add x to it.
if needing to run it with root permissions this is as simple as:
Code:
$sudo[space]./command 
$sudo ./install.sh

Last edited by BW-userx; 01-26-2017 at 09:28 AM.
 
Old 01-26-2017, 10:01 AM   #6
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Kubuntu 18.04, Manjaro, Win 10
Posts: 2,147

Rep: Reputation: 156Reputation: 156
Usually, you should download you files to /home/<your name>/Downloads/
 
Old 01-26-2017, 12:53 PM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19 MATE
Posts: 6,104
Blog Entries: 2

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Quote:
Originally Posted by pan64 View Post
it is on your desktop, so you need to cd first:
Code:
cd /home/<your user name>/Desktop
# but probably you need to cd into another dir, I do not really know where is this install.sh located.
chmod +x install.sh
./install.sh
Just a note that the tilde symbol ~ is equivalent to /home/<your user name>

So, cd ~/Desktop will also do the trick.

Last edited by hydrurga; 01-26-2017 at 12:54 PM.
 
Old 01-26-2017, 01:12 PM   #8
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,421

Rep: Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283
Quote:
Originally Posted by Novatian View Post
I get two files "distr" and "Install.sh", what need I do next to get this program running?
Quote:
Originally Posted by Novatian View Post
bren@bren-ThinkCentre-M92p ~ $ su
Password:
bren-ThinkCentre-M92p bren # chmod +x install.sh
chmod: cannot access 'install.sh': No such file or directory
bren-ThinkCentre-M92p bren # ./install.sh
bash: ./install.sh: No such file or directory
bren-ThinkCentre-M92p bren #

My terminal can't find it. Maybe wrong name.
The Linux terminal is case-sensitive. If the file is really called "Install.sh" (with a capital "I") then type that instead of "install.sh" (lower-case "i").

Also make sure you cd (change directory) into the correct folder (possibly ~/Downloads) as mentioned above.
 
Old 01-26-2017, 01:22 PM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro / Parrot
Posts: 6,951

Rep: Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403
What I do is hight light the word in ma' term then middle click on it to get the correct spelling and it saves (typing) time too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
installing .tar.tar debayan Linux - Software 5 12-25-2008 12:15 PM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 02:53 AM
Error while installing package.tar.tar isone Linux - Software 2 11-03-2003 11:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration