Installation de Wine / Installing Wine

Wardek_

New Member
Joined
Aug 28, 2024
Messages
3
Reaction score
0
Credits
24
Bonjour j'avoue mon incompetence, mais, je n'arrive pas a installer Wine.
Je suis sur Ubuntu 24.2.

Hello, I admit my incompetence, but I cannot install Wine.
I'm on Ubuntu 24.2.
 


Just install the "wine-stable" package, open a terminal and run the following.
Code:
sudo apt install wine-stable
Or search for wine through the software store and then click install.
 
I think before you install wine, you should ask "Do I need to install wine" that means did you look and make sure that you absolutely must use the windows program. Is there a linux alternative that will do the job perhaps better? Do not use windows software just because you are used to it. You may find things better without windows if you take a few minutes to learn it.

Most people install wine just because they think they must. Dig deeper and find what you need in native linux software please don't just install wine because.

So now the question, why do you think you need wine? what software are you needing to run from windows? Let us try to guide you properly.
 
Yah; by and large, I agree with @APTI on this one. Over the last decade since moving to Linux full-time, I've switched almost all my 'regular' software to Linux versions. Frequently, they work better!

I do have ONE Windows photo-editing app, however, that I've used almost since the day it was first released, back in 2008. Exhaustive research has proved that, to gain the same rather unusual functionality this program has, I would need to run at least half-a-dozen different Linux apps to achieve the same effects.

Since it's fairly central to my graphic design hobby - and has been for many years - I've used WINE for a LONG time.

~~~~~~~~~~~~~~~~~~~​

It's always seemed a bit daft to me.....to have a full, permanent install of WINE for just one single application.

A few years ago, one of our members in the Puppy community discovered - almost by accident - that somebody over at Github was packing WINE as a fully self-contained AppImage. I did some scouting-around myself, and discovered that in fact there were several people over there that were creating variations on the same thing.

Out of all the Linux 'portable' formats, the AppImage has long been my favourite.

I knew for a fact that this very same graphics app that I use - PhotoScape, from a Korean outfit called MooiTech - was also being packaged as a self-contained 'portable' application by the guys over at PortableApps.com.

(They appear to have dropped it now, since it was last updated in 2017. This doesn't bother me; the app doesn't go online for any reason, and the final release has worked perfectly for ages.....for what I use it for. It still does.)

One neat thing about these Windows portables is that they don't write anything to the WINE registry at all. Each 'portable' contains its own 'mini-registry' within the directory, and everything is written to here instead. Which makes them truly portable!

~~~~~~~~~~~~~~~~~~~~~~​

A plan began to hatch. I did some head-scratching, along with a bit of experimentation, and eventually came up with a totally self-contained app.....containing a WINE AppImage, the 'portable' build of PhotoScape and a handful of scripts to tie everything together. It can also add or remove a Menu entry, if required......or, since it's packed as a ROX-app (the native, executable directory format of the ROX-filer file manager that Puppy uses), a single click on the directory itself fires it up.

The whole kit & caboodle runs from my big secondary 'data' drive. Because it's 'portable', it can be 'shared' between multiple distros, so there's no duplication.

When launched, at first run it checks for the presence of a WINE 'profile'. If not found, it runs the set-up routine to create one.

It then sym-links the WINE AppImage into the system, along with sym-linking the WINE 'profile' into the user's $HOME directory. Following this, it then launches WINE, then one second later it launches the 'portable' build of PhotoScape.....

When I close PhotoScape, WINE also shuts down & all sym-links are removed from the system. Result? I can run PhotoScape whenever I need it.....and WINE itself is only temporarily linked into the system & running while I'm using it. The instant I'm finished, WINE is history.....

Perhaps a complex solution for a single app. TBH, with Puppy being primarily a "hobbyist" distro, she positively encourages such stuff!

It works for me.


Mike. :p
 
Last edited:
Bonjour j'avoue mon incompetence, mais, je n'arrive pas a installer Wine.
Je suis sur Ubuntu 24.2.

Hello, I admit my incompetence, but I cannot install Wine.
I'm on Ubuntu 24.2.
Hello, yes, I would like to do without Wine and use a Linux alternative to my problem but it is for video games and there is no Linux version.
It was for this game : https://paladium-pvp.fr/ It's a launcher for an french Minecraft server.

Thank you very much for your help.
 
Last edited:
Just install the "wine-stable" package, open a terminal and run the following.
Code:
sudo apt install wine-stable
Or search for wine through the software store and then click install.
Hy, I try this but i dont see Wine in my applications
 
One tool I have found that works well for me with wine is Playonlinux. It allows installation for multiple wine versions and is a gui front end for wine. It installs programs in a virtual file so they do not affect other programs you may run under wine.
you can try it by installing from the repository
Code:
sudo apt install playonlinux.
One warning though not all windows programs run under wine. some just don't. In such cases your better off running windows in a virtual machine (VM) Good Luck.
 
If you need 32 bit wine, you will need to activate the 32 bit codecs in your distribution first
 
One of the advantages for Playonlinux is it pulls the 32 bit libs needed. On Ubuntu I believe they are already in the repos. if you install wine via wineHQ you'll need to install wine32:i386 also.
 
Hi,

i suggest to use bottles from flatpak. So you can make a bootle with a specific wine config for each windows app.


I use this currently to play my games from gog an it works good.
 
@Wardek_,
try this command, to check whether it is installed correctly and can call an exe-file :

Code:
wine start /unix /home/youruser/MyExeFolder/notepad++.exe
exchange youruser by your username
exchange MyExeFolder by your path to the exe-file (e.g.: notepad++.exe)
 
Hello, yes, I would like to do without Wine and use a Linux alternative to my problem but it is for video games and there is no Linux version.
It was for this game : https://paladium-pvp.fr/ It's a launcher for an french Minecraft server.

Thank you very much for your help.
games are very specifically written and tend to use things like directx. Those are things that wine can't do. You will find that windows games do not play well on linux. I think the experience will be pretty bad. Virtual machines do not handle directx or most games. If you want linux use it for linux games or regular computing. If you are already addicted to some windows games, enough so that you have to get them in linux, then you should stick to windoze for those games. You will be disappointed in the amount of work versus the results trying to run windoze games on linux. But maybe somebody in here can prove me wrong and that is a good thing.
 
Install Wine on Ubuntu 24.04

Add 32 Bit Architecture

sudo dpkg --add-architecture i386

Download and add the repository key:

sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

Add Source


sudo apt update

Install Wine

sudo apt install --install-recommends winehq-stable
 
wine will not be indicated in the application list.
I did install wine via synaptic (Ubuntu 24.04.01) and it works.
@Wardek_ :-

As @Gloster says, you won't find WINE in the menu.....not as such. You can add menu entries for the apps you run via WINE - which makes sense - but why would you need a Menu entry for a background compatibility layer (which is always there, always ready to spring into action, and is basically a backgrounded function)?

The way WINE works, you can't "start" it as a standalone application. It's designed to be 'called' by the launcher of anything you wish to run with it....and then it runs underneath, translating the Windows system calls into POSIX-compliant ones that Linux can work with. This, in a nutshell, is what it does; it's a complex translation program, using an "encapsulated", isolated basic install of Windows - running in "real-time" - that is separated & sandboxed from your system proper.

Frankly, it's a flamin' miracle that it DOES work......but it does, and just seems to work better & better, release by release. The current, 9-series builds are a world away from the very early 0- and 1-series versions of WINE, and will now run both 32- AND 64-bit Windows applications by means of the Windows SysWOW stuff, auto-selecting as required.


Mike. ;)
 
Last edited:

Members online


Top