how do i install .tar.gz files?

Asked by Mhpeake

I cant figure out how to install gnormalizer, its in a .tar.gz file, and even looking through other peoples questions on this, i still cant figure it out. i know i have to go "configure" then "make" then "make install". but i can find any of that! could someone please explain this, i dont know what a bask script or any of this is.

the install on the readme says this:

Execute the bash script commands:
                           tar zxvf gnormalize-0.63.tar.gz
      cd gnormalize-0.63/
      ./install
as root.

To install only the gnormalize: 'make install'.
To uninstall the gnormalize: 'make uninstall'.

After install, to execute gnormalize:

                           gnormalize

thanks in advance

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Mhpeake
Solved:
Last query:
Last reply:
Revision history for this message
Emre AYTAÇ (eaytac) said :
#1

Hi;

Use "Ctrl+Alt+T" to open terminal, then go to your gnormalize download directory (for example if it is in your Downloads directory)

cd ~/Downloads

Then execute the commands in readme file

tar zxvf gnormalize-0.63.tar.gz
cd gnormalize-0.63/
sudo ./install

When the installation will finish, type

gnormalize

to run it. Hope this helps...

If you want to install only gnormalize (not the other programs you see in the readme file);

tar zxvf gnormalize-0.63.tar.gz
cd gnormalize-0.63/
make install

Revision history for this message
arochester (arochester) said :
#2

Your first action should ALWAYS be to check in the Package Manager if it is available from Repository.

Your second action should be to see if there is a .deb available - e.g. http://www.getdeb.net/software/gnormalize

Your VERY, VERY LAST action should be to use a .tar

See:
"How to install ANYTHING in Ubuntu!" - http://amitech.50webs.com/installing/index.php.html
"Installing Software in Ubuntu" - http://www.psychocats.net/ubuntu/installingsoftware
"Compiling things on Ubuntu the Easy Way" - https://help.ubuntu.com/community/CompilingEasyHowTo

Revision history for this message
Don LaPointe (dblapointe) said :
#3

What has worked for me in the past is (using your filename):

tar -xzf gnormalize-0.63.tar.gz

It looks to me that (perhaps) the readme file is missing the "-" before the command options.

The "make" and "make install" are usually executed due a "./configure" script that would be required to be run first.

It looks to me that the "./install" script does the installation of all libraries, components, etc., as well as the gnormalize executable.

"Make install" looks like an option to only install "gnormalize" unique "parts" if you have all of the other required libraries, etc. and is to be executed instead of "./install."

Does the extracting produce a configure script? Or is there any documentation that tells you what libraries, etc. are required?

I'm not marking this as an "answer" since I have given you multiple options that may or may not work as I have not installed any software that utilized a "./install" script AND I haven't worked with gnormailze, either.

Revision history for this message
Don LaPointe (dblapointe) said :
#4

I just installed gnormailze.

I downloaded it from http://gnormalize.sourceforge.net/.

As it started, I had it go through the "Archive Manager" and dropped the files into the "Public" directory,

I opened the "gnormalize" folder in a file window.

I double-clicked "install" and selected "run".

I then double-clicked "gnormalize" (perl) and selected "run".

Gnormalize ran flawlessly on the GNOME desktop.

Revision history for this message
Mhpeake (mhpeake) said :
#5

emre how do i execute the commands? im in terminal and i type: cd ~/desktop tar zxvf gnormalize-0.63.tar.gz
is this right, im really confused right now.

arochester i went to the deb link you gave and it wanted a disk to finish downloading it? is there a way around this, that would definitly be a easier option, but i need to learnt to use the terminal anyway.
thanks!

Don, i tried tar -xzf gnormalize-0.63.tar.gz and its telling me directory or file not found, how can i direct it?

Revision history for this message
Emre AYTAÇ (eaytac) said :
#6

I understand that you download gnormalize-0.63.tar.gz file to your desktop, that's right?

Use this commands (every line is one command, so use enter after every line)

cd ~/Desktop
tar zxvf gnormalize-0.63.tar.gz
cd gnormalize-0.63/
sudo ./install

Revision history for this message
Mhpeake (mhpeake) said :
#7

ok so it runs, i guess i just need to move it to a directory now lol. thanks