So i tried both of these guides because they were for debian
however when i enter: sudo apt-add-repository
Index of /wine-builds/debian
sudo: apt-add-repository: command not found
and on sudo apt-get install --install-recommends winehq-stable
Unable to locate package winehq-stable
I know i’m missing some whonix specific step, help would be much apreciated.
dnull from the forum helped me so for the future generations:
we open the foulder sources.list.d with the command :
sudo nano /etc/apt/sources.list.d/wine.list
we type in or copy paste: deb Index of /wine-builds/debian stretch main
ctrl+x to exit Y to save
sudo apt-get update
sudo apt-get install wine
No extra repositories should be required.
sudo apt-get install wine without any other commands should install it.
August 16, 2019, 5:44pm
When a command throws an error you can usually find an solution by searching for the error with a search engine.
For example, searching for keywords (in duckduckgo):
“sudo: apt-add-repository: command not found”
Returns this answer.
sudo apt-get install software-properties-common
You can use
apt search to search for a specific package name if you didn’t get it exactly right.
For example, in your usecase, you can look for packages with “wine” in the name by running
sudo apt search wine. This helps when you don’t know the exact name of the package.