DIGIT-ARC read-only archive · snapshot: July 23, 2026

Help me install Nvidia drivers for Ubuntu.

27 posts · originally from https://geek.digit.in/community/threads/help-me-install-nvidia-drivers-for-ubuntu.57167/

S
slash_89 Original post #1
May 7, 2007 at 10:43 AM
hi,

i just installed ubuntu 7.04(feisty fawn),

i have an asus m2n pv-vm mobo,

i downloaded the drivers for nvidia geforce6150 display from asus,

when i run the setup from the terminal the program starts but when i proceed it closes with
an error tell me to exit 'X Server',

im totally new to linux so plz give me the complete details to install this driver,

and ive also downloaded the 'Nvidia X-config.tar.gz' file from nvidia,

and ive already read many articles about how it should be installed but i couldnt figure out anything:confused:
M
May 7, 2007 at 10:57 AM
You are going the wrong way. Use the repositories.
First add the extra repositories as shown here *ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_add_extra_repositories
Then follow *ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_install_Beta_Graphics_Driver_.28NVIDIA.29
kalpik
kalpik #3
May 7, 2007 at 12:20 PM
System->Administration->Restricted Driver Manager, and then just put a tick against nvidia graphics card.. That's it..
S
slash_89 #4
May 7, 2007 at 2:09 PM
kalpik said:
System->Administration->Restricted Driver Manager, and then just put a tick against nvidia graphics card.. That's it..



it doesnt work,
when i try to enable it, it never gets enable,

@mehulved,

im a real noob in linux, i didnt understand much of that guide u suggested, i did what was told but it didnt work, maybe ive made some mistake,
plz can u tell me a detailed way how i should install these drivers.
kalpik
kalpik #5
May 7, 2007 at 7:35 PM
Applications->Accessories->Terminal then type "sudo aptitude install nvidia-glx" (without quotes of course) and then after that finishes, type "sudo nvidia-xconfig" in the same window.. That should do it.
S
slash_89 #6
May 7, 2007 at 9:35 PM
didnt work,
i get this message:-


root@393MGLX-3NEOLPC9:~# sudo aptitude install nvidia-glx
Reading package lists...
Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
No candidate version found for nvidia-glx
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done

and the next comman u told:-



root@393MGLX-3NEOLPC9:~# sudo nvidia-xconfig
sudo: nvidia-xconfig: command not found
kalpik
kalpik #7
May 7, 2007 at 9:45 PM
Can you give me the output of "cat /etc/apt/sources.list"?
freebird
May 7, 2007 at 9:49 PM
this means no repos enabled?
just do the following check for the repositories in the file /etc/apt/sources.list and uncomment universe,multiverse repos and save.
the sane way is to use terminal and editors like vi and nano
First back up ur /etc/apt/sources.list by Applications>Accessories>Terminal
Code:
~$sudo cp /etc/apt/sources.list /etc/apt/sources.list.bk
Now
try these:
press ALT+F2,U''ll get a run dialog in GNOME.inside run dialog enter below commands as it is and run(press enter)
Code:
gksudo  gedit  /etc/apt/sources.list
when prompted give ur user password.
Now u have something opened in gedit editor.clear the page except the line:
Code:
deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Alpha i386 (20070228.1)]/ feisty main restricted
Then copy below codes and save this in editor and exit.
Code:
# # If you get GPG errors with this sources.list, locate the GPG key in this file
# # and run these commands (where KEY is replaced with that key)
# #
# # gpg --keyserver hkp://subkeys.pgp.net --recv-keys KEY
# # gpg --export --armor KEY | sudo apt-key add -
#Ubuntu Security
deb *archive.ubuntu.com/ubuntu/ feisty-security main restricted
deb-src *archive.ubuntu.com/ubuntu/ feisty-security main restricted
deb *archive.ubuntu.com/ubuntu/ feisty-security universe
deb-src *archive.ubuntu.com/ubuntu/ feisty-security universe
deb *archive.ubuntu.com/ubuntu/ feisty-security multiverse
deb-src *archive.ubuntu.com/ubuntu/ feisty-security multiverse

# # Ubuntu supported packages
# # GPG key: 437D05B5
deb *archive.ubuntu.com/ubuntu/ feisty main restricted
deb-src *archive.ubuntu.com/ubuntu/ feisty main restricted
deb *archive.ubuntu.com/ubuntu/ feisty-updates main restricted
deb-src *archive.ubuntu.com/ubuntu/ feisty-updates main restricted

#
# # Ubuntu community supported packages
# # GPG key: 437D05B5
deb *archive.ubuntu.com/ubuntu/ feisty universe multiverse
deb-src *archive.ubuntu.com/ubuntu/ feisty universe multiverse
deb *archive.ubuntu.com/ubuntu/ feisty-updates universe multiverse
deb-src *archive.ubuntu.com/ubuntu/ feisty-updates universe multiverse

# # Ubuntu backports project
# # GPG key: 437D05B5
deb *archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src *archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

#### Proposed Multiverse ####
deb *archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src *archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse


#### Canonical Commercial ####
deb *archive.canonical.com/ubuntu feisty-commercial main
Now just apt-get update and try installing nvidia drivers.
U can independently look and understand what all these mess are by running:
menu System>Administration>Synaptic package manager
S
slash_89 #9
May 7, 2007 at 10:14 PM
@kalpik

deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Alpha i386 (20070228.1)]/ feisty main restricted

# # If you get GPG errors with this sources.list, locate the GPG key in this file
# # and run these commands (where KEY is replaced with that key)
# #
# # gpg --keyserver hkp://subkeys.pgp.net --recv-keys KEY
# # gpg --export --armor KEY | sudo apt-key add -
#Ubuntu Security
deb *archive.ubuntu.com/ubuntu/ feisty-security main restricted
deb-src *archive.ubuntu.com/ubuntu/ feisty-security main restricted
deb *archive.ubuntu.com/ubuntu/ feisty-security universe
deb-src *archive.ubuntu.com/ubuntu/ feisty-security universe
deb *archive.ubuntu.com/ubuntu/ feisty-security multiverse
deb-src *archive.ubuntu.com/ubuntu/ feisty-security multiverse

# # Ubuntu supported packages
# # GPG key: 437D05B5
deb *archive.ubuntu.com/ubuntu/ feisty main restricted
deb-src *archive.ubuntu.com/ubuntu/ feisty main restricted
deb *archive.ubuntu.com/ubuntu/ feisty-updates main restricted
deb-src *archive.ubuntu.com/ubuntu/ feisty-updates main restricted

#
# # Ubuntu community supported packages
# # GPG key: 437D05B5
deb *archive.ubuntu.com/ubuntu/ feisty universe multiverse
deb-src *archive.ubuntu.com/ubuntu/ feisty universe multiverse
deb *archive.ubuntu.com/ubuntu/ feisty-updates universe multiverse
deb-src *archive.ubuntu.com/ubuntu/ feisty-updates universe multiverse

# # Ubuntu backports project
# # GPG key: 437D05B5
deb *archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src *archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

#### Proposed Multiverse ####
deb *archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src *archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse


#### Canonical Commercial ####
deb *archive.canonical.com/ubuntu feisty-commercial main






installing even a driver is such a struggle,
im not able to make head or tail outta anythin.
eddie
eddie #10
May 8, 2007 at 1:26 AM
Do you have a working internet connection in Ubuntu?
S
slash_89 #11
May 8, 2007 at 9:19 AM
nope,
but i have a PPPOE based broadband, how do i set it up,
and plz help with the gpu drivers.
praka123
praka123 #12
May 8, 2007 at 9:30 AM
If u have lan card,try the command in terminal(Applications>Accessories>Terminal or right click anywhere on Desktop and open terminal):
Code:
:~$sudo  pppoeconf
press enter and give ur passwd.enter again
now u need to answer few questions.answer carefully.first username,password,then do u want connection starting automatically at boot time or not etc..
Now u can have internet.for internet switch off use "poff dsl-provider" command.for on, "pon dsl-provider"

Now with internet connection "on"..try this:
in menu System>Administration>Synaptic Package Manager this will open a nice gui package manager which shows the installed and installable packages.
just search in synaptic(CTRL+F) nvidia and see the results.the packages @kalpik said also will be there.double click to install those packages.thats it.
I think u uses @freebirds /etc/apt/sources.list.it's fine.
M
mehulved #13
May 8, 2007 at 10:04 AM
After setting up the connection, just follow kalpik's first post.
S
slash_89 #14
May 8, 2007 at 11:58 AM
worked perfectly,
thnx a ton everyone,

but when i try to play 3d chess it tells me opengl isnt enabled,
so i should dwnload open from synaptic package manager right?

and when i downloaded bery thru the manager it doesnt get installed.
freebird
freebird #15
May 8, 2007 at 12:34 PM
Open GL must be enabled.for that check /etc/X11/xorg.conf
section "Module".check urs with below:
Code:
Section "Module"
        Load    "bitmap"
        Load    "dbe"
        Load    "dri"
        Load    "ddc"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
EndSection
so dri must be enabled too.check in synaptic for libgl1-mesa-dri whether installed if not install.edit xorg.conf Modules section to look as above
M
mehulved #16
May 8, 2007 at 1:19 PM
Did you restart the X server after installing the nvidia drivers and stuff? X server can be restarted by pressing ctrl + alt + backspace. But log out of your user account before doing so.
S
slash_89 #17
May 8, 2007 at 2:39 PM
i did wht u guys told me to do but it didnt work,
i get this message:-

"Your system does not have the required software to enable 3D mode. Please contact your system administrator and ask them to install the OpenGL Python bindings and the GtkGLExt Python bindings.

You are still able to play chess in 2D without these packages."

so wht now?

*and once i dnload a pcakage from synaptic how do i install it?*
M
mehulved #18
May 8, 2007 at 2:49 PM
Yeah get those 2 packages - OpenGL python bindings and GtkGLExt python bindings.
kalpik
kalpik #19
May 8, 2007 at 5:44 PM
Follow what's given in the link: *glchess.sourceforge.net/?q=node/7
amitava82
amitava82 #20
May 8, 2007 at 6:37 PM
there is some bug in in Chess. I've installed both the packages but still I'm getting same error msg.. bug report is already in launchpd.
S
slash_89 #21
May 8, 2007 at 9:57 PM
hey just a doubt,
i dwnloaded a package to install flash player, the file has a .run extension,
how do i install it?

and i dwnloaded gnome partition edito but it doesnt show up in system tools,
wat do i do?
eddie
eddie #22
May 9, 2007 at 12:36 AM
Install Flash Player from Add/Remove programs rather than through any randomly downloaded files.
kalpik
kalpik #23
May 9, 2007 at 10:34 AM
Or, you can just goto a page that requires flash, and firefox will automatically prompt you to install flash plugin. And gparted can be found under System->Administration.
amitava82
amitava82 #24
May 9, 2007 at 11:03 AM
.run files can be run using this command in terminal (considering the file is in your home folder),. If you needed to be root then prefix "sudo"
Code:
sh finename.run
simplest way is using Synaptic :)
T
May 16, 2007 at 9:48 PM
As much as I like using Linux, these kinds of problems are exactly why Windows is so popular.
QwertyManiac
May 16, 2007 at 10:24 PM
TheTerribleTwist said:
As much as I like using Linux, these kinds of problems are exactly why Windows is so popular.
Ahem, what problem? These kind of reasons are what drove me off Windows. You just can't figure what's wrong with them. Let us know your problem? :|
M
mehulved #27
May 17, 2007 at 12:53 AM
TheTerribleTwist said:
As much as I like using Linux, these kinds of problems are exactly why Windows is so popular.
Please forward this to nvidia and ati people. That's the only thing that could solve the problem.
The day they release their drivers under gpl compatible license instead of those binary blobs, you won't have anything more to complain on this.