On 1/22/23 06:26, Joseph Hesse wrote:
Hi,

On Fedora Linux 37 lyx 2.3.7 is not currently available in the Fedora 37 software repository.  I plan on building it from source following the instructions in the INSTALL file that is included in the lyx 2.3.7 source code.

Has anyone else does this, do you have suggestions to make the build proceed without problems?

As José said, it takes a bit for the new version to percolate through Fedora's update process. However, it's really easy to compile LyX on Fedora, once you've got all the dependencies installed. I think you can do that with:

    sudo dnf builddep lyx

You need to have dnf-utils installed first.

Then you can do the following:

|# git clone git://git.lyx.org/lyx
# cd lyx
# git checkout 2.3.x
# ./autogen.sh
# ./configure  --enable-build-type=rel --enable-qt5
# make -j8
# sudo make install
|

The last argument to make, -j8, tells it to use 8 cpus to speed up compilation. You can use more or less as your machine allows.

This will install LyX into /usr/local/ by default. You may want to remove the RPM version so as to avoid conflicts (though it is possible to have both installed).

This will give you the latest version of the stable branch (what will become 2.3.8). If you do "git checkout master", then you will be compiling the last development branch (what will become 2.4.0). That's only for the bold who are prepared to deal with bugs. If you do "git checkout 2.3.7", then you'll get 2.3.7. Etc. You can do "git tags" and "git branch" to see other things you can check out.

My own policy is always to use the stable branch (2.3.x now), and update it every few weeks, though I've been using master lately, for testing, and because it's pretty stable at this point.

Riki

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to