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 12-13-2004, 10:04 AM   #1
Hagen
LQ Newbie
 
Registered: Dec 2004
Location: Norway
Posts: 3

Rep: Reputation: 0
Can't Install .rpm Files!


When I'm trying to install a .rpm file on my mandrake 10, i get this:

$ rpm -ivh xmms-1.2.10-1.src.rpm
error: cannot create %sourcedir /usr/src/RPM/SOURCES

Why do I get this error, and how can i (step by step :P) fix it?
 
Old 12-13-2004, 10:12 AM   #2
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
Hi,

You simply need to do this as root...it can't create a directory it needs as a normal user...

good luck,
 
Old 12-13-2004, 10:19 AM   #3
Hagen
LQ Newbie
 
Registered: Dec 2004
Location: Norway
Posts: 3

Original Poster
Rep: Reputation: 0
Login as root?

Then how can I go as a root? I'm really a newbie at Linux, so I need lots of help!
 
Old 12-13-2004, 10:30 AM   #4
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
well, hopefully you know the root password. Assuming you do, just type this...

su

and hit enter. It will ask for a password. Enter it, and bam, you're root. Now try and install the rpm.

When you're done, make sure you type

exit

so you're not root anymore. It's important to make sure you're not root when doing normal things, so you do'nt screw up and ruin your system...

Good luck,
 
Old 12-13-2004, 10:33 AM   #5
Hagen
LQ Newbie
 
Registered: Dec 2004
Location: Norway
Posts: 3

Original Poster
Rep: Reputation: 0
Ohhh! Thanks a lot! You saved the day for me! Luv ya! :P
 
  


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
Help to install RPM files FragMonkey Linux - Software 2 07-23-2005 05:27 AM
how do i install the rpm files? EvILHaCk Conectiva 4 01-30-2005 12:42 PM
How to install rpm files pepejeria Linux - Newbie 7 09-14-2004 11:01 AM
How do you install tar/gz files, and rpm files? Fear58 Linux - Software 6 02-14-2004 04:35 PM
Can't install rpm files moy Linux - Newbie 3 06-23-2003 12:44 PM

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

All times are GMT -5. The time now is 11:28 PM.

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