Posted on December 21st, 2007 by linux
error: linux/config.h: No such file or directory
Problems with source code compilation are very common. Usually it is because missing files or packages as in example above.
To Search for package which contains config.h files is very easy:
first install apt-file
apt-get install apt-file
then update apt-file
apt-file update
All you need to do is now instruct apt-file command to search for [...]
Filed under: Administration, Debian, Fedora, Linux | No Comments »
Posted on December 21st, 2007 by linux
yum - Red Hat tool for RPM package management used to download, install update, erase or list info about system packages
/etc/yum.repos.d/ -> list of configured repositories (web or ftp sites) that will be searched to download and install RPM packages
To view which repositories you have enabled:
yum repolist enabled
repo id [...]
Filed under: Administration, Commands, Fedora, Linux | 1 Comment »
Posted on December 21st, 2007 by linux
To list all packages installed on your linux RPM ( NOT DEB ) system use rpm command as follows:
rpm -qa | grep <package_name>
where -q is option for query packages and -a is to list them all. This method is just for Red Hat Package management and can not be applied on Debian derived distributions.
Example:
rpm -qa [...]
Filed under: Administration, Linux | No Comments »