There are two ways to do this:
1 - When you include an attachment in a discussion post, the system automatically places it in the library
2 - Upload a file directly into the Library. You can do this by clicking the 'Create New Entry' button and going through the upload process.