but after I type this command It gives me an error.
sudo zypper install wine1.7 winetricks
Loading repository data…
Reading installed packages…
‘wine1.7’ not found in package names. Trying capabilities.
No provider of ‘wine1.7’ found.
‘winetricks’ not found in package names. Trying capabilities.
No provider of ‘winetricks’ found.
Resolving package dependencies…
First a forum technical thing:
Can you please use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.
I never installed Wine, but when I search for software in the repos I am subscribed to, I use YaST > Software > Software Management and then in the search field type: wine. And click Search. The you will see all packages that have that combination of characters and it is easy to choose amoxongst them what you want to install.
Thus, when I do this YaST excersize, I see the package name: wine. Thus not wine1.7 as you seem to think the name is.
BTW I do not know why you added that extra repo, because wine is in the standard OSS repo (you could have a reason for it though).