How do I install the listings package manually ?. With other packages I used to download all the files needed and copied in the right folders and then refreshing the packages and it worked perfectly, but some of the files I need now for this package is listings.sty and lstlang1.sty, but I don't find them anywhere on the net , the folders contain anything but those files. Any help would be appreciated
You definitely should install the latest version of MiKTeX.I suggestyou first make a list of the installed packages with your present version. Then go toMiKTeX's download page, wher you'll can choose between a basis installer (32bit) or a basic installer (64bit). Download the one you want and follow the instructions.
When installation is finished, launch the
package manager to add the packages you're interested in that are not part of the basic installation. It's not important if you forget to install some of them: if they're used in the preamble of one of your files, they will be downloaded on the fly when compiling.
If you don't want to install a new version of MiKTeX, you could download from CTAN a ready-to-install package
listings-tds-zip (such files are to be found in the
install directory). However such a file has not been made, but you can download the (almost) equivalent from MiKTeX's directory on CTAN, say here.
listings.tar.lzma in a directory of your choice, and uncompress it; you get a
listings.tar file, uncompress this last one and you copy the contents of the resulting
texmf directory at the root of your
TeXMFLocalroot. If you don't have one, create it first, wherever you please, and declare it a root via
MiKTeX options (root tab):
Finally refresh the FNDB. Lisings is now ready to use.