Instalasi TexLive 2015 di Lubuntu 14.04

Cara menginstall TeXLive 2015 menggunakan file ISO di Lubuntu 14.04.

  1. Download dulu file TeXLive 2015 ISO.
  2. Mount file ISO
    sudo mkdir /media/iso
    sudo mount -o loop /home/your_username/Downloads/TeXLive2015.iso /media/iso
    
  3. Let’s do it…
    cd /media/iso
    sudo ./install-tl
    

    tekan i untuk melanjutkan.

  4. “Welcome to TeX Live!” Instalasi selesai. Jangan lupa umount file ISO…
    cd ~
    sudo umount /media/iso
    
  5. Sekarang logout.. lalu login lagi.

Finalising the installation

  1. Sedikit tambahan..
    mkdir -p /opt
    sudo ln -s /usr/local/texlive/2015/bin/* /opt/texbin
    
  2. Edit file /etc/environment
    gksudo gedit /etc/environment
    

    ganti baris ini:

    PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
    

    menjadi:

    PATH="/opt/texbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
    

Fake packages

Fake packages diperlukan supaya Lubuntu tahu bahwa TeXLive sudah ada (sudah diinstall) dan tak perlu ikut diinstall lagi ketika menginstall editor latex (TexMaker, Texworks, etc).

sudo apt-get install equivs
mkdir -p /tmp/tl-equivs && cd /tmp/tl-equivs
wget http://www.tug.org/texlive/files/debian-equivs-2015-ex.txt
/bin/cp -f debian-equivs-2015-ex.txt texlive-local

lalu ini..

equivs-build texlive-local
sudo dpkg -i texlive-local_2015-1_all.deb

Fonts

Install semua font yang ada di komputer supaya bisa dipakai di LaTeX..

sudo apt-get install texlive-binaries
sudo cp $(kpsewhich -var-value TEXMFSYSVAR)/fonts/conf/texlive-fontconfig.conf /etc/fonts/conf.d/09-texlive.conf
gksudo gedit /etc/fonts/conf.d/09-texlive.conf

Hapus baris yang ada tulisan type1 lalu update…

fc-cache -fsv

Cek versi TeXLive

tex -v

hasilnya seperti ini:

TeX 3.14159265 (TeX Live 2015)
kpathsea version 6.2.1
Copyright 2015 D.E. Knuth.
...
..
.

Update: install font tambahan (lagi)…

Update 2016-04-26:

sudo apt-get install fonts-inconsolata texlive-fonts-recommended

Selamat mencoba, semoga bermanfaat.

Baca juga:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s