Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-29-2005, 02:56 AM   #1
Frank Leone
LQ Newbie
Registered: Oct 2005
Distribution: Kubuntu Gutsy Gibbon
Posts: 17

Rep: Reputation: 0
compiling programs from source

Tried to follow the info: ( apparantly, I can't post a URL because I haven't posted enough yet to ID that I am not a spammer) but it was an article on the linuxquestions website about how to compile programs from source. It would be much easier to follow my rambling if one could follow the article I was reading :
but I was not even close to success. First, I'm running Mandrake 10.2. Ok, I couldn't even download the program to the directory: /usr/local/src as the owner and group is root. So I ended the session and logged in as root, changed that src folder in properties, permissions so the owner was myself and the group was users with all the boxes checked under owner, group and others except for write in others. (clearly you can see that I do not know what I am doing...). Anyway, logged back on as myself again and was able to then download the program (firefox 1.0.7 installer.tar.gz) into the folder. Well, next I tried to type the code (which I assume that I do in the "run command" under menu. Nothing happened, so I tried it in the "Konsole" program and got this :

[frank@localhost ~]$ tar zxf firefox-1.0.7.installer.tar.gz
tar: firefox-1.0.7.installer.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

Please try not to laugh...I'm clueless. But I want to learn. !st, did I screw up something in the scr folder by changing the permission owner/group thing? Please help...I thought that would be an easy thing to start with installing before I tackled installing a program to change my synaptics mousepad settings so the tapping would stop which is driving me crazy. Maybe I shouldn't do this so late at night. Should I back up and read something much more basic about using Linux before trying this level? Any help would be greatly appreciated. Thanks
Old 10-29-2005, 03:00 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
Several things...

The file you DOWNLOADED isn't a source-tarball, it's a
binary installer in a tar archive, so the how-to you're
trying to follow is inappropriate ...

And you obviously downloaded it to some other location
than your home ... it's probably on your desktop?


Last edited by Tinkster; 10-29-2005 at 03:01 AM.
Old 10-29-2005, 08:37 AM   #3
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Rep: Reputation: 43

First you must be root to install anything:

Password: ********
Then first gunzip the file:

#gunzip firefox-1.0.7.installer.tar.gz

What remains is the tarball to extract:

#tar -xvf firefox-1.0.7.installer.tar

The result is a new directory that contains your firefox installer data:

#cd firefox-installer/
#ls -al
total 1316
drw-r--r-- 3 root root 4096 Sep 21 01:46 ./
drwxrwxrwx 3 root root 4096 Oct 29 14:26 ../
-rw-r--r-- 1 root root 41433 Sep 21 01:46 config.ini
-rwxr-xr-x 1 root root 1699 Sep 21 01:46 firefox-installer*
-rwxr-xr-x 1 root root 1192940 Sep 21 01:46 firefox-installer-bin*
-rw-r--r-- 1 root root 8976 Sep 21 01:46 header.png
-rw-r--r-- 1 root root 3289 Sep 21 01:46 install.ini
-rw-r--r-- 1 root root 6423 Sep 21 01:46 license.txt
-rw-r--r-- 1 root root 55809 Sep 21 01:46 watermark.png
drwxr-xr-x 2 root root 4096 Sep 21 01:46 xpi/

The next step:


If you do this right a new gui appears to install firefox.

Good luck,


Last edited by Sjonnie48; 10-29-2005 at 08:49 AM.
Old 10-30-2005, 01:47 AM   #4
Frank Leone
LQ Newbie
Registered: Oct 2005
Distribution: Kubuntu Gutsy Gibbon
Posts: 17

Original Poster
Rep: Reputation: 0
Thank you both!


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
DISCUSSION: Compiling Programs from Source jeremy LinuxAnswers Discussion 51 11-21-2005 05:35 AM
why is compiling source programs under linux such a headache? guy24x Linux - Software 21 07-28-2005 07:04 AM
Compiling Programs from Source-help orisma Linux - Newbie 6 03-03-2005 08:57 AM
Compiling programs from source rpms coolfrog Linux - General 1 09-10-2004 04:17 PM
Compiling programs from source in Mandrake 10 AMD64 RC1 hydroxy Linux - Software 7 05-12-2004 04:55 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration