Can't seem to install wine

Questions about Wine on Linux
Locked
amendoa4ever
Newbie
Newbie
Posts: 4
Joined: Tue Feb 22, 2022 11:34 am

Can't seem to install wine

Post by amendoa4ever »

I am an extreme novice to linux and have tried to install wine on my linux beta on my Chromebook. I have tried the tutorial on the website and search for many others. But I can't seem to get it to install. Please help telling me what I am doing wrong.
Here is one of my tries (after researching how to copy and paste from linux).

Code: Select all

amendoa4ever@penguin:~$ sudo apt update
Hit:1 https://deb.debian.org/debian bullseye InRelease
Hit:2 https://dl.winehq.org/wine-builds/debian bullseye InRelease
Hit:3 https://deb.debian.org/debian bullseye-updates InRelease
Hit:4 https://deb.debian.org/debian-security bullseye-security InRelease
Ign:5 https://storage.googleapis.com/cros-packages/98 bullseye InRelease
Hit:6 https://storage.googleapis.com/cros-packages/98 bullseye Release
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
amendoa4ever@penguin:~$ sudo apt install gnupg2 wget ca-certificates
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20210119).
gnupg2 is already the newest version (2.2.27-2).
wget is already the newest version (1.21-1+deb11u1).
wget set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
amendoa4ever@penguin:~$ which apt-key
/usr/bin/apt-key
amendoa4ever@penguin:~$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
File ‘winehq.key’ already there; not retrieving.

amendoa4ever@penguin:~$ sudo atp-key add winehq.key
sudo: atp-key: command not found
amendoa4ever@penguin:~$ sudo apt-key add winehq.key
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
amendoa4ever@penguin:~$ wget -O- -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_11/Release.key | sudo apt-key add -    
echo "deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_11 ./" | sudo tee /etc/apt/sources.list.d/wine-obs.list
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_11 ./
amendoa4ever@penguin:~$ wine --version
-bash: wine: command not found
amendoa4ever@penguin:~$ wine --help
-bash: wine: command not found
amendoa4ever@penguin:~$ ^C
amendoa4ever@penguin:~$ 
PS I am a horrible speller.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Can't seem to install wine

Post by jkfloris »

You have completed the first steps.
It looks like you can install Wine with:

Code: Select all

sudo apt install --install-recommends winehq-stable
amendoa4ever
Newbie
Newbie
Posts: 4
Joined: Tue Feb 22, 2022 11:34 am

Re: Can't seem to install wine

Post by amendoa4ever »

I was finally able to get it to install. Thanks!
Locked