LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-07-2004, 02:31 PM   #1
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
how to install RPMs + requirements


I've just installed SuSE 9.0 on a dual Win98 system and so far so good.
However I only have the first CD and I would like to learn how to install additional programs without an internet connection (I havent's managed to get my linmodem working yet)

RPMs appear to be the easiest option, but I read somewhere you need gcc for that (anything else?) which I can't find on my SuSE CD.

What other methods of installation are there, and if you'd be so kind, could you point me to tutorial/HOWTO to get the basics? (Can't seem to find any)

Thanx
 
Old 06-07-2004, 02:38 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Welcome to LQ.

Some rpms will have other prerequisite rpms however it is unlike that tha gcc will be one of them (gcc is the GNU compiler).

If you want to compile programs from source then take a look at this general guide:
http://www.linuxquestions.org/questi...ticle&artid=15
 
Old 06-08-2004, 03:35 AM   #3
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Original Poster
Rep: Reputation: 46
Thanx a lot! I had to read it a couple of times before I understood about uninstalling, but I'm dying to give it a try. Only need to find some more things to install now :-)
I've also found out that under KDE my Konquerer tells me what's in my RPM and offers to start YAST to install it.

The reason I asked about gcc is because I was reading this: http://www.linuxquestions.org/questi...hreadid=111893 to try and figure out if I can get my HCF modem to work. It appears I have neither gcc (unless libgcc is similar) nor the sourcecode (whih must be on a different CD)

Another related question: RPM installs to the different preset directories, but with MAKE INSTALL etc it looks like the installation files stay in my /home/<username> directory. What should be a good way to organise these installations; in what directory should I put them to make them available to any user on this box?
 
Old 06-08-2004, 01:32 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
If you don't have gcc installed then you'll need to grab an rpm for your system.

When you are compiling programs from source you can usually add "--prefix=/path/to/install/dir" to yoru configure command to change the destination.
 
Old 06-09-2004, 02:56 PM   #5
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Original Poster
Rep: Reputation: 46
Sorry to repeat myself, but let me make the question a little more general: where do you install your new apps? What is your favourite directory? Is there a 'correct' directory, or 'logical location'?
 
Old 06-09-2004, 06:07 PM   #6
jorjur1980
LQ Newbie
 
Registered: Mar 2004
Location: Utrecht; The Netherlands
Distribution: Mandrake 9.1
Posts: 8

Rep: Reputation: 0
I think the above is a real interesting question, because i installed staroffice (as root) in /usr/bin/ and it won't run. It's obvious that it won't but i don't want it installed in my home directory.
So to me it's also a question where one should install the programs. Most programs go automaticaly to /usr/bin (and you'll never find them back), but others go to your home directory to mess that one up.
How are people organising there programs??
 
  


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
do i have to install first the requirements before migrating to kernel 2.6 eatmars Slackware 2 10-01-2005 08:42 AM
Need help getting library requirements for install of kino jstgtpaid Linux - Software 46 05-24-2005 07:14 AM
Can I install Linux on my pc?, Which is the best version according to my requirements rem1986 Linux - Software 1 01-03-2005 11:47 PM
Minimum requirements to install mySql. AnanthaP Linux - Newbie 2 08-07-2004 11:28 AM
Is there a simple way to install the most common requirements for games? jimdaworm Linux - Games 2 12-04-2003 01:12 PM


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