Contents
The compiled library should go into /usr/local/lib. The . c file is not part of the library, it is part of the source and not something normally not installed for the use of the end user. You will need root access to put files in either of these locations.
Where are C libraries installed Linux?
Typically, libraries live in /lib and /usr/lib and headers live in /usr/include .
How do I see what libraries are installed on Ubuntu?
How do I see what packages are installed on Ubuntu Linux?
- Open the terminal application or log in to the remote server using ssh (e.g. ssh [email protected] )
- Run command apt list –installed to list all installed packages on Ubuntu.