Thread: How to install a library?

  1. #1
    Registered User
    Join Date
    Dec 2011
    Posts
    4

    Question How to install a library?

    I am looking to install 'ncurses' and 'Qt' on my Ubuntu system. I have looked all over the Internet for instructions, and I could not understand the documentation. Could someone please explain to me how to work with external libraries? A good tutorial to them, just in case I get them installed would help, too. Thank you!

    Edit: In case anyone wanted to know why, I am trying to learn GUI programming, and I am also looking for an alternative to 'conio.h', which is not available in Linux.
    Last edited by doilin; 12-13-2011 at 04:02 PM. Reason: adding information

  2. #2
    Registered User
    Join Date
    May 2010
    Posts
    4,632
    You should be able to use your package manager to install both the ncurses and QT libraries. Make sure you also install the development packages if available.

    Jim

  3. #3
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Depending on the version of Ubuntu, you may not find it them by searching in the "Software Center".
    Try searching in the Synaptic Package Manager in that case.

    (If you want to build the libraries from source yourself, it is much more complicated ...and the instructions for it 'should' come with the package you've downloaded)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How To Install A New C Library on Linux
    By envec83 in forum C Programming
    Replies: 2
    Last Post: 04-17-2011, 04:04 PM
  2. Where to install my gmp.h library?
    By mattnp12 in forum C Programming
    Replies: 1
    Last Post: 05-29-2010, 07:58 PM
  3. Replies: 1
    Last Post: 08-16-2009, 05:49 AM
  4. Replies: 4
    Last Post: 05-01-2009, 02:12 AM
  5. Install library
    By Eavan Hyde in forum C++ Programming
    Replies: 1
    Last Post: 02-25-2004, 10:08 PM