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 09-19-2006, 08:34 PM   #1
Feldom
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
Installation Fedora


I am having some trouble installing software at Fedora 5.ok I put the cd into the machine and I want to install a file.what I do is to write
rpm -Uvh filename.rpm and it writes <<error: open of filename.rpm failed: No such file or directory>> the same happens with yum.What is the problem here?
 
Old 09-19-2006, 08:41 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 168Reputation: 168
You need to mount the CDROM (if it didn't automount) and use the full path to the required rpm:
Code:
rpm -Uvh /media/cdrom/path/to/rpm/filename.rpm
or
Code:
cd /media/cdrom/path/to/rpm && rpm -Uvh filename.rpm
I haven't used yum - but did you configure it to point to a repository?
 
Old 09-19-2006, 08:49 PM   #3
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,286

Rep: Reputation: 62
By the sounds of it your are not in the same directory as the file your are trying to install. If you are putting the cd in and opening a console, the console will open to your home folder path, not the path of the cd. Probably the easiest way to do this would be to copy the file from your cd to your home directory first then use the command line to install it. Or if you know where on the cd the files is you can install it through the command line like something similar to this:

Code:
rpm -Uvh /media/cdrom/pathto/filename.rpm
I think FC5 places the cdrom under the /media directory, if it isn't you may need to search for it, possible under /mnt/cdrom
 
  


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



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

All times are GMT -5. The time now is 07:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration