Installing/Adding new latex packages in ubuntu environment
Been using ubuntu for a while, here I made some notes on how to add/install new latex packages..
A. If the package in the sty format
1. create a new directory under tex tree
–> sudo mkdir /usr/share/texmf-texlive/tex/latex/<packagename>
2. copy the package inside the new directory
3, run the following command
–> sudo mktexlsr
B. if the package is not the sty format
1. Download <packagename>.ins and <packagename>.dtx (you need both)
2. Run the following command
–> latex <packagename>.ins
3. You will get the package in the sty format and you can follow instructions in A.
I hope this helps. Thanks to this page.
Categories: Justincase
Latex, linux, ubuntu

vanky… blognya serius sekali……….. penuh angka2 @-@…
smangat btw…
hehehe windy, emang kewajiban nie, harus serius, ga boleh santai-santai.. smangath juga dikau
thx for this!!!!
just what I needed!
Glad that I can help
That was very helpful. Thanks.
your welcome
cheers
but i still don’t have access to my new package !
what do suggest ?
thanks
Hmmm thinking, normally once I have done the above step (correctly) I switch to my latex code and use the package I have installed, for instance: suppose I want to install a package called ‘geometry’ then in my latex code i would type
\usepackage{geometry}
I hope this helps
wow..it is working nicely…thanks…