LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
Senior Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 20.3 MATE, Android, Windows 10, MX Linux and Mint 21.1 MATE
Posts: 1,052

Rep: Reputation: 38
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: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
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
Senior Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 20.3 MATE, Android, Windows 10, MX Linux and Mint 21.1 MATE
Posts: 1,052

Original Poster
Rep: Reputation: 38
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 Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,923

Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
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: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
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 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
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: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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



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 12:51 AM.

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
Open Source Consulting | Domain Registration