LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-24-2006, 11:17 AM   #1
mediaguy
LQ Newbie
 
Registered: May 2006
Posts: 8

Rep: Reputation: 0
installing Programs


I am new to linux. Iam now trying to install a program in my red hat 9 server. Since there in no install GUI I have read up on installing RPMS and you have to do it in the console. I can get to the root directory but when I try to do cd/file name or /filename it tells me that the directory is not found. Can any one tell me whats the best way to add new programs in. Its frustrating I spent a number of hours trying to get it to work with no success. also I would like to add PHP 5. can any one help..

Thanks
 
Old 05-24-2006, 11:40 AM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
http://wiki.linuxquestions.org/wiki/RPM
 
Old 05-24-2006, 03:13 PM   #3
mediaguy
LQ Newbie
 
Registered: May 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Help

I uderstand what on the pages.. whats wriiten most of the time is make fore people that know. Ok lets assum Iam using asterisk-1.2.3tar.gz I downloaded to the drive. I use the linux unpacker I unpack it and gaive it anothe folder name..
Then I go to terminal
[root@localhostroot]# I type /root it give me the directory I do ls I can see all the folders in the directory. now If I do cd the forlder name I get no such file of directory or if I do/the folder namd I get the same thing.

Does any one have a step by step way of downloading the files and unpacking them then loading the program

Thanks..
 
Old 05-24-2006, 03:36 PM   #4
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
Install the RPMs if you're having trouble with the source packages. Just run "rpm -ivh your.rpm and It'll install it for you; as root of course.

I'm not sure about your "cd" problem. Are you sure you're typing in the correct spelling and path to the folder? Use tab completion so you never misspell.
 
Old 05-24-2006, 07:16 PM   #5
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Does the file name have spaces in it?

are you typing the path correctly? using a / at the start of the path makes it an absolute path and starts it at the very bottom of the tree, so /folder would be telling it to look in / for a folder called that
 
Old 05-25-2006, 02:18 AM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Just out of interest, you do know Linux is case sensitive (unlike MSwindows)?
 
Old 05-30-2006, 09:38 AM   #7
mediaguy
LQ Newbie
 
Registered: May 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Help

OK so If Iam unpacking a tar.gz what is the proper procedure an what program should I be using to unpack and run the RPM command. I understand that packages with .rpm are packages that install themselves what steps do you take to install the packages..

Thanks
 
Old 05-30-2006, 09:54 AM   #8
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
"asterisk-1.2.3tar.gz" that is not an .RPM, it is source code that requires compiling. asterisk-1.2.RPM is an .RPM. You cannot install one via the others method. So which do you have?

Quote:
Originally Posted by Linux~Powered
Just run "rpm -ivh your.rpm and It'll install it for you; as root of course.
he answered what to do if it's an .RPM.

If it's source use tar -xvzf <file> then c into it and try ./congirue
 
  


Reply



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 programs Zyphix Slackware 2 02-14-2006 07:10 PM
I need help installing programs... jnassiri Linux - Newbie 11 09-15-2004 07:23 AM
installing programs rxs160 Linux - Newbie 3 09-16-2003 04:31 PM
Installing programs? gemcgrew Linux - Newbie 4 10-23-2002 11:41 PM
Help with installing programs Laxin22 Linux - Newbie 0 01-03-2002 05:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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