manually install nvidia driver cant get from root to Download map

Asked by luigi

im new to ubuntu
however i need to install my nvidia driver i can install it via
luigi@luigi-Dimension-4600i:~$ cd ~/Downloads
luigi@luigi-Dimension-4600i:~/Downloads$ sh NVIDIA-Linux-x86-310.19.run

 it works but than it says:
error install must be run as root.

i go to root but i don't now how to get from root to downloads map to open the program
i think it must be something like:
root@luigi-Dimension-4600i:~# cd ~/home

but than i get:
-bash: cd: /root/home: Bestand of map bestaat niet

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu xserver-xorg-video-nv Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

run:

chmod +x ~/Downloads/NVIDIA-Linux-x86-310.19.run
sudo ~/Downloads/NVIDIA-Linux-x86-310.19.run

And it will install. Or you can use the Xorg edgers PPA and it will install as a package (easier)

Revision history for this message
luigi (lvt09) said :
#2

chmod +x ~/home/luigi/Downloads/NVIDIA-Linux-x86-310.19.run it worked
but then it was the rong driver.

Now i try the right one and it dusn't work.

root@luigi-Dimension-4600i:~# /home/luigi/Downloads/NVIDIA-Linux-x86-96.43.23-pkg1.run
-bash: /home/luigi/Downloads/NVIDIA-Linux-x86-96.43.23-pkg1.run: Toegang geweigerd
root@luigi-Dimension-4600i:~#

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Toegang geweigerd = access denied.

Try:

chmod a+x /home/luigi/Downloads/NVIDIA-Linux-x86-310.19.run
/home/luigi/Downloads/NVIDIA-Linux-x86-310.19.run

Will run it

Revision history for this message
luigi (lvt09) said :
#4

It worked but than i get cant install x server stil working.
I did close the lightdm with:
sudo service lightdm stop

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Why not just use the packaged driver? Its so much easier.....

Can you help with this problem?

Provide an answer of your own, or ask luigi for more information if necessary.

To post a message you must log in.