can't open run file

Asked by Jacob

Im trying to install my ATI driver...

but when i write :

<code>
jacob@jacob-desktop:~$ sudo sh ati-driver-installer-8-12-x86.x86_64.run
sh: Can't open ati-driver-installer-8-12-x86.x86_64.run
</code>

you can se it can't open the file..

What to do?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Florian Diesch
Solved:
Last query:
Last reply:
Revision history for this message
Best Florian Diesch (diesch) said :
#1

Use
 sudo sh ./ati-driver-installer-8-12-x86.x86_64.run
instead. The "./" tells sh to use the file in the current working directory instead of search the folders contained in the $PATH environment variable (which usually don't contain "." in Linux).

Revision history for this message
Jacob (jacob-severin-nielsen) said :
#2

it dosn't work. but thanks for the quick answer.

<code>
jacob@jacob-desktop:~$ sudo sh ./ati-driver-installer-8-12-x86.x86_64.run
[sudo] password for jacob:
sh: Can't open ./ati-driver-installer-8-12-x86.x86_64.run
</code>

Revision history for this message
Tom (tom6) said :
#3

Is this a superior driver than the one included in the repository and easily installed using a gui in
System - Administration - Hardware Drivers

I quite like the ati-driver but am aware that it hasn't been fully developed yet due to Ati's reluctance to let the Open Source Community work on it. Maybe when Ati sell their card they should include a free copy of Windows and all the programs & games each person likes.

Revision history for this message
Tom (tom6) said :
#4

Ooooo, i'm bitter ;)

Lol, good luck with this ;)

Revision history for this message
Jacob (jacob-severin-nielsen) said :
#5

its a driver i downloaded from this page:

http://ati.amd.com/support/driver.HTML

I order words it's not a superior driver than the one included in the repository and easily installed using a gui in
System - Administration - Hardware Drivers.

But there ids a driver there activaved. should i disable this in the first place?

Revision history for this message
pe3k (qyx) said :
#6

I think it is not needed to disable running driver ...
Try maybe download the driver from ati once again from internet to see if there was any problem with download ... then type 'chmod +x ati-driver-installer-8-12-x86.x86_64.run' and then 'sudo sh ./ ati-driver-installer-8-12-x86.x86_64.run'.

Revision history for this message
Jacob (jacob-severin-nielsen) said :
#7

well it dosn't help either.

<code>
jacob@jacob-desktop:~$ chmod +x ati-driver-installer-8-12-x86.x86_64.run
chmod: kan ikke tilgå 'ati-driver-installer-8-12-x86.x86_64.run': No such file or directory
</code>

Revision history for this message
Hemanth (hemanth-hm) said :
#8

rename your file as "ati.run"

then do "sudo chmod 777 ati.run"

then do "sudo sh ./ati.run"

or "sudo ./ati.run"

Revision history for this message
Jacob (jacob-severin-nielsen) said :
#9

i have renamed my file to ati.run

but i still dosn't work right:

<code>
jacob@jacob-desktop:~$ sudo chmod 777 ati.run
[sudo] password for jacob:
chmod: kan ikke tilgå 'ati.run': No such file or directory
jacob@jacob-desktop:~$ sudo sh ./ati.run
sh: Can't open ./ati.run
jacob@jacob-desktop:~$
</code>

Revision history for this message
pe3k (qyx) said :
#10

OK, can you post output of 'ls -l' from the directory where you downloaded the driver? Can you post that before and after rename and chmod?

Revision history for this message
Hemanth (hemanth-hm) said :
#11

Jacob,

Right click on the "ati.run" file , goto permission tab , check execute permission , and double click on it , say run in terminal , that's it :)

{or}

say,
" cd <drap and drop ur file here>" , press enter {in ur terminal} , then do as said in the previous answer of mine.

p.s : when you drag and drop the file to the terminal ull get its path :)

ex : /home/xyz/ati.run , something like that
so , you need to cd to that path , and do the required

Revision history for this message
Jacob (jacob-severin-nielsen) said :
#12

it looks right Hermanth. But it can't install because i'm not a super user..

how do i become that.

Revision history for this message
Jacob (jacob-severin-nielsen) said :
#13

Thanks Florian Diesch, that solved my question.

Revision history for this message
Jacob (jacob-severin-nielsen) said :
#14

well. i found out that haven't connected to the right file.. after that every thinks worked out fine.

Revision history for this message
Tom (tom6) said :
#15

sudo should make you super user for that one command

Glad it's fixed
Nicley done
Congrats
Tom :)

Revision history for this message
Psqad (psqad1) said :
#16

thx to all the answers --> it's solved my problem
GrtzzZ