Installing Nvidia driver in Wheezy...Can someone explain this code?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Installing Nvidia driver in Wheezy...Can someone explain this code?
I'm setting up a Mythtv box at home using Debian Wheezy and I wanted the Nvidia drivers for VDPAU. In the past, I have installed Nvidia drivers manually downloaded from the Nvidia web site. This time, I found the following line of code from the Debian wiki:
To my surprise, this worked in one step. Upon reboot, the Nouveau driver was blacklisted and the Nvidia driver was installed and working.
I'm posting this with the hope that I can learn something, because I don't understand what the code above is doing. It seems I will never progress from being a newbie. I understand that the command is to install linux-headers for the currently installed kernel. What I don't understand is what the sed command is doing? Can someone break it down?
Might the method suggested by the wiki be advantageous because it installs the metapackage rather than the package for the specific kernel installed at that point in time? I have to say I don't want to go through the hassle of testing it but I wondered whether installing the package specific to the installed kernel may mean it is not updated when the kernel is?
Might the method suggested by the wiki be advantageous because it installs the metapackage rather than the package for the specific kernel installed at that point in time? I have to say I don't want to go through the hassle of testing it but I wondered whether installing the package specific to the installed kernel may mean it is not updated when the kernel is?
You're absolutely right. I keep forgetting about the meta packages as I always run off my own kernels.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.