Apt install package but without source files

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











up vote
2
down vote

favorite












These are what I type:



apt install libkrb5-dev


After installed successful, I can't find "/usr/include/gssapi.h", which expected installed on last command.



# apt-file list libkrb5-dev
libkrb5-dev: /usr/bin/krb5-config
libkrb5-dev: /usr/include/gssapi.h
libkrb5-dev: /usr/include/gssapi/gssapi.h
libkrb5-dev: /usr/include/gssapi/gssapi_ext.h
# locate gssapi.h
#


I was using ubuntu 18.10 cosmic and package files list is here.



Who can tell me why headers file is not installed? And more How to fix it?



Thx.



=======================================================================



root@zfs-gitlab-ci:~# ls /usr/include
aio.h c++ endian.h fmtmsg.h gnu-versions.h kdb.h locale.h mtd netpacket proc_service.h reglib shadow.h string.h tgmath.h utmp.h xfs
aliases.h com_err.h envz.h fnmatch.h grp.h krb5 malloc.h net netrom profile.h resolv.h signal.h strings.h thread_db.h utmpx.h
alloca.h complex.h err.h fstab.h gshadow.h krb5.h math.h netash netrose protocols rpc sound stropts.h threads.h values.h
argp.h cpio.h errno.h fts.h gssapi langinfo.h mcheck.h netatalk nfs pthread.h rpcsvc spawn.h sudo_plugin.h time.h video
argz.h crypt.h error.h ftw.h gssapi.h lastlog.h memory.h netax25 nl_types.h pty.h sched.h stab.h syscall.h ttyent.h wait.h
ar.h ctype.h et gawkapi.h gssrpc libgen.h misc netdb.h nss.h pwd.h scsi stdc-predef.h sysexits.h uchar.h wchar.h
arpa dirent.h execinfo.h gconv.h iconv.h libintl.h mit-krb5 neteconet obstack.h rdma search.h stdint.h syslog.h ucontext.h wctype.h
asm-generic dlfcn.h fcntl.h getopt.h ifaddrs.h limits.h mntent.h netinet paths.h re_comp.h semaphore.h stdio_ext.h tar.h ulimit.h wordexp.h
assert.h drm features.h glob.h inttypes.h link.h monetary.h netipx poll.h regex.h setjmp.h stdio.h termio.h unistd.h x86_64-linux-gnu
byteswap.h elf.h fenv.h gnumake.h kadm5 linux mqueue.h netiucv printf.h regexp.h sgtty.h stdlib.h termios.h utime.h xen









share|improve this question



















  • 1




    what does ls /usr/include/ display?
    – singrium
    25 mins ago










  • @singrium directory exist.
    – Frank Wang
    19 mins ago






  • 1




    As I can see, the file exists 'gssapi.h' too.
    – singrium
    17 mins ago














up vote
2
down vote

favorite












These are what I type:



apt install libkrb5-dev


After installed successful, I can't find "/usr/include/gssapi.h", which expected installed on last command.



# apt-file list libkrb5-dev
libkrb5-dev: /usr/bin/krb5-config
libkrb5-dev: /usr/include/gssapi.h
libkrb5-dev: /usr/include/gssapi/gssapi.h
libkrb5-dev: /usr/include/gssapi/gssapi_ext.h
# locate gssapi.h
#


I was using ubuntu 18.10 cosmic and package files list is here.



Who can tell me why headers file is not installed? And more How to fix it?



Thx.



=======================================================================



root@zfs-gitlab-ci:~# ls /usr/include
aio.h c++ endian.h fmtmsg.h gnu-versions.h kdb.h locale.h mtd netpacket proc_service.h reglib shadow.h string.h tgmath.h utmp.h xfs
aliases.h com_err.h envz.h fnmatch.h grp.h krb5 malloc.h net netrom profile.h resolv.h signal.h strings.h thread_db.h utmpx.h
alloca.h complex.h err.h fstab.h gshadow.h krb5.h math.h netash netrose protocols rpc sound stropts.h threads.h values.h
argp.h cpio.h errno.h fts.h gssapi langinfo.h mcheck.h netatalk nfs pthread.h rpcsvc spawn.h sudo_plugin.h time.h video
argz.h crypt.h error.h ftw.h gssapi.h lastlog.h memory.h netax25 nl_types.h pty.h sched.h stab.h syscall.h ttyent.h wait.h
ar.h ctype.h et gawkapi.h gssrpc libgen.h misc netdb.h nss.h pwd.h scsi stdc-predef.h sysexits.h uchar.h wchar.h
arpa dirent.h execinfo.h gconv.h iconv.h libintl.h mit-krb5 neteconet obstack.h rdma search.h stdint.h syslog.h ucontext.h wctype.h
asm-generic dlfcn.h fcntl.h getopt.h ifaddrs.h limits.h mntent.h netinet paths.h re_comp.h semaphore.h stdio_ext.h tar.h ulimit.h wordexp.h
assert.h drm features.h glob.h inttypes.h link.h monetary.h netipx poll.h regex.h setjmp.h stdio.h termio.h unistd.h x86_64-linux-gnu
byteswap.h elf.h fenv.h gnumake.h kadm5 linux mqueue.h netiucv printf.h regexp.h sgtty.h stdlib.h termios.h utime.h xen









share|improve this question



















  • 1




    what does ls /usr/include/ display?
    – singrium
    25 mins ago










  • @singrium directory exist.
    – Frank Wang
    19 mins ago






  • 1




    As I can see, the file exists 'gssapi.h' too.
    – singrium
    17 mins ago












up vote
2
down vote

favorite









up vote
2
down vote

favorite











These are what I type:



apt install libkrb5-dev


After installed successful, I can't find "/usr/include/gssapi.h", which expected installed on last command.



# apt-file list libkrb5-dev
libkrb5-dev: /usr/bin/krb5-config
libkrb5-dev: /usr/include/gssapi.h
libkrb5-dev: /usr/include/gssapi/gssapi.h
libkrb5-dev: /usr/include/gssapi/gssapi_ext.h
# locate gssapi.h
#


I was using ubuntu 18.10 cosmic and package files list is here.



Who can tell me why headers file is not installed? And more How to fix it?



Thx.



=======================================================================



root@zfs-gitlab-ci:~# ls /usr/include
aio.h c++ endian.h fmtmsg.h gnu-versions.h kdb.h locale.h mtd netpacket proc_service.h reglib shadow.h string.h tgmath.h utmp.h xfs
aliases.h com_err.h envz.h fnmatch.h grp.h krb5 malloc.h net netrom profile.h resolv.h signal.h strings.h thread_db.h utmpx.h
alloca.h complex.h err.h fstab.h gshadow.h krb5.h math.h netash netrose protocols rpc sound stropts.h threads.h values.h
argp.h cpio.h errno.h fts.h gssapi langinfo.h mcheck.h netatalk nfs pthread.h rpcsvc spawn.h sudo_plugin.h time.h video
argz.h crypt.h error.h ftw.h gssapi.h lastlog.h memory.h netax25 nl_types.h pty.h sched.h stab.h syscall.h ttyent.h wait.h
ar.h ctype.h et gawkapi.h gssrpc libgen.h misc netdb.h nss.h pwd.h scsi stdc-predef.h sysexits.h uchar.h wchar.h
arpa dirent.h execinfo.h gconv.h iconv.h libintl.h mit-krb5 neteconet obstack.h rdma search.h stdint.h syslog.h ucontext.h wctype.h
asm-generic dlfcn.h fcntl.h getopt.h ifaddrs.h limits.h mntent.h netinet paths.h re_comp.h semaphore.h stdio_ext.h tar.h ulimit.h wordexp.h
assert.h drm features.h glob.h inttypes.h link.h monetary.h netipx poll.h regex.h setjmp.h stdio.h termio.h unistd.h x86_64-linux-gnu
byteswap.h elf.h fenv.h gnumake.h kadm5 linux mqueue.h netiucv printf.h regexp.h sgtty.h stdlib.h termios.h utime.h xen









share|improve this question















These are what I type:



apt install libkrb5-dev


After installed successful, I can't find "/usr/include/gssapi.h", which expected installed on last command.



# apt-file list libkrb5-dev
libkrb5-dev: /usr/bin/krb5-config
libkrb5-dev: /usr/include/gssapi.h
libkrb5-dev: /usr/include/gssapi/gssapi.h
libkrb5-dev: /usr/include/gssapi/gssapi_ext.h
# locate gssapi.h
#


I was using ubuntu 18.10 cosmic and package files list is here.



Who can tell me why headers file is not installed? And more How to fix it?



Thx.



=======================================================================



root@zfs-gitlab-ci:~# ls /usr/include
aio.h c++ endian.h fmtmsg.h gnu-versions.h kdb.h locale.h mtd netpacket proc_service.h reglib shadow.h string.h tgmath.h utmp.h xfs
aliases.h com_err.h envz.h fnmatch.h grp.h krb5 malloc.h net netrom profile.h resolv.h signal.h strings.h thread_db.h utmpx.h
alloca.h complex.h err.h fstab.h gshadow.h krb5.h math.h netash netrose protocols rpc sound stropts.h threads.h values.h
argp.h cpio.h errno.h fts.h gssapi langinfo.h mcheck.h netatalk nfs pthread.h rpcsvc spawn.h sudo_plugin.h time.h video
argz.h crypt.h error.h ftw.h gssapi.h lastlog.h memory.h netax25 nl_types.h pty.h sched.h stab.h syscall.h ttyent.h wait.h
ar.h ctype.h et gawkapi.h gssrpc libgen.h misc netdb.h nss.h pwd.h scsi stdc-predef.h sysexits.h uchar.h wchar.h
arpa dirent.h execinfo.h gconv.h iconv.h libintl.h mit-krb5 neteconet obstack.h rdma search.h stdint.h syslog.h ucontext.h wctype.h
asm-generic dlfcn.h fcntl.h getopt.h ifaddrs.h limits.h mntent.h netinet paths.h re_comp.h semaphore.h stdio_ext.h tar.h ulimit.h wordexp.h
assert.h drm features.h glob.h inttypes.h link.h monetary.h netipx poll.h regex.h setjmp.h stdio.h termio.h unistd.h x86_64-linux-gnu
byteswap.h elf.h fenv.h gnumake.h kadm5 linux mqueue.h netiucv printf.h regexp.h sgtty.h stdlib.h termios.h utime.h xen






apt package-management






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 18 mins ago

























asked 29 mins ago









Frank Wang

447




447







  • 1




    what does ls /usr/include/ display?
    – singrium
    25 mins ago










  • @singrium directory exist.
    – Frank Wang
    19 mins ago






  • 1




    As I can see, the file exists 'gssapi.h' too.
    – singrium
    17 mins ago












  • 1




    what does ls /usr/include/ display?
    – singrium
    25 mins ago










  • @singrium directory exist.
    – Frank Wang
    19 mins ago






  • 1




    As I can see, the file exists 'gssapi.h' too.
    – singrium
    17 mins ago







1




1




what does ls /usr/include/ display?
– singrium
25 mins ago




what does ls /usr/include/ display?
– singrium
25 mins ago












@singrium directory exist.
– Frank Wang
19 mins ago




@singrium directory exist.
– Frank Wang
19 mins ago




1




1




As I can see, the file exists 'gssapi.h' too.
– singrium
17 mins ago




As I can see, the file exists 'gssapi.h' too.
– singrium
17 mins ago










1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










locate is not a real-time search, but uses a file database that gets updated automatically once per day. Therefore it will not display any files that you just installed moments ago.



You can manually update locate's database using:



sudo updatedb


After you ran that, locate should know about all existing files at that point and correctly display the newly installed files.



Other than that, you can use other tools like ls /usr/include/gssapi.h to check if that file is existing.






share|improve this answer




















    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: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    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%2f1090450%2fapt-install-package-but-without-source-files%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    3
    down vote



    accepted










    locate is not a real-time search, but uses a file database that gets updated automatically once per day. Therefore it will not display any files that you just installed moments ago.



    You can manually update locate's database using:



    sudo updatedb


    After you ran that, locate should know about all existing files at that point and correctly display the newly installed files.



    Other than that, you can use other tools like ls /usr/include/gssapi.h to check if that file is existing.






    share|improve this answer
























      up vote
      3
      down vote



      accepted










      locate is not a real-time search, but uses a file database that gets updated automatically once per day. Therefore it will not display any files that you just installed moments ago.



      You can manually update locate's database using:



      sudo updatedb


      After you ran that, locate should know about all existing files at that point and correctly display the newly installed files.



      Other than that, you can use other tools like ls /usr/include/gssapi.h to check if that file is existing.






      share|improve this answer






















        up vote
        3
        down vote



        accepted







        up vote
        3
        down vote



        accepted






        locate is not a real-time search, but uses a file database that gets updated automatically once per day. Therefore it will not display any files that you just installed moments ago.



        You can manually update locate's database using:



        sudo updatedb


        After you ran that, locate should know about all existing files at that point and correctly display the newly installed files.



        Other than that, you can use other tools like ls /usr/include/gssapi.h to check if that file is existing.






        share|improve this answer












        locate is not a real-time search, but uses a file database that gets updated automatically once per day. Therefore it will not display any files that you just installed moments ago.



        You can manually update locate's database using:



        sudo updatedb


        After you ran that, locate should know about all existing files at that point and correctly display the newly installed files.



        Other than that, you can use other tools like ls /usr/include/gssapi.h to check if that file is existing.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 17 mins ago









        Byte Commander

        60.9k26162274




        60.9k26162274



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1090450%2fapt-install-package-but-without-source-files%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What does second last employer means? [closed]

            List of Gilmore Girls characters

            Confectionery