HOW TO install tar.gz files on ubuntu?

Asked by Info

Hi
I downloaded the new version of firefox-2.0.0.3.tar.gz, but have no idea on how to install it.
I am used to the self executable files that comes with windows I guess.

I have a lot to learn so helping figure this one out will help do any more installs like this.

Thanks and Cheers

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
José Ernesto Dávila Pantoja (josernestodavila) said :
#1

Hi,

First you have to decompress the sources by doing

tar xvzf firefox-2.0.0.3.tar.gz

Then it should created a directory called firefox-2.0.0.3, get into it by doing

cd firefox-2.0.0.3

Then you should run de configure script by doing

sudo ./configure

The next step is to compile the sources by doing

sudo make

This process may take a while, when finish and if you don't get errors, you can install the package by doing

sudo make install

Hope this was helpfull to you

Greets

José Ernesto

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

You don't need to install firefox-2.0.0.3 manually because it exists in official Ubuntu repositaries. To install firefox try this command:

$ sudo apt-get install firefox

Revision history for this message
Info (info-jtechsystems) said :
#3

Cool, thank you "Jose Ernesto Davila" and "qxov"

I do appreciate the response and the help, have to read a lot of new stuff.

Cheers
West

Revision history for this message
Info (info-jtechsystems) said :
#4

Thanks Jose Ernesto Davila, that solved my question.

Revision history for this message
Info (info-jtechsystems) said :
#5

No idea how to say thank you unless I click on one of the buttons.
Blame the guys who created this app(should be able to allow more than one thank you) I think so if it counts!

Cheers
WestCool, thank you "Jose Ernesto Davila" and "qxov"

I do appreciate the response and the help, have to read a lot of new stuff.

Cheers

Revision history for this message
Claudio Henrique (claudiohfg-deactivatedaccount) said :
#6

You don't need to sudo configure and make, only sudo make install to install any tar.gz package. Like this:

tar xvzf foo.tar.gz
cd foo
./configure
make
sudo make install

You need to install build-essential to make a package. It will install necessary development software in your system.

sudo apt-get install build-essential

Regards!

Revision history for this message
Info (info-jtechsystems) said :
#7

Ok tried al these ways and got this:

Firstly got this one:
firefox is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Then got this one:
Here is my whole terminal screen:
========================================
This part extracts it fine:"have deleted most of the text"
jay@jay-desktop:~$ tar xvzf firefox-2.0.0.3.tar.gz
"have deleted most of the text; long for this post"
jay@jay-desktop:~$ cd firefox
jay@jay-desktop:~/firefox$ sudo ./configure
sudo: ./configure: command not found
jay@jay-desktop:~/firefox$ sudo make
sudo: make: command not found
jay@jay-desktop:~/firefox$ sudo make install
sudo: make: command not found
jay@jay-desktop:~/firefox$
========================================

Now tried this one:
========================================
jay@jay-desktop:/$ tar xvzf firefox-2.0.0.3.tar.gz
tar: firefox-2.0.0.3.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
jay@jay-desktop:/$
========================================

Tried this one:
========================================
jay@jay-desktop:/$ sudo apt-get install firefox
Reading package lists... Done
Building dependency tree... Done
firefox is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jay@jay-desktop:/$
========================================

OK NO LUCK ANY IDEA HOW TO UPDATE FIREFOX?

Revision history for this message
qxov (qxov) said :
#8

Try this:

$ sudo apt-get update
$ sudo apt-get upgrade
$ firefox --version

Revision history for this message
qxov (qxov) said :
#9

It will update all packages to latest version available in your repository.

There is gui package manager:

$ sudo synaptic

Revision history for this message
Info (info-jtechsystems) said :
#10

Thank you will try it now!
Cheers
West

Revision history for this message
Info (info-jtechsystems) said :
#11

This is what I got and no update to Firefox

jay@jay-desktop:~$ sudo apt-get update
Password:
Get:1 http://za.archive.ubuntu.com dapper Release.gpg [189B]
Get:2 http://za.archive.ubuntu.com dapper-updates Release.gpg [191B]
Get:3 http://security.ubuntu.com dapper-security Release.gpg [191B]
Get:4 http://archive.canonical.com dapper-commercial Release.gpg [191B]
Hit http://za.archive.ubuntu.com dapper Release
Hit http://security.ubuntu.com dapper-security Release
Hit http://archive.canonical.com dapper-commercial Release
Hit http://za.archive.ubuntu.com dapper-updates Release
Hit http://security.ubuntu.com dapper-security/main Packages
Hit http://archive.canonical.com dapper-commercial/main Packages
Hit http://security.ubuntu.com dapper-security/restricted Packages
Hit http://security.ubuntu.com dapper-security/main Sources
Hit http://security.ubuntu.com dapper-security/restricted Sources
Hit http://za.archive.ubuntu.com dapper/main Packages
Hit http://security.ubuntu.com dapper-security/multiverse Packages
Hit http://za.archive.ubuntu.com dapper/restricted Packages
Hit http://security.ubuntu.com dapper-security/universe Packages
Hit http://za.archive.ubuntu.com dapper/main Sources
Hit http://za.archive.ubuntu.com dapper/restricted Sources
Hit http://za.archive.ubuntu.com dapper/multiverse Packages
Hit http://za.archive.ubuntu.com dapper/universe Packages
Hit http://za.archive.ubuntu.com dapper-updates/main Packages
Hit http://za.archive.ubuntu.com dapper-updates/restricted Packages
Hit http://za.archive.ubuntu.com dapper-updates/main Sources
Hit http://za.archive.ubuntu.com dapper-updates/restricted Sources
Hit http://za.archive.ubuntu.com dapper-updates/multiverse Packages
Hit http://za.archive.ubuntu.com dapper-updates/universe Packages
Fetched 194B in 28s (7B/s)
Reading package lists... Done
jay@jay-desktop:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jay@jay-desktop:~$ firefox --version
Mozilla Firefox 1.5.0.11, Copyright (c) 1998 - 2007 mozilla.org
jay@jay-desktop:~$ sudo synaptic

Revision history for this message
Info (info-jtechsystems) said :
#12

relaoded all update packages still no luck.
Cheers
West

Revision history for this message
Info (info-jtechsystems) said :
#13

Also just to note that my update option in Firefox is grayed out, can't click it?
Any ideas?

Cheers

Revision history for this message
qxov (qxov) said :
#14

You can upgrade your dapper 6.06 to feisty 7.04

$ sudo -s
# cd /etc/apt
# cp sources.list sources.list.dapper
# sed -e s/dapper/feisty/ sources.list.dapper > sources.list
# apt-get update
# apt-get dist-upgrade

firefox will be upgraded too. this can take a lot of time and network traffic
It's possible to you? If not, we will try o find another solution.

Revision history for this message
Info (info-jtechsystems) said :
#15

jay@jay-desktop:~$ sudo -s
Password:
root@jay-desktop:~# cd /etc/apt
root@jay-desktop:/etc/apt# sources.list sources.list.dapper
bash: sources.list: command not found
root@jay-desktop:/etc/apt# cp sources.list sources.list.dapper root@jay-desktop:/etc/apt# sed -e s/dapper/feisty/ sources.list.dapper > sources.list # apt-get
root@jay-desktop:/etc/apt# update
bash: update: command not found
root@jay-desktop:/etc/apt# sed -e s/dapper/feisty/ sources.list.dapper > sources.list # apt-get
root@jay-desktop:/etc/apt# sed -e s/dapper/feisty/ sources.list.dapper > sources.list # apt-get update
root@jay-desktop:/etc/apt# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@jay-desktop:/etc/apt#

Revision history for this message
qxov (qxov) said :
#16

"$" means command prompt
"#" superuser (root) command prompt

it's six different commands

Revision history for this message
Info (info-jtechsystems) said :
#17

Ok sorry did not read properly.
Retrying now.

Revision history for this message
Info (info-jtechsystems) said :
#18

Cool busy doing some major updating!
After this do I redo all those that I needed to do in the beginning of this post?
Cheers

Revision history for this message
qxov (qxov) said :
#19

Just for your information:

run shell as superuser:
$ sudo -s

change dir to /etc/apt:
# cd /etc/apt

make backup copy of sources.list:
# cp sources.list sources.list.dapper

change all "dapper" substrings to "feisty" in sources.list.dapper and output result to sources.list:
# sed -e s/dapper/feisty/ sources.list.dapper > sources.list

update packages list:
# apt-get update

upgrade to feisty:
# apt-get dist-upgrade

Revision history for this message
qxov (qxov) said :
#20

Please wait for end of this process. BTW, how long it's take?

Revision history for this message
Info (info-jtechsystems) said :
#21

This is going to take at least 30mins.
Anyways
Where did you get that info from?

Cheers

Revision history for this message
qxov (qxov) said :
#22

30 mins? You have a good internet connection =)

> Where did you get that info from?
I don't know how to answer to this question in english =)
forums/google/irc/my own experiments

Revision history for this message
Info (info-jtechsystems) said :
#23

Cool it says this:
812 upgraded, 183 newly installed, 74 to remove and 1 not upgraded.

Does that mean it is going to download 812 updates?
It is currently on update 93.

Cheers

> Also is that a link to an IRC chat or are those seperate options like:?
>forums
>goole
>irc
>your own experiments.

Revision history for this message
Info (info-jtechsystems) said :
#24

Ok still updating...
Cheers
Forgot, only on 384KB/s

Revision history for this message
qxov (qxov) said :
#25

I have only 23Kb/s =)

Revision history for this message
Info (info-jtechsystems) said :
#26

Is that a dial-up?
Man I used dial for about 13 years and it was perfect 56Kb/s, as I created sites that loaded fast and my special conrol panels I create to update the website quickly.

Dial-Up Worked great, but now I have to make serious money and create sites quicker and it's better having ADSL, such a better option.
Cheers

Revision history for this message
Info (info-jtechsystems) said :
#27

The reason you have 23Kb/s is because it's a shared line.
You have a switchboard or something to do with connection.

Revision history for this message
qxov (qxov) said :
#28

ADSL 200Kbit/s -> ~23Kb/s. Russia, St.Petersburg.
Now maximum speed for my line is 600Kbit/s and costs about 50 USD/month.

Revision history for this message
Info (info-jtechsystems) said :
#29

Classic I am chatting so someone from Russia, COOL
Also that's cheap.

It would cost me 50 * 7 or what the exchange is.
R350 ZAR South African Rand

We currently pay ridiculous prices for bandwidth here and it's all CAPPED! buggers! they rip us off big TIME here in SA.
Cheers

Revision history for this message
Info (info-jtechsystems) said :
#30

Maybe we could chat on MSN or something, not sure how to get this MSN going yet?

Revision history for this message
Info (info-jtechsystems) said :
#31

Ok got it loaded, add in <email address hidden>

Revision history for this message
Info (info-jtechsystems) said :
#32

Thanks qxov, that solved my question.

Revision history for this message
Info (info-jtechsystems) said :
#33

I did a stupid thing and closed the terminal window, I am an idiot, will do update after I wake up.

Cheers

Revision history for this message
Info (info-jtechsystems) said :
#34

Ok now have a serious issue everything is block text no actual text after that update stuff.

Any idea on hot to fix this?
Cheers

Revision history for this message
Info (info-jtechsystems) said :
#35

Ok retryin this update wil let you know what happens, !!!
Cheers

Revision history for this message
Info (info-jtechsystems) said :
#36

Can't use email as everything is blank in evoltion???
Have to keep refreshing here if someone answers!
Cheers

Revision history for this message
Launchpad Janitor (janitor) said :
#37

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
antonio pinzon (caph1993) said :
#38

Check this app, It installs the common packages of linux, its easy and very simply.
Its growing and starting being developed, but it’s very good!!!
supports:
.tar.gz
.tar.bz2
.tar
.tgz
.deb
.rpm
.bin
Its name is “EPI installer” (EasyPackageInstaller)
google “EPI installer” or follow this link to download:

http://sourceforge.net/projects/epiinstaller/files

Recommended, if you prefer clicking than writing, download it!, sure it solves your problems