Apt install package but without source files
Clash 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
apt package-management
add a comment |Â
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
apt package-management
1
what doesls /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
add a comment |Â
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
apt package-management
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
apt package-management
edited 18 mins ago
asked 29 mins ago


Frank Wang
447
447
1
what doesls /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
add a comment |Â
1
what doesls /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
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
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.
answered 17 mins ago


Byte Commander
60.9k26162274
60.9k26162274
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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