[cstex] instalacia texlive 2011 pod ubuntu 10.04 - spusti sa stara verzia 2009

peter knezel peter.knezel at gmail.com
Mon Sep 12 23:32:21 CEST 2011


1.more /etc/enviroment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"


2.more profile
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ -d /etc/profile.d ]; then
  for i in /etc/profile.d/*.sh; do
    if [ -r $i ]; then
      . $i
    fi
  done
  unset i
fi

if [ "$PS1" ]; then
  if [ "$BASH" ]; then
    PS1='\u@\h:\w\$ '
    if [ -f /etc/bash.bashrc ]; then
    . /etc/bash.bashrc
    fi
  else
    if [ "`id -u`" -eq 0 ]; then
      PS1='# '
    else
      PS1='$ '
    fi
  fi
fi

umask 022

3.more .bash_profile
.bash_profile: No such file or directory

Hmm, ani to nepomohlo...

PK


2011/9/12 Zdenek Wagner <zdenek.wagner at gmail.com>

> 2011/9/12 peter knezel <peter.knezel at gmail.com>:
> > Spravil som ikonu s prikazom /usr/bin/texworks.
> >
> V tom pripade musite mit cestu v /etc/environment, /etc/profile nebo v
> ~/.bash_profile, protoze pri startu desktopu se ~/.bashrc vubec
> nepouzije. Krome toho se zminene soubory ctou pouze pri startu
> desktopu, takze az si to nastavite, musite se odlogovat a znovu
> nalogovat. (Je to vec Linuxu, nikoliv TeX Live, takze uplne stejne
> problemy budete mit i u jinych programu spoustenych ikonami a z menu
> Gnome ci KDE.)
>
> > PK
> >
> > 2011/9/12 Zdenek Wagner <zdenek.wagner at gmail.com>
> >>
> >> 2011/9/12 peter knezel <peter.knezel at gmail.com>:
> >> > Hmm,
> >> > pozeral som sa do .bashrc vo svojom domovskom adresari - skutocne tam
> >> > boli
> >> > riadky:
> >> > MANPATH=/home/<user>/TexLive2009pretest/texmf/doc/man
> >> > INFOPATH=/home/<user>/TexLive2009pretest/texmf/doc/infos
> >> > PATH=$PATH:/home/<user>/TexLive2009pretest/bin/i386-linux
> >> >
> >> > Tie som teraz zakomentoval a este predtym som odstranil vo svojom
> >> > domovskom
> >> > adresari staru verziu texlive:
> >> > sudo rm -Rf TexLive2009pretest
> >> >
> >> > Ale taktiez to nepomohlo. Ale vdaka za radu. Idem hladat dalej...
> >> >
> >> Jak spoustite texworks? Z terminalu, nebo nejakou ikonou z desktopu?
> >>
> >> > Peter Knezel
> >> >
> >> >
> >> >
> >> > 2011/9/12 Zdenek Wagner <zdenek.wagner at gmail.com>
> >> >>
> >> >> 2011/9/12 peter knezel <peter.knezel at gmail.com>:
> >> >> > Zdravim,
> >> >> >
> >> >> > rozhodol som sa, ze vyskusam instalaciu Texlive 2011 pod ubuntu
> >> >> > 10.04.
> >> >> > Instalacia prebehla z DVD v poriadku. (cez sudo ./install-tl.bat
> >> >> > --gui)
> >> >> >
> >> >> > Nastavil som aj premenne PATH, ...etc:
> >> >> > sudo vi /etc/bash.bashrc
> >> >> > add following in the end:
> >> >> >
> >> >> > PATH=/usr/local/texlive/2011/bin/i386-linux:$PATH; export PATH
> >> >> > MANPATH=/usr/local/texlive/2011/texmf/doc/man:$MANPATH; export
> >> >> > MANPATH
> >> >> > INFOPATH=/usr/local/texlive/2011/texmf/doc/info:$INFOPATH; export
> >> >> > INFOPATH
> >> >> >
> >> >> To vypada, ze nekde jinde (/etc/environment, bash_profile) je
> >> >> nastavena v PATH cesta k TL2009 (tuto verzi distribuuji debianni
> >> >> systemy) a TeXWorks poustite nejakou ikonou z desktopu nebo z menu. V
> >> >> takovem pripade se totiz nepouzije .bashrc.
> >> >>
> >> >> > Edit /etc/manpath.config via:
> >> >> > sudo vi /etc/manpath.config
> >> >> > under following :
> >> >> > # set up PATH to MANPATH mapping
> >> >> > add this line:
> >> >> > MANPATH_MAP /usr/local/texlive/2011/bin/i386-linux
> >> >> > /usr/local/texlive/2011/texmf
> >> >> > /doc/man
> >> >> >
> >> >> >
> >> >> >
> >> >> > Nainstaloval som potom Texworks Version 0.2.3 (r.466) cez Ubuntu
> >> >> > Software
> >> >> > Center.
> >> >> > Ked spustim ale cez Texworks kompilaciu suboru xxx.tex, spusti sa
> >> >> > stara
> >> >> > verzia (2009):
> >> >> >
> >> >> > This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
> >> >> >
> >> >> > entering extended mode
> >> >> >
> >> >> > (./leteng12sep2011.tex
> >> >> >
> >> >> > LaTeX2e <2009/09/24>
> >> >> >
> >> >> > Babel <v3.8l> and hyphenation patterns for english, usenglishmax,
> >> >> > dumylang,
> >> >> > noh
> >> >> >
> >> >> > yphenation, loaded.
> >> >> >
> >> >> > Ked spustim pdflatex xxx.tex v terminalovom okne - verzia je 2011:
> >> >> >
> >> >> > his is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
> >> >> > restricted \write18 enabled.
> >> >> > entering extended mode
> >> >> > (./leteng12sep2011.tex
> >> >> > LaTeX2e <2009/09/24>
> >> >> > Babel <v3.8l> and hyphenation patterns for english, dumylang,
> >> >> > nohyphenation,
> >> >> > ge
> >> >> > rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek,
> >> >> > ibycus,
> >> >> > arabi
> >> >> > c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian,
> >> >> > czech,
> >> >> > danis
> >> >> > h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic,
> >> >> > farsi,
> >> >> > finnis
> >> >> > h, french, galician, german, ngerman, swissgerman, monogreek,
> greek,
> >> >> > hungarian,
> >> >> > icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam,
> >> >> > marathi,
> >> >> > or
> >> >> > iya, panjabi, tamil, telugu, indonesian, interlingua, irish,
> italian,
> >> >> > kurmanji,
> >> >> > lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal,
> >> >> > nynorsk,
> >> >> > pol
> >> >> > ish, portuguese, romanian, russian, sanskrit, serbian, serbianc,
> >> >> > slovak,
> >> >> > sloven
> >> >> > ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian,
> >> >> > welsh,
> >> >> > loaded
> >> >> >
> >> >> > Kde moze byt chyba?
> >> >> >
> >> >> > Podobny problem je opisany s aplikaciou kile na stranke:
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> http://tex.stackexchange.com/questions/27721/versions-of-texlive-under-ubuntu
> >> >> >
> >> >> > S pozdravom,
> >> >> >
> >> >> > Peter Knezel
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > _______________________________________________
> >> >> > csTeX mailing list
> >> >> > csTeX at cs.felk.cvut.cz
> >> >> > http://lists.felk.cvut.cz/mailman/listinfo/cstex
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Zdeněk Wagner
> >> >> http://hroch486.icpf.cas.cz/wagner/
> >> >> http://icebearsoft.euweb.cz
> >> >>
> >> >> _______________________________________________
> >> >> csTeX mailing list
> >> >> csTeX at cs.felk.cvut.cz
> >> >> http://lists.felk.cvut.cz/mailman/listinfo/cstex
> >> >
> >> >
> >> > _______________________________________________
> >> > csTeX mailing list
> >> > csTeX at cs.felk.cvut.cz
> >> > http://lists.felk.cvut.cz/mailman/listinfo/cstex
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Zdeněk Wagner
> >> http://hroch486.icpf.cas.cz/wagner/
> >> http://icebearsoft.euweb.cz
> >>
> >> _______________________________________________
> >> csTeX mailing list
> >> csTeX at cs.felk.cvut.cz
> >> http://lists.felk.cvut.cz/mailman/listinfo/cstex
> >
> >
> > _______________________________________________
> > csTeX mailing list
> > csTeX at cs.felk.cvut.cz
> > http://lists.felk.cvut.cz/mailman/listinfo/cstex
> >
> >
>
>
>
> --
> Zdeněk Wagner
> http://hroch486.icpf.cas.cz/wagner/
> http://icebearsoft.euweb.cz
>
> _______________________________________________
> csTeX mailing list
> csTeX at cs.felk.cvut.cz
> http://lists.felk.cvut.cz/mailman/listinfo/cstex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.felk.cvut.cz/pipermail/cstex/attachments/20110912/15ff88d5/attachment-0003.html>


More information about the csTeX mailing list