LinuxQuestions.org
Review your favorite Linux distribution.
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 11-27-2005, 04:47 PM   #1
cpippin11h
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
Newbie question-installing software


OK, I just installed Linux Fedora Core 4 as a dual boot system (with Win XP) and it's running great! No Problems. I installed Linux to have something to play with while I'm deployed to Iraq. I'm trying to install software that I've downloaded and have hit a wall. I didn't think I'd have problems with something as (I thought) simple as installing software. I've looked through the resources on the internet, but the ./configure, make, make install hasn't worked for me. ./configure gives me a bash: ./configure: file or directory not found. I'm assuming I am suppose to be running this in the terminal as the root user. I had no problem extracting from the .tar.gz files. I go into the root directory, type su to change to root, type ./configure (get error), make, make install.....no luck. I've tried reading through the install and readme files, but they were not much help. If anyone is willing to walk me through it, I'd appreciate it. One of the programs I'm trying to install is firefox (latest update 1.0.7). If I can see how to do one, I should be able to figure the rest out. Any help is appreciated.

Charles
 
Old 11-27-2005, 04:52 PM   #2
iggep
Member
 
Registered: Sep 2005
Location: Virginia Beach, VA
Posts: 48

Rep: Reputation: 15
Charles, first be careful over there... I'm 18 year veteran myself. I'll be back over that way again next year myself.

Second, is there a particular reason why you're starting out with compiling your own software? I'd recommend that you learn the ins and outs of RPMs first. If you're going to be rolling your own software though, you need to be running ./configure in the directory where you untarred the tarball. When you untar something it's going to create a directory with the contents of the tarball. CD into that directory and run ./configure. Then ./make and ./make install. the ./ doesn't refer to the the root (/) directory of your file system.
 
Old 11-27-2005, 05:13 PM   #3
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,517

Rep: Reputation: 90
Quote:
Originally posted by iggep
If you're going to be rolling your own software though, you need to be running ./configure in the directory where you untarred the tarball. When you untar something it's going to create a directory with the contents of the tarball. CD into that directory and run ./configure. Then ./make and ./make install. the ./ doesn't refer to the the root (/) directory of your file system.
That's not always true, especially with firefox. It's true in most cases if you download a source package. But firefox (as well as some other packages) is a binary package I think.
You should untar the archive you downloaded and change to the directory. Do a "ls" and look what you see. Usually there are files like "README" and "INSTALL" that give you the information you need to install the package. Of course you can look also at the website you got the file from, often there are install instructions.
While you can often do a ./configure && make && make install there are sometimes other steps to take, for example when installing perl modules etc.

On the other hand, for the beginning you maybe should take iggep's advice and use precompiled RPMs, in case you want to do it the easy way. To have something to play, compiling from source is a good exercise

And I hope your time in Iraq will go over soon, so that you can use your new Linux skills again at home
 
Old 11-27-2005, 06:32 PM   #4
cpippin11h
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Original Poster
Rep: Reputation: 0
It seems like most everything i look to download is a tarball, i.e. ends in tar.gz. Forgive me for asking, what is RPM and how do you use those. can you give me a file location (I don't care what, any free download will work), and the steps to take to get it working. I primarily use the gnome desktop and all of my files are downloaded there. I then open up the tar.gz and drag it to the desktop which creates an unpacked folder. Is there anything wrong with this, or is there a better way to do it. Just trying to learn and get up and running!!!!
 
Old 11-27-2005, 07:15 PM   #5
iggep
Member
 
Registered: Sep 2005
Location: Virginia Beach, VA
Posts: 48

Rep: Reputation: 15
RPM stands for Redhat Package Manager. RPM is the preferred, and most utilized means for installing software on Redhat (and other distros) these days. If you don't know what RPM is, you might want to take a couple hours, download the available FC4 documentation, and read it first. I'm positive this question, and many others you will soon have, would be answered if you were to do this.

Package management services are able to solve a lot of the headaches of home-brewed compiling (dependency hell), by automatically downloading and installing dependent packages, along with the package(s) you're trying to install. Back when I used Redhat (7.x, 8.x, 9.x) I installed apt-get and used it to manage my RPM installs. Under Mandriva, which I've been using since those days, I use URPMI, which also does all that. I've no idea what Fedora uses for package management, but I suspect there is something very similiar lurking there somewhere. Reading that documentation will tell you what it is, as well as how to configure it.

But if you want to download and install RPMs, all you need to do is check out one of the large RPM stores available on the Internet. Check out http://rpmfind.net/ and http://freshmeat.net/ for starters. http://Sourceforge.com is another site you will undoubtedly come to frequent often.

HTH
 
  


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
Newbie Software Question RE: WindowMaker and KDE Rexversusu Linux - Software 5 08-19-2004 05:39 AM
newbie software install question jasonmantey Linux - Newbie 4 02-26-2004 08:52 PM
Newbie: Needs help installing software... zoe182 Linux - Newbie 6 02-10-2004 10:15 AM
A question regarding installing software duerra Linux - Newbie 3 01-21-2004 03:01 PM
Question on installing software and starting software rootlinux Linux - Newbie 5 01-19-2002 10:40 AM


All times are GMT -5. The time now is 11:37 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