I'm new to Linux and already finding it better than that other OS in many ways . Finding that I want to install some open source libraries to use with C. Never really had to do this before since in VS I never needed any extra libraries, and not famiiliar with the directory structure . My questions:
1. How can I be sure whether a library is already installed ?
2. Where should new libraries live? It looks like
Code: Select all
/usr/include
3. In particular I'm looking to install g2 :
http://g2.sourceforge.net/
which asks that I first install gd :
http://www.libgd.org/releases/
which in turn indicates that I first have to get installed:
zlib, available from http://www.gzip.org/zlib/
Data compression library
libpng, available from http://www.libpng.org/pub/png/
Portable Network Graphics library; requires zlib
FreeType 2.x, available from http://www.freetype.org/
Free, high-quality, and portable font engine
JPEG library, available from http://www.ijg.org/
Portable JPEG compression/decompression library
However, it turns out according to software/package mgr that I already have got something called zlib1g. Does this mean that I already have zlib and don't need to do anything about it?
4. These tend to have installation instructions that go something like
Is this the right way in Mint?From a released source, use:
1. Type './configure'
2. Type 'make install'
5. Well you can see I'm a confused newbie, so any other advice on this subject welcome.
fyi, system in use, not that it's really relevant:
amd 2-core chip 5.6GHz, dual boot Mint Isadora / Windows XP via grub, separate HDDs.
So far tried using geany and wrote Hello World ... that's as far as I've got. Going to try anjuta.
I appreciate the general sentiment of "try things out, cluck up your install" but I'd prefer not to cluck things up if I can avoid it. I already tried installing OpenOffice last night, not realising it came pre-installed, and that install failed because it didn't find things in /bin for some reason even though they were there, so it wasn't very encouraging.
Cheers in advance for your help.
Warwick