LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2009, 10:48 AM   #1
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 18.0 Cinnamon 64 bit
Posts: 301

Rep: Reputation: 20
Question Installing Tarball?


By the number of problems that arise from this subject you would think that some bright spark would come up with a easier method. I have followed all the recommendations from other users and I still cannot install the tarball. Perhaps someone would write down the actual command line that I as a newbie could follow.
My OS is Linux Ubuntu 8.04 (64), and this is the tar file that I want to install.
/home/gael33/Desktop/firefox-3.0.9.tar.bz2

Grateful for any help.

gael.
 
Old 04-23-2009, 10:59 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Step by step instructions, here. But are you sure you cannot install firefox 3.0.9 using the package manager? I have a Ubuntu 8.04 (64bit) and the firefox version is 3.0.9 which has been installed with the latest update.
 
Old 04-23-2009, 11:00 AM   #3
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,272

Rep: Reputation: 148Reputation: 148
try with this following url, search google for further idea
http://www.cyberciti.biz/faq/install...3tarbz2-linux/
 
Old 04-24-2009, 02:36 AM   #4
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 18.0 Cinnamon 64 bit
Posts: 301

Original Poster
Rep: Reputation: 20
Question

The issue with upgrading Firefox is no longer an issue ... but! the issue with installing Tarballs rumbles on. I have followed the instructions that have been recommended by users, and tried methods that I discovered when searching for answers, and I still cannot install a Tarball. Obviously I am doing something wrong. Regardless of what I try, I keep getting the same answer, "No such directory, or file."
Question; Does it make any difference that I download everything onto my desktop?
At first I thought the problem was me, but having looked around at all the queries regarding the installation of Tarballs I realize that this is a common problem as there are literally hundreds of (new, and not so new) users who are having difficulty with these installations.
Now I know that there are some really competent Linux users out there in the community ... wouldn't it be to everyones advantage to create a "How to" that really works and is easy to follow?
Listening to my friends chatting on the subject of Linux, the difficulty of these tasks is what puts people off moving to the Linux platform. Microsoft must rub their hands together in glee, knowing that their user friendly platform is what keeps people with them.
So come on you experts, put a page up on the boards and make Linux the most user friendliest Operating System out there ... please
 
Old 04-24-2009, 04:06 AM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
The tarball you've downloaded (firefox-3.0.9.tar.bz2) does not contain the source code of firefox, but the directory with the binary executable of firefox and all the files it needs to run. So the problem is just to put the directory in some place and create the link to the firefox executable. It should not so difficult, if you have the proper permissions (root) to copy the directory in /opt (as suggested by the tutorial above).

Different is the problem of installing a program from source. In that case the tarball contains the C code and the utilities to compile and install the code. This is done usually by the following steps:
Code:
$ ./configure
$ make
$ sudo make install
and there are a lot of tutorials on how to do that in linux. Most often you will find installation instructions inside the tarball itself (see the README and INSTALL files). But I repeat, the tarball you downloaded does not contain the source code so you have not to go through all the panic of a typical installation from source, since the firefox people did it for you.

Regarding the error "No such file or directory" it is just a matter of knowing what is your current directory and what are the correct paths of the files/directories you want to copy/move.

Last edited by colucix; 04-24-2009 at 04:08 AM.
 
Old 04-24-2009, 04:08 AM   #6
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Quote:
Originally Posted by gael33 View Post
... but! the issue with installing Tarballs rumbles on. ... wouldn't it be to everyones advantage to create a "How to" that really works and is easy to follow?
To install programs from source code in Ubuntu you need to first install the build-essential package. The check-install package is also recommended . See this:
https://help.ubuntu.com/community/CompilingEasyHowTo
What program are you trying to install? You should first search the Ubuntu repos for the program you want. If it is not in the repos, then search for a .deb package for your program. Compiling from source should be your last resort.
http://www.psychocats.net/ubuntu/installingsoftware

Last edited by tommcd; 04-24-2009 at 04:09 AM.
 
  


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
Installing squid with tarball winxandlinx Linux - Networking 1 11-24-2006 03:49 AM
newbie installing tarball jbcolmena Linux - Software 5 02-28-2006 10:52 AM
Need help Installing a Tarball little_penguin Linux - Software 6 02-12-2005 01:57 PM
Installing From a tarball in Fedora Linux sxa Linux - Software 2 01-20-2004 08:46 AM
problem installing tarball xine annehoog Linux - Software 0 05-12-2002 12:08 PM


All times are GMT -5. The time now is 02:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration