Hi Alan,
Thanks lot, I am really grateful to inform you that the way you mentioned
below really worked well. It worked in my computer ubuntu 8.04 LTS, except a
problem of Latex style and layout problem. I think it is a slight one, I
could install it.
Thanks again for your detailed instructions.
Weidong LIAN

On Tue, Mar 30, 2010 at 2:38 AM, Typhoon <[email protected]> wrote:

> On Mon, 29 Mar 2010 20:17:25 +0200
> Wei-Dong Lian <[email protected]> wrote:
>
> > Hi everyone,
> >
> > I would like to know if there is a solution to install lyx 1.64 or
> > even higher version under ubuntu 8.04.
> <SNIP>
> > ECN
> > Weidong
>
> Hello Weidong,
> Here is a short Howto that I wrote for compiling LyX and using GNU Stow
> to keep it out of the way of your existing LyX installation.
>
> -------------------------------------------------------------
>
> ===================================
>  Compiling LyX on Ubuntu or Debian
> ===================================
>
> ====================
>  And using GNU Stow
> ====================
>
> Getting the tools
> =================
>
> 1. y...@yourmachine:~$ sudo apt-get build-dep lyx
> 2. y...@yourmachine:~$ sudo apt-get install stow
> 3. y...@yourmachine:~$ sudo apt-get install automake
> 4. y...@yourmachine:~$ sudo atp-get install autoconf
>
>
> This should get most or all of what you need. There may be a
> substantial download if you have no building tools already installed.
>
> Getting LyX
> ===========
>
> You want the "source code".
>
> Download the source tarball from  http://www.lyx.org/Download. The
> downloaded file will be named lyx-1.6.5.tar.gz.
>
> Local directory
> ===============
>
> 1. y...@yourmachine:~$ mkdir local
> 2. y...@yourmachine:~$ mv lyx-1.6.5.tar.gz ./local
>   (Note: the tarball may be downloaded to some special directory,
>   usually either Desktop or Downloads. You may need to adjust the
>   above command line accordingly)
> 3. y...@yourmachine:~$ cd local
> 4. y...@yourmachine:~$ tar xovzf lyx-1.6.5.tar.gz
>   This will create a new sub-directory under ~/local and will unpack
>   the source files for lyx.
> 4. y...@yourmachine:~$ cd lyx-1.6.5
>
> Compiling
> =========
>
> 1. y...@yourmachine:~$ ./autogen.sh
>   Check the output - if it says something is missing, then use
>   apt-get to install it.
> 2. y...@yourmachine:~$ ./configure --with-version-suffix=165
>   We give it a different suffix so that it doesn't conflict with your
>   existing LyX installation. You can use both the new version and the
>   previously installed version.
>
>   Check the output - if it says something is missing, then install
>   using apt-get. Repeat items 1 and 2.
> 3. y...@yourmachine:~$ make
>   Depending on your machine, this may take some time. If there is an
>   error, then read the output. You probably need to use apt-get to
>   install some new piece of software.
> 4. y...@yourmachine:~$ sudo make install prefix=/usr/local/stow/lyx165
> 5. y...@yourmachine:~$ cd /usr/local/stow
> 6. y...@yourmachine:~$ sudo stow lyx165
>
> Running the new version
> =======================
>
> y...@yourmachine:~$ lyx165
>
> You can also make a "launcher" for the new version by right clicking
> on the panel. The command should be /usr/local/bin/lyx165.
>
> You can also run your old LyX version using the simple command:
>
> y...@yourmachine:~$ lyx
>
> In a launcher, the command /usr/local/bin/lyx will run the old version.
>
>
>
> Please let me know if there is any problem with any of the steps here.
> Cheers,
> Alan
>
>
>
>
> --
> Alan L Tyree                    http://www2.austlii.edu.au/~alan
> Tel:  04 2748 6206
>
>

Reply via email to