How could I have figured that out for myself (other than asking this question here)? Can I somehow tell apt-get to list all packages, and grep for ssl? Or do I need to know the 'lib*-dev' naming convention?
C - devel - ubuntu 18.04 openssl dev. How do I install the OpenSSL libraries on Ubuntu? How do I install the OpenSSL C library on Ubuntu 10.04 LTS? Auto tuning guitar pegs. I did a man g and (under 'Options for Linking') for the -l option it states: ' The linker searches a standard list of directories for the library.' And 'The directories searched include.
Autotune rap apk app. If you're linking with -lfoo
then the library is likely libfoo.so
. The library itself is probably part of the libfoo
package, and the headers are in the libfoo-dev
package as you've discovered.
Some people use the GUI 'synaptic' app (sudo synaptic
) to (locate and) install packages, but I prefer to use the command line. One thing that makes it easier to find the right package from the command line is the fact that apt-get
supports bash completion.
Try typing sudo apt-get install libssl
and then hit tab to see a list of matching package names (which can help when you need to select the correct version of a package that has multiple versions or other variations available).
Bash completion is actually very useful.. for example, you can also get a list of commands that apt-get
supports by typing sudo apt-get
and then hitting tab.
I'm trying to build some code on Ubuntu 10.04 LTS that uses OpenSSL 1.0.0. When I run make, it invokes g++ with the '-lssl' option. The source includes:
I ran:
But I guess the openssl package doesn't include the library. I get these errors on make:
How do I install the OpenSSL C++ library on Ubuntu 10.04 LTS?
I did a man g++
and (under 'Options for Linking') for the -l option it states: ' The linker searches a standard list of directories for the library..' and 'The directories searched include several standard system directories..' What are those standard system directories?