how to check if i have "sqlite3-dev"
It totally depends on which Linux distribution you use - Fedora, Suse, Ubuntu, Gentoo, Mandrake, or some other dozen; There are several packaging strategies and tools used to check which packages are available, get more, etc.
Therefore, never ask questions about checking, receiving, or configuring packages on Linux without specifying the [s] distribution of interest, which makes it impossible to provide exact, specific help.
Edit : the easiest way to find out details about your Linux distribution (works on all the ones that I have to try, but I don't have a particularly wide array ... ;-):
$ cat /etc/*-release DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION="Ubuntu 8.04.2" DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 ...etc, etc...
It will probably be the contents of the /etc/lsb-release file, but I suggest *-release , because I think there may be other similar files.
Of course, if the need to check your distribution is applied inside a file or program, reading this file (or files) and defining specific content will also be feasible; but in order to inform potential helpers about which distribution you are using, cat on the command line will be sufficient; -).
source share