LaTeX forum ⇒ TeX Live and MacTeXManual Package Installation (Linux Mint 12)

Information and discussion about TeX Live distribution for all platforms (Windows, Linux, Mac OS X) and the related MacTeX: installing, updating, configuring
munja72
Posts: 4
Joined: Fri Jan 06, 2012 12:24 am

Manual Package Installation (Linux Mint 12)

Postby munja72 » Fri Jan 06, 2012 1:44 am

Hello,

I've used Kile 2.1 under Ubuntu. Manually macro package installing I made as following:

  1. copy package into gedit and save as packagename.sty
  2. put package in same named folder
  3. copy folder to /usr/share/texmf/tex/latex
  4. typ in terminal
    1. $sudo mktexlsr
    , and that is it

Now I (try to) use Kile 2.1 under Linux Mint 12 and described procedure doesn't make any result. I'm bit confused, because Ubuntu and Mint are very similar distros. What I need to do for manually macro package installation in Linux Mint 12

thanks in advance

Link:
BBcode:
HTML:
Hide post links
Show post links

kaiserkarl13
Posts: 579
Joined: Tue Mar 25, 2008 5:02 pm
Location: Columbia, Missouri, USA

Postby kaiserkarl13 » Fri Jan 06, 2012 10:10 pm

Your texmf may be in a different directory now. See what "texconfig" reports it to be (try the "rehash" option and take note of the directories it tries to use).

You could also put your packages in a subdirectory of your home directory (I call mine "texmf"), then use it like this: "mktexlsr $HOME/texmf" (which does not require root access, and thus is preferable). Many distributions also support TEXINPUTS, BSTINPUTS, and BIBINPUTS (environment variables), which can point to your own files. For example:
export TEXINPUTS=".:$HOME/LaTeX/includes:"
(put in $HOME/.bashrc or whatever your shell's startup file is). The leading "." says "search current directory first"; the trailing colon says "search system locations if you can't find it anywhere else."

I don't run Mint (I'm a Fedora user), but if you tell me which TeX distribution you're using (e.g., TeXLIVE), someone might be of more specific help.

Link:
BBcode:
HTML:
Hide post links
Show post links

munja72
Posts: 4
Joined: Fri Jan 06, 2012 12:24 am

Postby munja72 » Sun Jan 08, 2012 12:48 pm

Hi,

I explore bit and I put my macro package folders to
  1. /usr/share/texmf-telive/tex/latex

and type command above in terminal.

It is working!

Thanks for the help!

Link:
BBcode:
HTML:
Hide post links
Show post links


Return to “TeX Live and MacTeX”

Who is online

Users browsing this forum: No registered users and 1 guest