Downgrade to kernel 4.4 in ubuntu

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I was trying to install cuda 9.1 in my Ubuntu 16.04 but it gives me error that kernel source path not found.



After wasting much time I got to know that the kernel should be 4.4 to install cuda 9.1 in Ubuntu 16.04 (according to http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html).



My kernel is 4.13.something, how can I downgrade to 4.4?



I just fresh installed Ubuntu by taking iso image from Ubuntu's website. I didn't upgrade the kernel myself, it was the default one.










share|improve this question























  • Possible duplicate: askubuntu.com/questions/654094/…?
    – NerdOfCode
    Mar 18 at 0:45










  • Please note that you will also need to downgrade gcc and glibc. I suspect you'd be better off to just download and install Ubuntu 16.04.1 that comes with kernel version 4.4 be default.
    – chili555
    Mar 18 at 1:22










  • Interesting that you would need to downgrade the kernel. I just followed those directions and it worked fine. Xubuntu 16.04.4, 4.13.0-37-generic and Cuda compilation tools, release 9.1, V9.1.85
    – Terrance
    Mar 18 at 1:44











  • Do you have the Linux Headers installed for your kernel? sudo apt install linux-headers-$(uname -r) or try installing the linux-headers-generic Those directories that are created when the headers are installed is where the kernel source files go normally found in the /usr/src/ folder.
    – Terrance
    Mar 18 at 5:09










  • @Terrance yes I did that, it didn't help
    – Usman Mahmood
    Mar 18 at 5:15














up vote
0
down vote

favorite












I was trying to install cuda 9.1 in my Ubuntu 16.04 but it gives me error that kernel source path not found.



After wasting much time I got to know that the kernel should be 4.4 to install cuda 9.1 in Ubuntu 16.04 (according to http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html).



My kernel is 4.13.something, how can I downgrade to 4.4?



I just fresh installed Ubuntu by taking iso image from Ubuntu's website. I didn't upgrade the kernel myself, it was the default one.










share|improve this question























  • Possible duplicate: askubuntu.com/questions/654094/…?
    – NerdOfCode
    Mar 18 at 0:45










  • Please note that you will also need to downgrade gcc and glibc. I suspect you'd be better off to just download and install Ubuntu 16.04.1 that comes with kernel version 4.4 be default.
    – chili555
    Mar 18 at 1:22










  • Interesting that you would need to downgrade the kernel. I just followed those directions and it worked fine. Xubuntu 16.04.4, 4.13.0-37-generic and Cuda compilation tools, release 9.1, V9.1.85
    – Terrance
    Mar 18 at 1:44











  • Do you have the Linux Headers installed for your kernel? sudo apt install linux-headers-$(uname -r) or try installing the linux-headers-generic Those directories that are created when the headers are installed is where the kernel source files go normally found in the /usr/src/ folder.
    – Terrance
    Mar 18 at 5:09










  • @Terrance yes I did that, it didn't help
    – Usman Mahmood
    Mar 18 at 5:15












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I was trying to install cuda 9.1 in my Ubuntu 16.04 but it gives me error that kernel source path not found.



After wasting much time I got to know that the kernel should be 4.4 to install cuda 9.1 in Ubuntu 16.04 (according to http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html).



My kernel is 4.13.something, how can I downgrade to 4.4?



I just fresh installed Ubuntu by taking iso image from Ubuntu's website. I didn't upgrade the kernel myself, it was the default one.










share|improve this question















I was trying to install cuda 9.1 in my Ubuntu 16.04 but it gives me error that kernel source path not found.



After wasting much time I got to know that the kernel should be 4.4 to install cuda 9.1 in Ubuntu 16.04 (according to http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html).



My kernel is 4.13.something, how can I downgrade to 4.4?



I just fresh installed Ubuntu by taking iso image from Ubuntu's website. I didn't upgrade the kernel myself, it was the default one.







drivers nvidia kernel cuda






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 18 at 0:09









pomsky

23.1k77299




23.1k77299










asked Mar 17 at 23:59









Usman Mahmood

1




1











  • Possible duplicate: askubuntu.com/questions/654094/…?
    – NerdOfCode
    Mar 18 at 0:45










  • Please note that you will also need to downgrade gcc and glibc. I suspect you'd be better off to just download and install Ubuntu 16.04.1 that comes with kernel version 4.4 be default.
    – chili555
    Mar 18 at 1:22










  • Interesting that you would need to downgrade the kernel. I just followed those directions and it worked fine. Xubuntu 16.04.4, 4.13.0-37-generic and Cuda compilation tools, release 9.1, V9.1.85
    – Terrance
    Mar 18 at 1:44











  • Do you have the Linux Headers installed for your kernel? sudo apt install linux-headers-$(uname -r) or try installing the linux-headers-generic Those directories that are created when the headers are installed is where the kernel source files go normally found in the /usr/src/ folder.
    – Terrance
    Mar 18 at 5:09










  • @Terrance yes I did that, it didn't help
    – Usman Mahmood
    Mar 18 at 5:15
















  • Possible duplicate: askubuntu.com/questions/654094/…?
    – NerdOfCode
    Mar 18 at 0:45










  • Please note that you will also need to downgrade gcc and glibc. I suspect you'd be better off to just download and install Ubuntu 16.04.1 that comes with kernel version 4.4 be default.
    – chili555
    Mar 18 at 1:22










  • Interesting that you would need to downgrade the kernel. I just followed those directions and it worked fine. Xubuntu 16.04.4, 4.13.0-37-generic and Cuda compilation tools, release 9.1, V9.1.85
    – Terrance
    Mar 18 at 1:44











  • Do you have the Linux Headers installed for your kernel? sudo apt install linux-headers-$(uname -r) or try installing the linux-headers-generic Those directories that are created when the headers are installed is where the kernel source files go normally found in the /usr/src/ folder.
    – Terrance
    Mar 18 at 5:09










  • @Terrance yes I did that, it didn't help
    – Usman Mahmood
    Mar 18 at 5:15















Possible duplicate: askubuntu.com/questions/654094/…?
– NerdOfCode
Mar 18 at 0:45




Possible duplicate: askubuntu.com/questions/654094/…?
– NerdOfCode
Mar 18 at 0:45












Please note that you will also need to downgrade gcc and glibc. I suspect you'd be better off to just download and install Ubuntu 16.04.1 that comes with kernel version 4.4 be default.
– chili555
Mar 18 at 1:22




Please note that you will also need to downgrade gcc and glibc. I suspect you'd be better off to just download and install Ubuntu 16.04.1 that comes with kernel version 4.4 be default.
– chili555
Mar 18 at 1:22












Interesting that you would need to downgrade the kernel. I just followed those directions and it worked fine. Xubuntu 16.04.4, 4.13.0-37-generic and Cuda compilation tools, release 9.1, V9.1.85
– Terrance
Mar 18 at 1:44





Interesting that you would need to downgrade the kernel. I just followed those directions and it worked fine. Xubuntu 16.04.4, 4.13.0-37-generic and Cuda compilation tools, release 9.1, V9.1.85
– Terrance
Mar 18 at 1:44













Do you have the Linux Headers installed for your kernel? sudo apt install linux-headers-$(uname -r) or try installing the linux-headers-generic Those directories that are created when the headers are installed is where the kernel source files go normally found in the /usr/src/ folder.
– Terrance
Mar 18 at 5:09




Do you have the Linux Headers installed for your kernel? sudo apt install linux-headers-$(uname -r) or try installing the linux-headers-generic Those directories that are created when the headers are installed is where the kernel source files go normally found in the /usr/src/ folder.
– Terrance
Mar 18 at 5:09












@Terrance yes I did that, it didn't help
– Usman Mahmood
Mar 18 at 5:15




@Terrance yes I did that, it didn't help
– Usman Mahmood
Mar 18 at 5:15















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1016876%2fdowngrade-to-kernel-4-4-in-ubuntu%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1016876%2fdowngrade-to-kernel-4-4-in-ubuntu%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

What makes Checkinstall packages not suitable for distribution?

Running the scala interactive shell from the command line