In Ubuntu 14.04.1, I am trying to get hold of some third-party libraries to link with my C++ project. From what I have gathered, there are generally several ways of acquiring such libraries:
(1) Downloading a package using Ubuntu Software Centre,
(2) Downloading a package using Aptitude,
(3) Downloading the source code from a repository (e.g. git) and compiling from source,
(4) Downloading a zipped folder containing the headers and libraries.
My question is, what issues arise with the package manager (Aptitude) if I download and install using (3) or (4) compared to downloading using (1) or (2). It seems that if I compile from source, or download the libraries directly in a zipped folder, then Aptitude will not be aware of this. As such, will there be issue when I subsequently come to updating or deleting the package? For example, if I compile from source, how can I easily then delete all the compiled library files (such as those in /usr/bin) without having to manually search through all these directories and locating them? If I downloaded the package from Aptitude, then I could just delete the entire package using