Re: Installing LyX 2.3.6.1 on Linux MInt 20.3 with TeXLive 2021

2022-03-06 Thread Graeme via lyx-users

On 03/03/2022 22:59, Graeme wrote:
I've just done a clean install of Linux Mint 20.3, and then a full 
install of TeXLive 2021, which cannot be done with the Mint's Synaptic 
Package Manager. Mint 20.3 includes TeXLive 2019 as part of its 
distribution, but I have not (yet) installed that version.


The standard Plain TeX or LaTeX workflows seem to behave normally, so 
I'd now like to install LyX 2.3.6.1 using the (unsupported) PPA 
available on Launchpad at ppa:lyx-devel/release.


However, when I try to install it using Mint's Package Manager, it lists 
a number of standard TeX packages that it claims are necessary, and will 
not proceed unless I also install them. These include:

tex-common
tex-gyre
texlive-base
texlive binaries
texlive-fonts recommended
texlive-lang-greek
texlive-latex-base
texlive-latex-extra
texlive-latex-recommended
texlive-pictures
texlive-plain-generic
texlive-science
tipa

These are mostly TeXLive 2019 versions for which there are already 
TeXLive 2021 versions installed. I'd prefer not to have both 2019 and 
2021 versions of TeXLive installed at the same time.


This prompts a number of linked questions:

a) Will LyX 2.3.6.1 work OK with a TeXLive 2021 installation?

b) Is there a way to force Mint's Package Manager to recognise the 
existence to TeXLive 2021 packages?


c) Is there a way to install LyX 2.3.6.1 without installing the TeXLive 
2019 dependencies? (I'd prefer not to have to compile LyX 2.3.6.1 from 
source.)


d) If I want to install LyX 2.3.6.1 with Mint's Package Manager, will 
this force me to use TeXLive 2019 instead?


I would welcome advice on how to deal with this problem.

Graeme


Thanks to all the replies for their helpful comments.

Both Tobias and Kees suggested looking at the TeX User Group page 
advising how to integrate a vanilla TeX Live with a Debian-based version 
of Linux, such as Ubuntu, or Mint. This can be found at:

https://tug.org/texlive/debian.html#vanilla

As I had already installed a full "vanilla" version of TeXLive 2021, I 
then followed the instructions given on that page. Specifically:


1. Using Mint's Synaptic Package Manager, I installed:
a) The texinfo, tex-common, and lmodern packages
(tex-common was a required dependency for texinfo, and lmodern is a set 
of postscript fonts that may not strictly be required.)

b) The equivs package of command-line tools.

I also added TeXLive's bin directory to the definition of ENV_PATH in 
/etc/login.defs.
(I'm not sure this last step is strictly necessary for my system, as I 
believe it will only affect any new user accounts that are created 
subsequently, but it seems otherwise harmless.)


2. From a terminal window I used the equivs-control command to create 
create a plain text template file called texlive2021local. I then edited 
this file to include some basic information, and the list of packages 
provided by TeXLive 2021. This list is available at:

https://tug.org/texlive/files/debian-equivs-2021-ex.txt

3. I used the equivs-build command to create a dummy package called 
texlive2021local_2021.99-1_all.deb, using the information in the 
file texlive2021local.


4. I "installed" the dummy package using the command:
sudo dpkg -i texlive2021local_2021.99-1_all.deb
A check with Mint's Package manager confirmed that the system now 
recognised a package called texlive2021local, with version number 
2021.99-1, and that this satisfied all the TeX-related dependencies 
needed to let me install LyX 2.3.6.1.


5. Using Mint's Package Manager, I installed LyX 2.3.6.1, including the 
(now much shorter) list of non-TeX-specific dependencies.


I now have a working installation of LyX 2.3.6.1 that uses my local 
installation of TeXLive 2021, so all seems good so far.


Thanks again for the helpful replies to my original query.

Graeme

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


RE: Installing LyX 2.3.6.1 on Linux MInt 20.3 with TeXLive 2021

2022-03-04 Thread Kees Zeelenberg (kzStats) via lyx-users
> -Oorspronkelijk bericht-
> Van: lyx-users  Namens Graeme via
lyx-users
> Verzonden: vrijdag 4 maart 2022 00:00
> Aan: lyx-users List 
> Onderwerp: Installing LyX 2.3.6.1 on Linux MInt 20.3 with TeXLive 2021
> 
> c) Is there a way to install LyX 2.3.6.1 without installing the TeXLive
> 2019 dependencies? (I'd prefer not to have to compile LyX 2.3.6.1 from
> source.)

You could follow the advice at https://tug.org/texlive/debian.html#vanilla
(Mint is a derivative of Ubuntu, which itself is a derivative of Debian),
and build a dummy package for texlive (2019), which tricks the Mint Package
Manager and the LyX installer into believing texlive is installed.
I think you can also use 2021 instead of 2019 for this dummy package if
texlive-2021 is not installed from a deb-package.

Kees


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


Re: Installing LyX 2.3.6.1 on Linux MInt 20.3 with TeXLive 2021

2022-03-04 Thread Tobias Hilbricht via lyx-users
Am Donnerstag, dem 03.03.2022 um 22:59 + schrieb Graeme via lyx-
users:
> I've just done a clean install of Linux Mint 20.3, and then a full 
> install of TeXLive 2021, which cannot be done with the Mint's
> Synaptic 
> Package Manager. Mint 20.3 includes TeXLive 2019 as part of its 
> distribution, but I have not (yet) installed that version.
> 
> The standard Plain TeX or LaTeX workflows seem to behave normally,
> so 
> I'd now like to install LyX 2.3.6.1 using the (unsupported) PPA 
> available on Launchpad at ppa:lyx-devel/release.
> 
> However, when I try to install it using Mint's Package Manager, it
> lists 
> a number of standard TeX packages that it claims are necessary, and
> will 
> not proceed unless I also install them. These include:
> tex-common
> tex-gyre
> texlive-base
> texlive binaries
> texlive-fonts recommended
> texlive-lang-greek
> texlive-latex-base
> texlive-latex-extra
> texlive-latex-recommended
> texlive-pictures
> texlive-plain-generic
> texlive-science
> tipa
> 
> These are mostly TeXLive 2019 versions for which there are already 
> TeXLive 2021 versions installed. I'd prefer not to have both 2019
> and 
> 2021 versions of TeXLive installed at the same time.
> 
> This prompts a number of linked questions:
> 
> a) Will LyX 2.3.6.1 work OK with a TeXLive 2021 installation?
> 
> b) Is there a way to force Mint's Package Manager to recognise the 
> existence to TeXLive 2021 packages?
> 
> c) Is there a way to install LyX 2.3.6.1 without installing the
> TeXLive 
> 2019 dependencies? (I'd prefer not to have to compile LyX 2.3.6.1
> from 
> source.)
> 
> d) If I want to install LyX 2.3.6.1 with Mint's Package Manager,
> will 
> this force me to use TeXLive 2019 instead?
> 
> I would welcome advice on how to deal with this problem.
> 
> Graeme

Graeme,

Linux Mint is a Ubuntu derivative, therefore you could proceed
according to the Ubuntu wiki:

* Deinstall all TeXLive-Packages of the distribution
* Install TeXLive manually:  https://wiki.ubuntuusers.de/TeX_Live/ look
at the commands under the heading "Manuell"
* Then, in order to install LyX without dependencies do: 
https://wiki.ubuntuusers.de/TeX_Live_DVD-Installation/#Paketverwaltung-die-neue-TeX-Live-Version-mitteilen
 look at the commands under the heading "Paketverwaltung die neue TeX
Live Version mitteilen"

In English: https://tug.org/texlive/debian.html#vanilla

Hope it helps,
Tobias 

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


Re: Installing LyX 2.3.6.1 on Linux MInt 20.3 with TeXLive 2021

2022-03-04 Thread Lorenzo Bertini via lyx-users
--- Repost as i answered privately by mistake, so his gets archived ---

Quick answers since im on mobile:

a) it should, as it works with miktex and other distributions
b) apt should recognize every package installed as deb package, so the
easiest option is to look for a texlive 2021 in the BACKPORTS repository of
your distro, in this case mint, where newer version of packages can be
found if needed. If its not there you could manually install it from the
esperimental repository, even from ubuntu. As long as its packaged properly
apt should recognize it. I think lyx doesnt specify a version for texlive
package required, so anything it finds i believe its good.
c) absolutely: download the package without installing, edit the
dependencies (extract it and extract the control folder, edit control file
changing the dependencies section) repackage and install.
d) yes if your distro distributes texlive 2019. You can circumvent this
with b) and c). Apt makes 6+ packages live peacefully, it a small
sacrifice to have slightly outdated software :)

Let me know if anything was unclear

Lorenzo

Il ven 4 mar 2022, 00:07 Graeme via lyx-users  ha
scritto:

> I've just done a clean install of Linux Mint 20.3, and then a full
> install of TeXLive 2021, which cannot be done with the Mint's Synaptic
> Package Manager. Mint 20.3 includes TeXLive 2019 as part of its
> distribution, but I have not (yet) installed that version.
>
> The standard Plain TeX or LaTeX workflows seem to behave normally, so
> I'd now like to install LyX 2.3.6.1 using the (unsupported) PPA
> available on Launchpad at ppa:lyx-devel/release.
>
> However, when I try to install it using Mint's Package Manager, it lists
> a number of standard TeX packages that it claims are necessary, and will
> not proceed unless I also install them. These include:
> tex-common
> tex-gyre
> texlive-base
> texlive binaries
> texlive-fonts recommended
> texlive-lang-greek
> texlive-latex-base
> texlive-latex-extra
> texlive-latex-recommended
> texlive-pictures
> texlive-plain-generic
> texlive-science
> tipa
>
> These are mostly TeXLive 2019 versions for which there are already
> TeXLive 2021 versions installed. I'd prefer not to have both 2019 and
> 2021 versions of TeXLive installed at the same time.
>
> This prompts a number of linked questions:
>
> a) Will LyX 2.3.6.1 work OK with a TeXLive 2021 installation?
>
> b) Is there a way to force Mint's Package Manager to recognise the
> existence to TeXLive 2021 packages?
>
> c) Is there a way to install LyX 2.3.6.1 without installing the TeXLive
> 2019 dependencies? (I'd prefer not to have to compile LyX 2.3.6.1 from
> source.)
>
> d) If I want to install LyX 2.3.6.1 with Mint's Package Manager, will
> this force me to use TeXLive 2019 instead?
>
> I would welcome advice on how to deal with this problem.
>
> Graeme
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Installing LyX 2.3.6.1 on Linux MInt 20.3 with TeXLive 2021

2022-03-04 Thread Axel Dessecker via lyx-users
Am Donnerstag, 3. März 2022, 23:59:35 CET schrieb Graeme via lyx-users:
> I've just done a clean install of Linux Mint 20.3, and then a full
> install of TeXLive 2021, which cannot be done with the Mint's Synaptic
> Package Manager. Mint 20.3 includes TeXLive 2019 as part of its
> distribution, but I have not (yet) installed that version.
> 
> The standard Plain TeX or LaTeX workflows seem to behave normally, so
> I'd now like to install LyX 2.3.6.1 using the (unsupported) PPA
> available on Launchpad at ppa:lyx-devel/release.
> 
> However, when I try to install it using Mint's Package Manager, it lists
> a number of standard TeX packages that it claims are necessary, and will
> not proceed unless I also install them. These include:
> tex-common
> tex-gyre
> texlive-base
> texlive binaries
> texlive-fonts recommended
> texlive-lang-greek
> texlive-latex-base
> texlive-latex-extra
> texlive-latex-recommended
> texlive-pictures
> texlive-plain-generic
> texlive-science
> tipa
> 
> These are mostly TeXLive 2019 versions for which there are already
> TeXLive 2021 versions installed. I'd prefer not to have both 2019 and
> 2021 versions of TeXLive installed at the same time.
> 
> This prompts a number of linked questions:
> 
> a) Will LyX 2.3.6.1 work OK with a TeXLive 2021 installation?
> 
> b) Is there a way to force Mint's Package Manager to recognise the
> existence to TeXLive 2021 packages?
> 
> c) Is there a way to install LyX 2.3.6.1 without installing the TeXLive
> 2019 dependencies? (I'd prefer not to have to compile LyX 2.3.6.1 from
> source.)
> 
> d) If I want to install LyX 2.3.6.1 with Mint's Package Manager, will
> this force me to use TeXLive 2019 instead?
> 
> I would welcome advice on how to deal with this problem.
> 
> Graeme

I can confirm that LyX 2.3.6.1 perfectly works with TeXLive 2021. As for the 
Mint-specific questions: sorry, no Mint here.

Axel




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