Installing .tar.gz file

Asked by smart ss on 2011-04-25

I am a newbie. How to unpack and install .tar.gz type file in ubuntu?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Luky Winarto
Solved:
2011-04-27
Last query:
2011-04-27
Last reply:
2011-04-25
Luky Winarto (luckyborneo) said : #1

Hello smart ss,

For example, if you want to install filezilla.tar.gz

First unpack that package from your terminal program (Applications > Accessories > Terminal):
tar zxvf filezilla.tar.gz

Go to directory that has been created after unpack the package:
cd filezilla

Then it will be necessary to follow the instructions that come with the package. These are generally located in the extracted tarball in a file called README or INSTALL.

Run this command to read the manual:
more README

Usually, you just type these command:
./configure
make
sudo make install

That's it.. now you already how to install from tarball package (tar.gz)

smart ss (smartthurai) said : #2

Thanks Luky Winarto. I am getting the following message.

tarzxvf: command not found
mm@ubuntu:~$ tar zxvf xcrysden.tar.gz
tar (child): xcrysden.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
mm@ubuntu:~$

How to fix this.

Luky Winarto (luckyborneo) said : #3

It seems your package called xcrysden.tar.gz is not in your working directory. Make sure that package is currently in your working directory. This error "tar (child): xcrysden.tar.gz: Cannot open: No such file or directory" means that package which is you want to unpack is not there.

Please try to re-download again or do you forget where did you put it?

MetungKP (metungkp) said : #4

I'm having this exact issue on 3 softwares I want to install. Mine is on a notebook not desktop.

Best Luky Winarto (luckyborneo) said : #5

Hi MetungKP,

What kind of software did you want to install? Give us a clue..

@smart ss
I have been searching for your package on the internet. It seems for chemistry. I have got this url:
http://www.xcrysden.org/doc/install.html

Perhaps you can follow the instruction from there. Have a nice try...

smart ss (smartthurai) said : #6

Thanks for the help. I have installed xcrysen. Now I am getting the following error when I open the examples file in the XcrysDen Window.

couldn't change working directory to "XCRYSDEN_SCRATCH/xc_2491": no such file or directory
couldn't change working directory to "XCRYSDEN_SCRATCH/xc_2491": no such file or directory
    while executing
"cd $system(SCRDIR) "
    (command bound to event)

How to fix this?
Thanks in advance.