I am using TexMaker on ubuntu 12.04 to edit my Latex-documents. Lately, I needed to create a chemical structure with 'chemfig'. However, this package is not included in the 'TexLive-all'-package and thus, I had to install it manually. Here's how I did it:
You should now be able to use the package in your Latex-editor. If not, a restart should help.