Re: Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)
I have tidied up the instructions (including a nice suggestion from Wolfgang) and posted the tutorial on the Wiki under the Tips/Compiling section: http://wiki.lyx.org/Tips/Compiling#sTips.Compiling_9 It would be nice if someone could include a yum/whatever equivalent for the Debian apt-get build-dep lyx command. I also included a brief separate section on the virtues of using GNU Stow to install the compiled software. Cheers, Alan -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206
Re: Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)
On 03/30/2010 03:50 AM, Wolfgang Engelmann wrote: I followed your instructions and got at point 4 an error, which I posted there. What went wrong? Wolfgang Wei-Dong Lian 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. 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 wolfgang:/home/wolfgang# make install prefix=/usr/local/stow/lyx165 make: *** Keine Regel, um »install« zu erstellen. Schluss. (no rule to produce 'install'. end) ps: I used su instead of sudo. Unless you are compiling from your home directory, which isn't really a good idea, then you need to get into the directory where the sources live, which in these instructions would be ~/local/lyx165. rh
Re: Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)
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 wrote: > On Mon, 29 Mar 2010 20:17:25 +0200 > Wei-Dong Lian 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. > > > 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 Tyreehttp://www2.austlii.edu.au/~alan > Tel: 04 2748 6206 > >
Re: Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)
I followed your instructions and got at point 4 an error, which I posted there. What went wrong? Wolfgang > > Wei-Dong Lian 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. > > > > > 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 wolfgang:/home/wolfgang# make install prefix=/usr/local/stow/lyx165 make: *** Keine Regel, um »install« zu erstellen. Schluss. (no rule to produce 'install'. end) ps: I used su instead of sudo. > 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 thanks Allan
Re: Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)
On 03/29/2010 08:38 PM, Typhoon wrote: On Mon, 29 Mar 2010 20:17:25 +0200 Wei-Dong Lian 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. 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. If this isn't on the wiki. rh
Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)
On Mon, 29 Mar 2010 20:17:25 +0200 Wei-Dong Lian 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. > 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 Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206
Re: Badly needly for lyx 1.6.4 under ubuntu 8.04
On 03/29/2010 06:22 PM, Wei-Dong Lian wrote: On Mon, Mar 29, 2010 at 8:27 PM, rgheck wrote: On 03/29/2010 02:17 PM, Wei-Dong Lian 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. By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began with lyx1.6.4, so now all of my old lyx documents could not be opened. In addition, in the new version of lyx after 1.64 they really added more useful features, easy to use. So if any suggestion will be appreciated. I assume you could compile 1.6.4 yourself? This is not that hard to do, as long as you can install the various dependencies. rh Thanks for your suggestions, I am afraid it is not that easy to install these various dependencies. It is more complex, I need to install many packages and remove many packages to satisfy the decencies between packages. I added one source list of lyx 1.64 of ubuntu9.10 to my source list, and I tried the command 'sudo aptitude install lyx', it got several solutions to install lyx 1.64, but it seemed that I will remove nearly all of packages in my ubuntu 8.04 and install new packages. so I did not dare to try that, it may harm my current system. If someone had experienced a successful case like this, please give me some suggestions, thanks in advance. And also any other solution will be welcomed. I don't think this is what people were suggesting at all. Trying to install packages from the 9.10 directories to an 8.04 install is definitely not going to work, for exactly the reason you see. The dependencies you need to compile LyX should not be that bad, just a bunch of -devel or -dev packages, which are often not very large. Did you try that suggestion? If so, what happened? rh
Re: Badly needly for lyx 1.6.4 under ubuntu 8.04
On 03/29/2010 06:22 PM, Wei-Dong Lian wrote: On Mon, Mar 29, 2010 at 8:27 PM, rgheck wrote: On 03/29/2010 02:17 PM, Wei-Dong Lian 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. By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began with lyx1.6.4, so now all of my old lyx documents could not be opened. In addition, in the new version of lyx after 1.64 they really added more useful features, easy to use. So if any suggestion will be appreciated. I assume you could compile 1.6.4 yourself? This is not that hard to do, as long as you can install the various dependencies. rh Thanks for your suggestions, I am afraid it is not that easy to install these various dependencies. It is more complex, I need to install many packages and remove many packages to satisfy the decencies between packages. I added one source list of lyx 1.64 of ubuntu9.10 to my source list, and I tried the command 'sudo aptitude install lyx', it got several solutions to install lyx 1.64, but it seemed that I will remove nearly all of packages in my ubuntu 8.04 and install new packages. so I did not dare to try that, it may harm my current system. If someone had experienced a successful case like this, please give me some suggestions, thanks in advance. And also any other solution will be welcomed. I don't think this is what people were suggesting at all. Trying to install packages from the 9.10 directories to an 8.04 install is definitely not going to work, for exactly the reason you see. The dependencies you need to compile LyX should not be that bad, just a bunch of -devel or -dev packages, which are often not very large. Did you try that suggestion? If so, what happened? rh
Re: Badly needly for lyx 1.6.4 under ubuntu 8.04
On Mon, Mar 29, 2010 at 8:27 PM, rgheck wrote: > On 03/29/2010 02:17 PM, Wei-Dong Lian 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. >> By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began >> with lyx1.6.4, so now all of my old lyx documents could not be opened. In >> addition, in the new version of lyx after 1.64 they really added more >> useful >> features, easy to use. So if any suggestion will be appreciated. >> >> >> > I assume you could compile 1.6.4 yourself? This is not that hard to do, as > long as you can install the various dependencies. > > rh > > Thanks for your suggestions, I am afraid it is not that easy to install these various dependencies. It is more complex, I need to install many packages and remove many packages to satisfy the decencies between packages. I added one source list of lyx 1.64 of ubuntu9.10 to my source list, and I tried the command 'sudo aptitude install lyx', it got several solutions to install lyx 1.64, but it seemed that I will remove nearly all of packages in my ubuntu 8.04 and install new packages. so I did not dare to try that, it may harm my current system. If someone had experienced a successful case like this, please give me some suggestions, thanks in advance. And also any other solution will be welcomed. weidong
Re: Badly needly for lyx 1.6.4 under ubuntu 8.04
On 29/03/2010 2:27 PM, rgheck wrote: On 03/29/2010 02:17 PM, Wei-Dong Lian 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. By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began with lyx1.6.4, so now all of my old lyx documents could not be opened. In addition, in the new version of lyx after 1.64 they really added more useful features, easy to use. So if any suggestion will be appreciated. I assume you could compile 1.6.4 yourself? This is not that hard to do, as long as you can install the various dependencies. rh To get the dependencies, under ubuntu: apt-get build-dep lyx -- Julien
Re: Badly needly for lyx 1.6.4 under ubuntu 8.04
On 03/29/2010 02:17 PM, Wei-Dong Lian 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. By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began with lyx1.6.4, so now all of my old lyx documents could not be opened. In addition, in the new version of lyx after 1.64 they really added more useful features, easy to use. So if any suggestion will be appreciated. I assume you could compile 1.6.4 yourself? This is not that hard to do, as long as you can install the various dependencies. rh
Badly needly for lyx 1.6.4 under ubuntu 8.04
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. By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began with lyx1.6.4, so now all of my old lyx documents could not be opened. In addition, in the new version of lyx after 1.64 they really added more useful features, easy to use. So if any suggestion will be appreciated. ECN Weidong