Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Reply
 
LinkBack Thread Tools Display Modes
Old 16-10-2011, 02:02 PM   #1 (permalink)
Neo
Alpha Geek
 
Neo's Avatar
 
Join Date: Jun 2011
Location: Near my Computer.
Posts: 507
Default how to install a .run file on ubuntu


i want to install a .run file on ubuntu. i followed the guide here and it says that you need root permissions to install the file.How do i give root permissions ?
I also followed here but it says that your system is running a X server. What do i do?

The file i want to install is NVIDIA driver file downloaded from nvidia.com.

thanx
Neo is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 16-10-2011, 02:27 PM   #2 (permalink)
Simply a DIGITian
 
krishnandu.sarkar's Avatar
 
Join Date: Nov 2007
Location: Kolkata
Posts: 2,942
Default Re: how to install a .run file on ubuntu

On terminal, do
sudo chmod u+x filename.run
sudo sh filename.run

The problem that you are facing is because you need to stop GUI to install Graphics Driver. You can do that by running sudo gdm stop from terminal.

Or better run init 3 to Stop X and then do sh filename.run and then init 5 to start X. You need to perform this step using root.

One more thing, if you follow avobe process you need to use another virtual terminal, use any (CTRL + ALT + F1 to CTRL + ALT + F6), and after doing all these back to CTRL + ALT + F7. Everything will be fine.

BTW if you don't mind, why are you making the thing more complex?? Just go to additional drivers and install NVIDIA Current, no need to do all these.
__________________
  • Read The Forum RULES First.
  • Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
  • Before Starting A New Thread Read The STICKY THREADS First
  • Before Participating In Bazaar Section Read The BAZAAR RULES
krishnandu.sarkar is offline   Reply With Quote
Old 16-10-2011, 10:17 PM   #3 (permalink)
BSD init pwns System V
 
hellknight's Avatar
 
Join Date: Sep 2006
Location: atapi.sys as Stuxnet
Posts: 1,229
Default Re: how to install a .run file on ubuntu

Just to inform you Tarun, once you'll update the current kernel of Ubuntu to a newer one (when it will be released later) the current driver (the one with .run extension) will not work with the new one. You need to install DKMS (Dynamic Kernel Module Support) package via apt. It will recompile the module for the new kernel. But, as krishnandu rightly said, it is NOT recommended. Use the hardware-drivers method.

Also, you'll need these packages as well for the NVIDIA.run file :-

1. kernel-source.
2. GCC
3. Build-libraries
4. build-tools

To install them all at once, sudo apt-get install build-essential.
__________________
My blog :- www.openenclave.wordpress.com
hellknight is offline   Reply With Quote
Old 17-10-2011, 08:29 AM   #4 (permalink)
Simply a DIGITian
 
krishnandu.sarkar's Avatar
 
Join Date: Nov 2007
Location: Kolkata
Posts: 2,942
Default Re: how to install a .run file on ubuntu

That's right, I forgot to mention the most important point, if you install from binary, which you are trying to do, you need to compile everything again after each kernel update as specified by @hellknight.

So it's not recomended unless you want to use your own compiled kernel.

So just go to additional drivers and install NVIDIA Current.
__________________
  • Read The Forum RULES First.
  • Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
  • Before Starting A New Thread Read The STICKY THREADS First
  • Before Participating In Bazaar Section Read The BAZAAR RULES
krishnandu.sarkar is offline   Reply With Quote
Old 17-10-2011, 09:00 AM   #5 (permalink)
ico
.
 
ico's Avatar
 
Join Date: Jun 2007
Location: New Delhi
Posts: 8,944
Default Re: how to install a .run file on ubuntu

If you haven't installed the nVidia driver, install from here:



This is the best way.
__________________
.
ico is offline   Reply With Quote
Old 17-10-2011, 09:21 AM   #6 (permalink)
.
 
JojoTheDragon's Avatar
 
Join Date: Aug 2008
Location: Guwahati
Posts: 2,485
Default Re: how to install a .run file on ubuntu

Can't we just open properties of the".run" file and mark it as executable ?
__________________
| Steam: jojothedragon | Origin : jojothedragon | PSN : jojothedragon |


TDF @ Steam
Get 2GB of free cloud space : http://db.tt/OJKPcZnY
JojoTheDragon is offline   Reply With Quote
Old 17-10-2011, 09:49 AM   #7 (permalink)
ico
.
 
ico's Avatar
 
Join Date: Jun 2007
Location: New Delhi
Posts: 8,944
Default Re: how to install a .run file on ubuntu

Quote:
Originally Posted by JojoTheDragon View Post
Can't we just open properties of the".run" file and mark it as executable ?
yeah. you can.
__________________
.
ico is offline   Reply With Quote
Old 17-10-2011, 10:09 AM   #8 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,923
Default Re: how to install a .run file on ubuntu

Quote:
Originally Posted by JojoTheDragon View Post
Can't we just open properties of the".run" file and mark it as executable ?
Damn! You removed the joy of command line from this thread.
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline   Reply With Quote
Old 17-10-2011, 12:54 PM   #9 (permalink)
BSD init pwns System V
 
hellknight's Avatar
 
Join Date: Sep 2006
Location: atapi.sys as Stuxnet
Posts: 1,229
Default Re: how to install a .run file on ubuntu

^Chill .. Actually, to install NVIDIA's driver manually, he needs to shutdown X & move to init 3.. From there he can do the installation.. IMHO, you should install it via 'Hardware-Drivers' app..
__________________
My blog :- www.openenclave.wordpress.com
hellknight is offline   Reply With Quote
Old 18-10-2011, 07:01 PM   #10 (permalink)
Neo
Alpha Geek
 
Neo's Avatar
 
Join Date: Jun 2011
Location: Near my Computer.
Posts: 507
Default Re: how to install a .run file on ubuntu

k ...thanx guys.
so i have installed it with additional drivers.
But i wanted to install it using the run file. I tried but the was not able to shut down X.
Dunno why but the terminal didn't recognised gdm command. Maybe i did some mistake.
Can someone figure it out.
Neo is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Charan
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 02:41 AM.


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

Search Engine Optimization by vBSEO 3.3.2