How to install wine-gecko in /usr/share/wine/gecko

Questions about Wine on Linux
Post Reply
UlfZibis
Level 3
Level 3
Posts: 58
Joined: Thu Sep 18, 2014 6:41 pm

How to install wine-gecko in /usr/share/wine/gecko

Post by UlfZibis » Fri Feb 14, 2020 11:08 am

Hi,
here you state, gecko should be installed in /usr/share/wine/gecko to avoid to install gecko in every WINEPREFIX.
On my system there is no path /usr/share/wine, but there is /opt/wine-stable.

How to do this in correct way?

I'm using winehq-stable 5.0.0 in Ubuntu 18.04.

User avatar
dimesio
Moderator
Moderator
Posts: 12777
Joined: Tue Mar 25, 2008 10:30 pm

Re: How to install wine-gecko in /usr/share/wine/gecko

Post by dimesio » Fri Feb 14, 2020 11:41 am

/opt/wine/gecko

UlfZibis
Level 3
Level 3
Posts: 58
Joined: Thu Sep 18, 2014 6:41 pm

Re: How to install wine-gecko in /usr/share/wine/gecko

Post by UlfZibis » Fri Feb 14, 2020 12:08 pm

dimesio wrote:
Fri Feb 14, 2020 11:41 am
/opt/wine/gecko
Hm, what you want to say me?
This folder does not exist, but /opt/wine-stable

Also I find:

Code: Select all

ich@T500:~$ ls -l .wine/drive_c/windows/system32/gecko/
insgesamt 28
drwxrwxr-x 3 ich ich 4096 Jun 15  2013 1.4
drwxrwxr-x 3 ich ich 4096 Mai 26  2014 2.21
drwxrwxr-x 3 ich ich 4096 Aug 14  2015 2.36
drwxrwxr-x 3 ich ich 4096 Sep  1  2015 2.40
drwxrwxr-x 3 ich ich 4096 Apr 24  2017 2.47
drwxr-xr-x 3 ich ich 4096 Feb 14 16:42 2.47.1
drwxrwxr-x 2 ich ich 4096 Jun 15  2013 plugin
ich@T500:~$ ls -l .wine/drive_c/windows/syswow64/gecko/
insgesamt 24
drwxrwxr-x 3 ich ich 4096 Jun 15  2013 1.4
drwxrwxr-x 3 ich ich 4096 Mai 26  2014 2.21
drwxrwxr-x 3 ich ich 4096 Aug 14  2015 2.36
drwxrwxr-x 3 ich ich 4096 Sep  1  2015 2.40
drwxrwxr-x 3 ich ich 4096 Apr 24  2017 2.47
drwxrwxr-x 2 ich ich 4096 Jun 15  2013 plugin
ich@T500:~$ ls -l .wine32/drive_c/windows/system32/gecko/
insgesamt 16
drwxrwxr-x 3 ich ich 4096 Aug 16  2015 2.36
drwxrwxr-x 3 ich ich 4096 Sep 17  2015 2.40
drwxrwxr-x 3 ich ich 4096 Apr 24  2017 2.47
drwxrwxr-x 2 ich ich 4096 Aug 16  2015 plugin
So I also would like to know, how I can clean up without destroying something.

User avatar
dimesio
Moderator
Moderator
Posts: 12777
Joined: Tue Mar 25, 2008 10:30 pm

Re: How to install wine-gecko in /usr/share/wine/gecko

Post by dimesio » Fri Feb 14, 2020 3:14 pm

You have to create the folder.

Gcenx
Level 5
Level 5
Posts: 389
Joined: Mon Dec 25, 2017 12:11 pm

Re: How to install wine-gecko in /usr/share/wine/gecko

Post by Gcenx » Fri Feb 14, 2020 3:52 pm

As dimesio says you create the folders

Then extract into the location, here ld what I have for example;

Code: Select all

/opt/wine/gecko/wine-gecko-2.47.1-x86/
/opt/wine/gecko/wine-gecko-2.47.1-x86_64/
You can also doe the same for mono;

Code: Select all

/opt/wine/mono/wine-mono-4.9.4/

UlfZibis
Level 3
Level 3
Posts: 58
Joined: Thu Sep 18, 2014 6:41 pm

Re: How to install wine-gecko in /usr/share/wine/gecko

Post by UlfZibis » Fri Feb 14, 2020 6:27 pm

OK, now I understand, I should extract the tar balls into those directories and then I can delete:

Code: Select all

~..wine/drive_c/windows/system32/gecko
~..wine/drive_c/windows/syswow64/gecko
~..wine32/drive_c/windows/system32/gecko
~..wine/drive_c/windows/mono
~..wine32/drive_c/windows/mono
Right?
But what's about? :

Code: Select all

**/gecko//plugin
Why aren't those packages in the repository https://dl.winehq.org/wine-builds/ubuntu ?
It would be convenient to install them from there with:

Code: Select all

sudo apt install wine-gecko
sudo apt install wine-mono

username77
Newbie
Newbie
Posts: 1
Joined: Fri Feb 21, 2020 12:36 pm

Re: How to install wine-gecko in /usr/share/wine/gecko

Post by username77 » Fri Feb 21, 2020 1:01 pm

i'm in the same situation as the original poster.
I have VERY limited experience with working from the command line/terminal, so if someone could give me the exact code I need to run to create that directory under Ubuntu 18.04, I would greatly appreciate it.
I thought maybe I could just create the /wine/gecko folders under /opt with right clicking and then clicking 'new folder' but my file manager has that option grayed out here.
thanks!

UlfZibis
Level 3
Level 3
Posts: 58
Joined: Thu Sep 18, 2014 6:41 pm

Re: How to install wine-gecko in /usr/share/wine/gecko

Post by UlfZibis » Fri Feb 21, 2020 5:07 pm

Here are the commands (give it a try):
https://wiki.ubuntuusers.de/Wine/#NET-u ... rweiterung
This must be done before the first run of Wine, otherwise first delete ~/.wine.

Alternatively you could start your file manager with:

Code: Select all

sudo -H nautilus /opt ## this starts nautilus with root privileges
Don't miss the `-H`, otherwise you corrupt your nautilus normal settings.

Post Reply