<< | Page list | >>
How to correctly install LyX on Ubuntu. (Debian users should check LyXOnDebian.)
The version of LyX provided by the official repositories is often out of date, but unless you need features or bug fixes from more recent versions, that may be fine.
For Hebrew issues, see Hebrew On Linux.
The stable PPA, set up by Liviu Andronic, contains the latest stable release of LyX for the Ubuntu distributions.
If you already have a repository version of LyX installed, you should remove it:
If you don't do this, the fourth step that follows may fail.
Do the following:
You will probably have to press "Enter" after step 1 (adding the PPA).
To uninstall the package, do as you would for any package with apt-get.
You may want to stop using a PPA for various reasons. One way to "pause" the PPA is to do the following:
Open Ubuntu Software Center and go to Edit > Software Sources > Other Software and uncheck the two entries corresponding to the PPA of interest.
As a last resort, you can always compile LyX from source. Simply:
MPM is the MiKTeX Package Manager (MiKTeX being the most popular LaTeX distribution for the Windows platform). It has been ported to Unix and descendants, albeit command-line only (so far). One nice feature of MiKTeX is that LaTeX packages are provided for download individually, rather than in large bundles.
A blog entry by Stefan Kottwitz gives concise instructions on how to install MPM in Ubuntu Hardy. Once it's installed, you can easily download and install individual LaTeX packages. For instance, I installed xypic.sty using the line
The examples files are in /usr/share/lyx/examples/, however, they cannot be accessed by LyX as a user, since they are read only. So you must use terminal to go to /usr/share/lyx/ and then do cp -r examples ~/Documents/lyx/examples. This will create a directory with read/write permissions in your home directory.