LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 04-07-2006, 01:47 PM   #1
shoelessworm
LQ Newbie
 
Registered: Dec 2002
Location: asia
Distribution: ubuntu 6.06
Posts: 17

Rep: Reputation: 0
Question how do you install programs extracted from "tar.gz", "bz2", etc?


hi everyone,

it's difficult for me to go online with the computer in which i installed Ubuntu (breezy badger), so i can't use the apt-get stuff and synaptic often. i have downloaded and installed things using synaptic though, pretty convenient stuff.

still, the best option for me is to download programs first using another computer and then just copy the tar.gz and bz2 files into my ubuntu box.

i'm not very computer literate so if you give instructions please spell everything out clearly. =) (it took me two days to figure out how to download and install scim. hehe.)

anyway, i downloaded a java runtime environment from the java site and extracted the tar file. i'm assuming the tar.gz things are similar to .zip in Windows?

i also downloaded the tar.gz things of Xara (it's this graphics program), Firefox 1.5, Ktoon (2d animation) and Opera 8. i was able to extract them but now i don't know how to install them.

is there an icon i can double-click or something? or a folder that i can drag them to for them to work?

thanks.
 
Old 04-07-2006, 02:27 PM   #2
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
I'm just curious--why do you need Firefox and Opera if you can't connect to the internet...?
 
Old 04-07-2006, 04:07 PM   #3
pyrobob
LQ Newbie
 
Registered: Jan 2006
Distribution: Kubuntu
Posts: 8

Rep: Reputation: 0
what you would extract the files to a new file on the Desktop, then go through the terminal and CD to the file.

Ex. for firefox:
  • right-click the tar.gz
    go to "extract to <filename>" where <filename> being what it says the filename is
    open a terminal
    type: CD Desktop (you should now be in the Desktop with the terminal)
    now type CD <filename> where <filename> is the name of the file (no, it won't have the <>'s on it when typing it in the terminal)
    now type:
    sudo ./configure && make && make install

if there is a "readme" or an "INSTALL" file in the tar.gz, read that first. it might have different instructions for the installation. I just listed the pretty much universal installment instructions.
 
Old 04-07-2006, 06:59 PM   #4
mcmillan
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 489

Rep: Reputation: 30
Just wanted to point out that you can download and install packages without apt-get. If you go to packages.ubuntu.com you can download deb files. I don't remember for sure since I haven't done it myself, but I think the command is "dpkg -i [name of package]"
 
Old 04-07-2006, 08:09 PM   #5
shoelessworm
LQ Newbie
 
Registered: Dec 2002
Location: asia
Distribution: ubuntu 6.06
Posts: 17

Original Poster
Rep: Reputation: 0
i can go online with this computer, just not often

hi aysiu,

i can go online with the computer i installed Ubuntu in, it's just that i can't stay online for long with it, and downloading things from the repositories take ages and ages (for me). so that's why i preferred to download the "tar" things using another computer with faster internet connection.

i want to install Opera and Firefox 1.5 for occasional e-mail checking though.

------------

hi pyrobob,

thanks for your instructions. i shall go try out what you said later and report the results.

-------------

hi mcmillan,

ahhh, thanks for the "deb" tip. i shall try that one out too! when i downloaded Opera it downloaded a "deb" file the first time actually. but i didn't know what it was, so i went back to the opera website and re-downloaded it, choosing "download tar" instead of the one it said goes with ubuntu.
 
Old 04-07-2006, 08:40 PM   #6
sumguy231
Member
 
Registered: Apr 2004
Location: North America
Distribution: Kubuntu 7.04 - Feisty Fawn
Posts: 296

Rep: Reputation: 30
The .debs are pretty small, so you can do the same thing you do with the tars with the debs. Firefox 1.5 you'll need to install from the official build or use Automatix because it's not in the breezy repositories. I'd actually suggest you use the repositories whenever you can.
 
Old 04-07-2006, 10:24 PM   #7
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
Automatix isn't going to help if you don't want to stay connected long.

This may help, though: https://wiki.ubuntu.com/FirefoxNewVersion
 
Old 04-08-2006, 09:34 AM   #8
shoelessworm
LQ Newbie
 
Registered: Dec 2002
Location: asia
Distribution: ubuntu 6.06
Posts: 17

Original Poster
Rep: Reputation: 0
Question ./configure command not found

please ignore this message and go to the next, thanks.

Last edited by shoelessworm; 04-08-2006 at 09:57 AM.
 
Old 04-08-2006, 09:55 AM   #9
shoelessworm
LQ Newbie
 
Registered: Dec 2002
Location: asia
Distribution: ubuntu 6.06
Posts: 17

Original Poster
Rep: Reputation: 0
Question ./configure command not found

hi,

pyrobob, i followed your advice-

Quote:
right-click the tar.gz
go to "extract to <filename>" where <filename> being what it says the filename is
open a terminal
type: CD Desktop (you should now be in the Desktop with the terminal)
now type CD <filename> where <filename> is the name of the file (no, it won't have the <>'s on it when typing it in the terminal)
now type:
sudo ./configure && make && make install
i went to
Code:
cd /home/folder-i-stored-the-tar-in
, and it went ok.
i then typed the "sudo ./configure blah blah" line, and the terminal said
Code:
sudo: ./configure: command not found
this was the case when i tried installing Opera, Ktoon and Xara LX.

by the way, pyrobob, when you said
Code:
/home/folder/filename
what do you do when after extracting the tar.gz there's more than one file in it? i mean for XaraLX and Ktoon's installer, there's one file and then a couple of subfolders, so okay, i type
Code:
home/folder/filename
into terminal.

but opera had a bunch of other files in the top folder, so i didn't know which file to choose.

also, XaraLX's installer file thingy doesn't have an extension name. so i just typed the name in the terminal. Ktoon's installer file thing was named "setup.sh" and i followed the instructions to the letter but still got "sudo: ./configure command not found"

---------------

aysiu,

thanks for the link to https://wiki.ubuntu.com/FirefoxNewVersion. i'll try that after i resolve my current problem. i looked at the link though, and it seems like a straightforward matter of just copying and pasting into terminal. thanks.

-------------

sumguy231 and aysiu you mentioned automatix. what is it?
i searched for it online and from what i understand it's kind of like synaptic? i can't find it in my applications folder though.

i can't download files that'll require me to stay online with this ubuntu box for a long time (that's why i'm going the masochistic route of downloading the tar.gz things from another computer and then trying to run them in ubuntu), but it seems like it will be useful to download small files with (i found synaptic to be very convenient in that regard).

so what's the the difference between automatix and synaptic?
 
Old 04-08-2006, 10:10 AM   #10
sumguy231
Member
 
Registered: Apr 2004
Location: North America
Distribution: Kubuntu 7.04 - Feisty Fawn
Posts: 296

Rep: Reputation: 30
Automatix is a script that installs a few non-free programs and other things that aren't in the repositories. You can find Automatix somewhere in the Ubuntu repositories. I hear there is a higher-quality equivalent called EasyUbuntu, but I've never used it: http://easyubuntu.freecontrib.org/ (Maybe you might want to look into that.) From what I've heard, I'd suggest EasyUbuntu but I don't have any personal experience with it.
Edit: EasyUbuntu doesn't have Firefox 1.5. Never mind.

Last edited by sumguy231; 04-08-2006 at 10:11 AM.
 
Old 04-09-2006, 11:36 PM   #11
vmlinuz.gz
Member
 
Registered: Nov 2005
Posts: 123

Rep: Reputation: 15
For the .tar.gz files, find a terminal and

Code:
tar -xzvf <filename>
and for .tar.bz2 files:

Code:
tar -xjvf <filename>
If they don't work, try using

Code:
sudo tar -xzvf <filename>
or

Code:
sudo tar -xjvf <filename>
respectively for the file types listed above.

In Kubuntu, I was also able to simply use a file manager, right click, and extract the file from the resulting menu.

Last edited by vmlinuz.gz; 04-09-2006 at 11:38 PM.
 
Old 04-10-2006, 12:13 AM   #12
shoelessworm
LQ Newbie
 
Registered: Dec 2002
Location: asia
Distribution: ubuntu 6.06
Posts: 17

Original Poster
Rep: Reputation: 0
Question installing, not extracting

hi vmlinuz.gz,
thanks for your reply.
i'm able to extract the files, as there's an archive manager that looks like winrar in ubuntu.
my problem is after extracting, i don't know how to install the files inside. i don't know what is the equivalent of setup.exe in windows.
pyrobob (earlier poster) gave me some advice, and i followed it, but the "./configure" thing doesn't work.
i wrote the details in this post.
 
Old 04-10-2006, 12:27 AM   #13
vmlinuz.gz
Member
 
Registered: Nov 2005
Posts: 123

Rep: Reputation: 15
You're probably trying to get Firefox up and running, yes?

Actually, there's no ./configure involved with that particular program, unless you downloaded the source, which you probably didn't. Just look for the firefox executable and run it. It should be where you unpacked the files.
 
Old 04-12-2006, 02:24 PM   #14
darthbob88
LQ Newbie
 
Registered: Mar 2006
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by pyrobob
what you would extract the files to a new file on the Desktop, then go through the terminal and CD to the file.

Ex. for firefox:
  • right-click the tar.gz
    go to "extract to <filename>" where <filename> being what it says the filename is
    open a terminal
    type: CD Desktop (you should now be in the Desktop with the terminal)
    now type CD <filename> where <filename> is the name of the file (no, it won't have the <>'s on it when typing it in the terminal)
    now type:
    sudo ./configure && make && make install

if there is a "readme" or an "INSTALL" file in the tar.gz, read that first. it might have different instructions for the installation. I just listed the pretty much universal installment instructions.
(New person to discussion) I've tried that, but I kept getting stopped at "make"; consulting distrowatch tells me that they have not included make in breezy. This raises the question of installing build-essentials; if one tries to do it from sources, what does one build it with? I realize this is a null question, just makes one think. I should download the file from packages.ubuntu.com, yes? To install, it's "dpkg -i <foo>", is it not?

Last edited by darthbob88; 04-12-2006 at 02:27 PM.
 
  


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
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
how to extract a "tar.bz2" file? deWin Linux - Newbie 11 11-04-2009 11:55 PM
How to "cp" or "rm" or "tar" all the files except a certain file? cqmyg5 Slackware 7 04-07-2006 02:45 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM
compiling tar.bz2... "./configure make make install" doesn't work dodo1983 Linux - Newbie 7 08-17-2004 12:34 AM


All times are GMT -5. The time now is 12:20 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration