Re: lyx remove in Debian bullseye

2022-08-17 Thread José Matos
On Wed, 2022-08-10 at 16:55 +0200, Wolfgang Engelmann wrote:
> I have several lyx 2.4.0 dev installed (which I named lyx; lyx240; 
> lyx24n; lyx24x). They should be removed, before I install a lyx
> 2.3.6.1 for debian.

How did you installed those versions in the first place? Did you used
apt or did you run "make install"?

-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx remove in Debian bullseye

2022-08-14 Thread Steve Litt
Yeah, I must have missed that. :-)

SteveT

On Sun, 2022-08-14 at 17:20 +0200, Dr Eberhard Lisse wrote:
> 
> Steve
> 
> I read the subject line "Debian Bullseye" as meaning Linux.
> 
> el
> 
> On 2022-08-12 08:49 , Steve Litt wrote:
> [...]
> > Hi Wolfgang,
> > 
> > What El wrote is a shellscript.  Shellscripts can't be used on Windows
> > unless you have Linux For Windows or Windows Posix or whatever.
> [...]
> 

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


Re: lyx remove in Debian bullseye

2022-08-14 Thread Dr Eberhard Lisse



Steve

I read the subject line "Debian Bullseye" as meaning Linux.

el

On 2022-08-12 08:49 , Steve Litt wrote:
[...]

Hi Wolfgang,

What El wrote is a shellscript.  Shellscripts can't be used on Windows
unless you have Linux For Windows or Windows Posix or whatever.

[...]

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


Re: lyx remove in Debian bullseye

2022-08-12 Thread Steve Litt
On Thu, 2022-08-11 at 18:08 +0200, Wolfgang Engelmann wrote:
> 
> 
> Am 11.08.22 um 14:28 schrieb Dr Eberhard Lisse:
> > for i in lyx lyx240 lyx24n lyx24x
> > do
> >  rm -rf $(realpath $(which $i))
> > done
> > 
> > el
> > 
> > 
> > 
> Thanks, El,
> 
> but I do not know how to apply this script.
> How do I find the realpath of my installed lyx's?
> 
> I checked the help files of lyx, but couldn't find a description of how 
> to uninstall a lyx file and all the stuff going with it.
> 
> Wolfgang
> 

Hi Wolfgang,

What El wrote is a shellscript. Shellscripts can't be used on Windows unless you
have Linux For Windows or Windows Posix or whatever. "realpath" is an actual
shellscript command that resolves the true path/filename regardless of symlinks.

So basically, for every directory name listed on the "for" line, delete the real
filenamename associated with the first occurence of the list item that occurs 
first
on the executable path.

I'm personally not a fan of mass deletion inside a shellscript. If it were me, 
I'd
substitute the line currently saying rm -rf $(realpath $(which $i)) with:

echo $(realpath $(which $i))

That should give you a list of the true filenames to delete. I'd then check 
each one
before deleting it manually.

Also, if these are just executables and you installed them via a package from 
your
distribution, the executables will "come back" the next time you get an update 
for
the particular version. But I don't know your situation.

SteveT

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


Re: lyx remove in Debian bullseye

2022-08-11 Thread Dr Eberhard Lisse

apt install coreutils

or

for i in lyx lyx24[0xn]
do
sudo find / -name $i -exec rm -rf {} ';'
done

this is not difficult.

el

On 2022-08-11 18:08 , Wolfgang Engelmann wrote:



Am 11.08.22 um 14:28 schrieb Dr Eberhard Lisse:

for i in lyx lyx240 lyx24n lyx24x
do
 rm -rf $(realpath $(which $i))
done

el

[...]

Thanks, El,

but I do not know how to apply this script.  How do I find the
realpath of my installed lyx's?

I checked the help files of lyx, but couldn't find a description of
how to uninstall a lyx file and all the stuff going with it.

Wolfgang




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


Re: lyx remove in Debian bullseye

2022-08-11 Thread Wolfgang Engelmann




Am 11.08.22 um 14:28 schrieb Dr Eberhard Lisse:

for i in lyx lyx240 lyx24n lyx24x
do
 rm -rf $(realpath $(which $i))
done

el

On 11/08/2022 00:08, Alan Tyree wrote:

Hi Wolfgang,
I can't help you with your immediate problem, but if you again wish to
install multiple versions of a program, I suggest using GNU Stow.  It
allows multiple versions to be installed and easily managed.

Good luck with the more immediate problem.

Cheers,
Alan

On Thu, 11 Aug 2022 at 00:56, Wolfgang Engelmann
mailto:engelm...@uni-tuebingen.de>> wrote:

 I have several lyx 2.4.0 dev installed (which I named lyx; lyx240;
 lyx24n; lyx24x).  They should be removed, before I install a lyx
 2.3.6.1 for debian.

 sudo apt-get remove lyx
  > Paket lyx240 not found (kann nicht gefunden werden)

 How to remove these lyx's?

[...]



Thanks, El,

but I do not know how to apply this script.
How do I find the realpath of my installed lyx's?

I checked the help files of lyx, but couldn't find a description of how 
to uninstall a lyx file and all the stuff going with it.


Wolfgang

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


Re: lyx remove in Debian bullseye

2022-08-11 Thread Dr Eberhard Lisse
for i in lyx lyx240 lyx24n lyx24x
do
 rm -rf $(realpath $(which $i))
done

el

On 11/08/2022 00:08, Alan Tyree wrote:
> Hi Wolfgang,
> I can't help you with your immediate problem, but if you again wish to
> install multiple versions of a program, I suggest using GNU Stow.  It
> allows multiple versions to be installed and easily managed.
>
> Good luck with the more immediate problem.
>
> Cheers,
> Alan
>
> On Thu, 11 Aug 2022 at 00:56, Wolfgang Engelmann
> mailto:engelm...@uni-tuebingen.de>> wrote:
>
> I have several lyx 2.4.0 dev installed (which I named lyx; lyx240;
> lyx24n; lyx24x).  They should be removed, before I install a lyx
> 2.3.6.1 for debian.
>
> sudo apt-get remove lyx
>  > Paket lyx240 not found (kann nicht gefunden werden)
>
> How to remove these lyx's?
[...]


-- 
To email me replace 'nospam' with 'el'

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


Re: lyx remove in Debian bullseye

2022-08-10 Thread Alan Tyree
Hi Wolfgang,
I can't help you with your immediate problem, but if you again wish to
install multiple versions of a program, I suggest using GNU Stow. It allows
multiple versions to be installed and easily managed.

Good luck with the more immediate problem.

Cheers,
Alan

On Thu, 11 Aug 2022 at 00:56, Wolfgang Engelmann 
wrote:

> I have several lyx 2.4.0 dev installed (which I named lyx; lyx240;
> lyx24n; lyx24x). They should be removed, before I install a lyx 2.3.6.1
> for debian.
>
> sudo apt-get remove lyx
>  > Paket lyx240 not found (kann nicht gefunden werden)
>
> How to remove these lyx's?
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users