Thank you all for the sed regex explanation. What possible kernel
variations other than 'generic' are possible to require the sed
substitution?

After some googling, I've discovered that I'm actually compiling the nvidia
driver and hence the business with the Linux header.


On 12 November 2013 07:56, Alex Naysmith <yeoman.pyt...@gmail.com> wrote:

> From the nvidia install procedure is the following command:
>
> # aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
> nvidia-kernel-legacy-173xx-dkms
>
> I can see the pipe | symbol and the regular expressions but I don't really
> understand what this command is doing.
>
>
> Alex
>
>
> On 10 November 2013 21:44, Alex Naysmith <yeoman.pyt...@gmail.com> wrote:
>
>> After following the procedure at
>> https://wiki.debian.org/NvidiaGraphicsDrivers to install the
>> nvidia-glx-legacy-173xx package for my GeForce FX5550 card [Debian 7
>> "Wheezy"], I would like to know the best method to return to the nouveau
>> driver with the files from the glx-legacy-1733 package removed including
>> the /etc/X11/xorg.d directory. I think users would benefit from an
>> 'uninstall nvidia driver' wiki page.
>>
>> Regards
>>
>
>

Reply via email to