How to install a library?

This is a discussion on How to install a library? within the C++ Programming forums, part of the General Programming Boards category; I am looking to install 'ncurses' and 'Qt' on my Ubuntu system. I have looked all over the Internet for ...

  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
    2,917
    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
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,528
    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)
    Manasij Mukherjee | gcc-4.9.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



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, 05:04 PM
  2. Where to install my gmp.h library?
    By mattnp12 in forum C Programming
    Replies: 1
    Last Post: 05-29-2010, 08:58 PM
  3. Replies: 1
    Last Post: 08-16-2009, 06:49 AM
  4. Replies: 4
    Last Post: 05-01-2009, 03:12 AM
  5. Install library
    By Eavan Hyde in forum C++ Programming
    Replies: 1
    Last Post: 02-25-2004, 10:08 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21