Finding package names which contains a known file with apt
If you know a filename from a package which you want to install, you can use apt-file utility to find package names. apt-file searchs within both of the installed and not installed packages for files that you may need. For example if you want to find package name which contains stdio.h file:
apt-file search stdio.h
If you're using the first time, apt-file needs to be index package contents with:
apt-file update
If you're not interested about package names which are not installed your system but you want to learn which packages provides your installed stdio.h file, dpkg comes to help:
dpkg -S stdio.h
- 0 Comment
- Murat Demirten
- 01 May 2008, 20:58
-
You must be login first or sign-up for an account to post comments.
USERBOX
CATEGORIES
MOST READ TODAY
- Enabling remote desktop on a VirtualBox Machine
- Syntax highlighting in less
- Redirecting tcp / udp ports with socat
- XFS Filesystem has duplicate UUID problem
- Passwordless sudo setup
- Disabling reverse dns lookups in ssh
- dropbear rsa key problem
- Users with /bin/false shell to login on vsftpd
- Routing packets back from incoming interface
- Remove all frozen messages from exim mail queue
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
