Fedora Linux Support Community & Resources Center
  #1  
Old 3rd April 2012, 09:06 PM
Abendstern Offline
Registered User
 
Join Date: Apr 2012
Location: Arizona
Posts: 4
linuxchrome
Error "no such file or directory exists"

I'm trying to install the latest AMD catalyst drivers for Fedora 16 64 bit edition. When I attempt to install the package (amd-driver-installer-12-3-x86.x86_64.run) with the "bash" or "yun install" commands it gives me the error "no such file or directory exists". Do I need to list the directory it's in or something?

exact code:


[PANDAmonium@Jordan-Desktop ~]$ su -
Password:
[root@Jordan-Desktop ~]# bash ./amd-driver-installer-12-3-x86.x86_64.run
bash: ./amd-driver-installer-12-3-x86.x86_64.run: No such file or directory
[root@Jordan-Desktop ~]# yum install amd-driver-installer-12-3-x86.x86_64.run
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
No package amd-driver-installer-12-3-x86.x86_64.run available.
Error: Nothing to do
[root@Jordan-Desktop ~]#

Thanks in advance...
Reply With Quote
  #2  
Old 3rd April 2012, 09:12 PM
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,626
windows_xp_2003chrome
Re: Error "no such file or directory exists"

Working from the folder that contains the .run file, try
PHP Code:
sh amd-driver-installer-12-3-x86.x86_64.run 
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 4th April 2012, 02:07 AM
Abendstern Offline
Registered User
 
Join Date: Apr 2012
Location: Arizona
Posts: 4
windows_7chrome
Re: Error "no such file or directory exists"

Quote:
Originally Posted by glennzo View Post
Working from the folder that contains the .run file, try
PHP Code:
sh amd-driver-installer-12-3-x86.x86_64.run 
I just copypasted that code in but it gave me the same error What do you mean "working from the folder that contains the .run file"?
Reply With Quote
  #4  
Old 4th April 2012, 02:25 AM
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,058
linuxchrome
Re: Error "no such file or directory exists"

The command you originally gave: bash ./amd-driver-installer-12-3-x86.x86_64.run
would have worked had the file amd-driver-installer-12-3-x86.x86_64.run been in the directory you were in when you issued the command.

When you did "su -", and entered roots password, your working directory changed to /root.
If you use just "su" without the hyphen, then you would have remained in the directory (folder) that you were in.

The "./" in front of the filename tells bash to look for the file right here in this directory. Otherwise, bash will only look in the directories defined in the $PATH environment variable. If a file is not in your current working directory (you can see which that is by giving the pwd command), then you can just specify the full directory path to the file.

So, if your current working directory was "/root", and the file was in /home/Abendstern/Downloads/amd-driver-installer-12-3-x86.x86_64.run, then you would use the command:

bash /home/Abendstern/Downloads/amd-driver-installer-12-3-x86.x86_64.run

You can use the command "bash" and "sh" interchangeably. The "sh" command is just a symbolic link that points to "bash" command.
Reply With Quote
Reply

Tags
amd, catalyst, drivers, error, install

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
unpredictable "delete" "move to trash" or "cut" file menu option dorianrenato Using Fedora 1 21st November 2011 03:09 AM
NFS mount fails "reason by server: No such file or directory" , but dir exists! thrombomodulin Servers & Networking 7 26th January 2010 06:33 AM
libdl.so.2: cannot open shared object file " but it exists" m.nassar Using Fedora 0 6th December 2008 03:29 AM
Linux Error -failed to load module "via"(module does not exists) jayantkm Installation, Upgrades and Live Media 1 25th December 2006 12:38 AM
Error:visibility arg must be one of "default", "hidden", "protected" or "internal" wangfeng Using Fedora 0 23rd May 2005 04:59 AM


Current GMT-time: 10:44 (Tuesday, 29-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat