LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-12-2004, 11:14 AM   #1
eBopBob
Member
 
Registered: Jan 2004
Location: Europe.
Distribution: Windows XP, openSuse 10.1
Posts: 215

Rep: Reputation: 30
Where must I download files to so I can compile and install from source?


Hi there.

I'm very pleased to be using Linux now on the Internet. I've compiled a few things, and am not finding it too hard, so don't mind doing it at all.

But where MUST I download all my files to? I've seen places say /usr/local/src and also heard people say that. But I can download there unless I do so via root, and do not want to go on the net in root.

So, where must I download files to, and if it is to that place, how can I download to that place without being in root?

Thanks.
 
Old 08-12-2004, 11:23 AM   #2
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Well a few things first. Both distros you use are rpm based so I would learn to use rpm. Second, bothe distros have package management systems to handle dependencies. I like apt for RH based distros and I believe yast is a good tool for SuSE. Installing things from source can be risky on rpm based distros.

However having said that, *most* tar.gz packages of source code have an configure and install script which will compile and put the compiled binary into the proper directory. So if you are going to do things that way, read the file called README in most packages. And look at the website for individual differences of compiling from source on your particular distro.
 
Old 08-12-2004, 11:38 AM   #3
eBopBob
Member
 
Registered: Jan 2004
Location: Europe.
Distribution: Windows XP, openSuse 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
Quote:
Well a few things first. Both distros you use are rpm based so I would learn to use rpm. Second, bothe distros have package management systems to handle dependencies. I like apt for RH based distros and I believe yast is a good tool for SuSE. Installing things from source can be risky on rpm based distros.
Well, I tried YaST. However it couldn't connect to the server I tried, however I'll try a different server. Although I'm worried as to use YaST I have to log in as root, and don't want to be on the Internet while in root. Or when I simply log into root on YaST, does that NOT mean I'm in root on the whole server or what?


Quote:
However having said that, *most* tar.gz packages of source code have an configure and install script which will compile and put the compiled binary into the proper directory. So if you are going to do things that way, read the file called README in most packages.
Ok, thanks. I'll do that. Meaning if I download it into my Home directory, it'll be put into the correct directory in the end, correct?
Also, I already have Firefox installed, but firstly it's old and secondly won't load for some reason. How do I get rid of it? Do I do make clean, or what? Or would I need to log into another session as root and actually remove everything Firefox? - or do I just install over?


But also, back to me main question, can I just download it anywhere if installing from source?
And... if I install by RPM where do I download it?
Thanks
 
Old 08-12-2004, 02:52 PM   #4
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Yup yup. D/l to anywhere. rpms, taballs etc. I usually make a directory for things. For example if I am using an rpm based distro and apt can't do what I need I'll make a directory for rpms called...$HOME/rpms/ and then cd to it su to root and install it.

As for not wanting to be root, you are wise to be so cautious, however you really only want to use installing tools as root and therefore can safely use yast, apt, rpm as root without concern (well guarded, but w/o concern we'll say) Good luck
 
  


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
unable to compile source files Hallowedpoint Linux - Newbie 6 11-19-2005 08:02 AM
I just cant get it right: If I download the kernel source, where do I put the files? Shagrath239 Slackware 6 02-14-2005 09:13 PM
where to download SSH and Lynx source files mitchb Linux - Newbie 1 06-23-2004 04:48 AM
Using g++ to compile multiple source files arnab_be Linux - Newbie 1 03-03-2004 02:22 PM
Using g++ to compile multiple source files arnab_be Linux - Newbie 1 03-03-2004 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:15 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
Open Source Consulting | Domain Registration