Install linux-headers

Moderators: odroid, mdrjr

Install linux-headers

Unread postby hahne9 » Sun Nov 13, 2016 7:18 pm

Hi,

I have the new ubuntu 16.04 image and now I wanted to compile v3l-dvb. Therefore I need to install the linux-headers but if I execute
Code: Select all
sudo apt-get install linux-headers-$(uname -r)


I get

Code: Select all
E: Unable to locate package linux-headers-3.8.13.30
E: Couldn't find any package by glob 'linux-headers-3.8.13.30'
E: Couldn't find any package by regex 'linux-headers-3.8.13.30'


Can you tell me how to install these kernel headers?

Thanks a lot!
Johannes
hahne9
 
Posts: 1
Joined: Fri Jan 30, 2015 6:41 pm
languages_spoken: english
ODROIDs: U3

Re: Install linux-headers

Unread postby odroid » Sun Nov 13, 2016 8:14 pm

Download the full kernel source code since we don't supply separated kernel headers.
git clone --depth 1 https://github.com/hardkernel/linux.git -b odroid-3.8.y
User avatar
odroid
Site Admin
 
Posts: 27688
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Install linux-headers

Unread postby vschmidt » Thu Feb 23, 2017 2:29 am

Could you just simply produced the linux-headers package for each kernel so this isn't such a hassle for users?
Thanks.
vschmidt
 
Posts: 1
Joined: Mon Jun 29, 2015 9:09 am
languages_spoken: english
ODROIDs: XU3

Re: Install linux-headers

Unread postby meveric » Thu Feb 23, 2017 8:14 am

If you use my Kernels instead you'll have linux-image and linux-header packages you can use.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 8617
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: Install linux-headers

Unread postby tam1111574 » Fri Dec 29, 2017 6:04 pm

meveric wrote:If you use my Kernels instead you'll have linux-image and linux-header packages you can use.

In Odroid C2 i dont see the linux-header, How can I install it ? Because I need build some driver of wifi module. :D :D :D :D . thank you very much.
tam1111574
 
Posts: 103
Joined: Tue Jan 12, 2016 3:51 pm
languages_spoken: english
ODROIDs: oddroid xu4

Re: Install linux-headers

Unread postby mad_ady » Fri Dec 29, 2017 9:24 pm

On ubuntu try
Code: Select all
sudo apt-get install linux-headers-c2
User avatar
mad_ady
 
Posts: 3637
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2

Re: Install linux-headers

Unread postby meveric » Sat Dec 30, 2017 12:22 am

tam1111574 wrote:
meveric wrote:If you use my Kernels instead you'll have linux-image and linux-header packages you can use.

In Odroid C2 i dont see the linux-header, How can I install it ? Because I need build some driver of wifi module. :D :D :D :D . thank you very much.

On my Debian images or from my repository with:
Code: Select all
apt-get install linux-headers-arm64-odroid-c2
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 8617
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: Install linux-headers

Unread postby tam1111574 » Wed Jan 03, 2018 10:15 am

mad_ady wrote:On ubuntu try
Code: Select all
sudo apt-get install linux-headers-c2


Thank for your reply :D :D but I can't install linux header with command sudo apt-get install linux-headers-c2
It shows "E: Unable to locate package linux-headers-c2". I use ubuntu 16.04.3. :D :D
tam1111574
 
Posts: 103
Joined: Tue Jan 12, 2016 3:51 pm
languages_spoken: english
ODROIDs: oddroid xu4

Re: Install linux-headers

Unread postby odroid » Wed Jan 03, 2018 10:31 am

It works on my C2.
Code: Select all
odroid@odroid64:~$ uname -a
Linux odroid64 3.14.79-116 #1 SMP PREEMPT Tue Sep 26 01:19:06 BRT 2017 aarch64 aarch64 aarch64 GNU/Linux
odroid@odroid64:~$ sudo apt install linux-headers-c2                           
[sudo] password for odroid:                                                     
Reading package lists... Done                                                   
Building dependency tree                                                       
Reading state information... Done                                               
The following additional packages will be installed:                           
  linux-headers-3.14.79-116                                                     
The following NEW packages will be installed:                                   
  linux-headers-3.14.79-116 linux-headers-c2                                   
0 upgraded, 2 newly installed, 0 to remove and 5 not upgraded.                 
Need to get 6,636 kB of archives.                                               
After this operation, 42.8 MB of additional disk space will be used. 


I'm running this Ubuntu 16.04.3 image.
https://wiki.odroid.com/odroid-c2/os_images/ubuntu/v2.4
User avatar
odroid
Site Admin
 
Posts: 27688
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Install linux-headers

Unread postby tam1111574 » Wed Jan 24, 2018 10:37 am

Thank odroid. I can build with driver not use linux header. but i have a question, My product use Odroid XU4 kernel version 3.10.92. Now we need compile some driver and update for my product but I can't find linux-header and kerne l source version 3.10.92. I know if i update kernel this problem can resolve but we want not update kernel. Can you help me Odroid ?. :D. Can you give me kernel source version 3.10.92 ?.. Thank you very much..
tam1111574
 
Posts: 103
Joined: Tue Jan 12, 2016 3:51 pm
languages_spoken: english
ODROIDs: oddroid xu4

Re: Install linux-headers

Unread postby odroid » Wed Jan 24, 2018 10:43 am

We are in the U3 sub-forum.
Post your question on the XU4 Ubuntu sub-forum.
User avatar
odroid
Site Admin
 
Posts: 27688
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Install linux-headers

Unread postby tam1111574 » Wed Jan 24, 2018 11:06 am

Oki oki :D
tam1111574
 
Posts: 103
Joined: Tue Jan 12, 2016 3:51 pm
languages_spoken: english
ODROIDs: oddroid xu4


Return to Ubuntu

Who is online

Users browsing this forum: No registered users and 0 guests