Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: running sh NVIDIA-Linux-x86-185.18.36-pkg1.run via terminal

  1. #1
    Join Date
    Jul 2009
    Beans
    224
    Distro
    Xubuntu 13.04 Raring Ringtail

    running sh NVIDIA-Linux-x86-185.18.36-pkg1.run via terminal

    In system - help and support, if you search for nvidia, you will find a nvidia installer section. In the first paragraph, we can read:

    When the driver is installed by running, for example:

    sh NVIDIA-Linux-x86-185.18.36-pkg1.run

    The .run file unpacks itself and invokes the contained nvidia-installer utility. nvidia-installer
    then walks you through the installation process.

    Well, I have downloaded that same driver from the Nvidia official site, and when I open a terminal and paste that, it says:

    sh: Can't open NVIDIA-Linux-x86-185.18.36-pkg1.run

    What am I doing wrong?

  2. #2
    Join Date
    Apr 2009
    Location
    Georgia, USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: running sh NVIDIA-Linux-x86-185.18.36-pkg1.run via terminal

    Why would you want to install the nVidia proprietary driver in that fashion? Doesn't the "System -> Administration -> Hardware Drivers" menu find the correct driver?


    Quote Originally Posted by hihihi100 View Post
    In system - help and support, if you search for nvidia, you will find a nvidia installer section. In the first paragraph, we can read:

    When the driver is installed by running, for example:

    sh NVIDIA-Linux-x86-185.18.36-pkg1.run

    The .run file unpacks itself and invokes the contained nvidia-installer utility. nvidia-installer
    then walks you through the installation process.

    Well, I have downloaded that same driver from the Nvidia official site, and when I open a terminal and paste that, it says:

    sh: Can't open NVIDIA-Linux-x86-185.18.36-pkg1.run

    What am I doing wrong?

  3. #3
    Join Date
    Dec 2005
    Beans
    733
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: running sh NVIDIA-Linux-x86-185.18.36-pkg1.run via terminal

    First of all you may need to make the package executable.
    Secondly be warned you will always have to reinstall this driver everytime there is a kernel update if you dont use the one that comes via synaptic
    Thirdly you cannot install this package if your graphical frontend is running so heres the steps to do
    via the terminal
    Code:
     chmod 777 NVIDIA-Linux-x86-185.18.36-pkg1.run
    Next in the terminal
    Code:
     sudo /etc/init.d/gdm stop
    This stops the gnome desktop manager (killing your graphical frontend) and dumps you into full terminal mode, you may have to login via the terminal again after doing that this comes next
    Code:
    sudo sh NVIDIA-Linux-x86-185.18.36-pkg1.run
    Now you may have to explicitly point to where the package is or cd into the directory where it is for example
    Code:
     cd ~/Desktop;sudo sh NVIDIA-Linux-x86-185.18.36-pkg1.run
    or
    Code:
    sudo sh ~/Desktop/NVIDIA-Linux-x86-185.18.36-pkg1.run
    If all goes well the driver will be installed and you will automatically go into your graphical frontend if not then type
    Code:
    sudo /etc/init.d/gdm start
    And it will come back

  4. #4
    Join Date
    Jul 2009
    Beans
    224
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: running sh NVIDIA-Linux-x86-185.18.36-pkg1.run via terminal

    yes, i would prefer to use the synaptic way, but you may want to read:

    http://ubuntuforums.org/showthread.php?t=1267839

    just to know why I am choosing this way

  5. #5
    Join Date
    Jul 2009
    Beans
    224
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: running sh NVIDIA-Linux-x86-185.18.36-pkg1.run via terminal

    this is what i get:

    sh NVIDIA-Linux-x86-185.18.36-pkg1.run
    sh: Can't open NVIDIA-Linux-x86-185.18.36-pkg1.run

    Am I doing anything wrong?

  6. #6
    Join Date
    Jul 2007
    Location
    Connecticut USA
    Beans
    1,865
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: running sh NVIDIA-Linux-x86-185.18.36-pkg1.run via terminal

    Do:
    Code:
    sudo sh NVIDIA-Linux-x86-185.18.36-pkg1.run

  7. #7
    Join Date
    Jul 2007
    Location
    Alsip, IL
    Beans
    2,027
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: running sh NVIDIA-Linux-x86-185.18.36-pkg1.run via terminal

    Make sure you are in the directory that your .run file is in - for example
    Code:
    jeff@eeetop:~$ sh NVIDIA-Linux-x86-185.18.36-pkg1.run
    sh: Can't open NVIDIA-Linux-x86-185.18.36-pkg1.run
    It can't open it in my home directory because I don't have the file

    Use the ls and cd commands to find the right directory. Also as stated you will need to run the driver package as sudo.

    Also as an fyi because he is using the sh command to run the file you *shouldn't* need to chmod the file to be executable.

    ~Jeff

  8. #8
    Join Date
    Jul 2007
    Location
    Alsip, IL
    Beans
    2,027
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: running sh NVIDIA-Linux-x86-185.18.36-pkg1.run via terminal

    Quote Originally Posted by tkoco View Post
    Why would you want to install the nVidia proprietary driver in that fashion? Doesn't the "System -> Administration -> Hardware Drivers" menu find the correct driver?
    Because the ones contained here in 9.04 are the 180 drivers - they are old at this point and the 185/190 drivers provide much better performance.

    ~Jeff

  9. #9
    Join Date
    Jul 2009
    Beans
    224
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: running sh NVIDIA-Linux-x86-185.18.36-pkg1.run via terminal

    k, here is a message I have been ignoring for a while, but now I think it has much to say about the problems of my computer:

    Before asking for my username and password, a message appears, (I believe it is out of GDM, since GDM is the graphical interface), reading:

    There already appears to be an x server running on display :0 Should another display number be tried? Answering no will cause GDM to attempt starting the server on :0 again,

    and then it says that I can change consoles

    I click yes (I have to do it a plurality of times until the system finds a workable display), and the system runs, but only on low graphics mode.

    Is this why the system fails to load glx?

    What do I have to do to kill this running X server? I cannot install the 185 driver because of this (x server still running), am I right?

    If this sounds too obvious for you, don forget im a noob

    cheers

  10. #10
    Join Date
    Jul 2007
    Location
    Alsip, IL
    Beans
    2,027
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: running sh NVIDIA-Linux-x86-185.18.36-pkg1.run via terminal

    To kill X run
    Code:
    sudo /etc/init.d/gdm stop
    in terminal.

    ~Jeff

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •