Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-19-2006, 08:34 PM   #1
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
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
You need to mount the CDROM (if it didn't automount) and use the full path to the required rpm:
rpm -Uvh /media/cdrom/path/to/rpm/filename.rpm
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
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,290

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:

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


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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration