Wine installation help
Tags:
- Ubuntu
- Wine
Last response: in Linux/Free BSD
smith_
January 6, 2014 9:12:46 PM
Hello,
Im dualbooting chromium (or crouton, im not 100% sure lol, both have ubuntu unity desktops) from chrome os on my chromebook.
Im trying to download wine, so i can run some .exes from my usb...but im having issues.
I went on the winehq site (http://www.winehq.org/) and read the instructions for ubuntu derivatives.
So...this repository is supposed to be downloaded (https://launchpad.net/~ubuntu-wine/+archive/ppa), using ->(sudo add-apt-repository ppa:ubuntu-wine/ppa).
Then i sudo apt-get update...
Next, when i do( sudo apt-get install wine(1.6 or 1.7))
i get this error
->(E: unable to locate package, E:couldn't find any package by regx 'wine1.6').
Any ideas?
Im dualbooting chromium (or crouton, im not 100% sure lol, both have ubuntu unity desktops) from chrome os on my chromebook.
Im trying to download wine, so i can run some .exes from my usb...but im having issues.
I went on the winehq site (http://www.winehq.org/) and read the instructions for ubuntu derivatives.
So...this repository is supposed to be downloaded (https://launchpad.net/~ubuntu-wine/+archive/ppa), using ->(sudo add-apt-repository ppa:ubuntu-wine/ppa).
Then i sudo apt-get update...
Next, when i do( sudo apt-get install wine(1.6 or 1.7))
i get this error
->(E: unable to locate package, E:couldn't find any package by regx 'wine1.6').
Any ideas?
More about : wine installation
stillblue
January 6, 2014 11:22:34 PM
smith_
January 7, 2014 1:14:40 PM
stillblue said:
sudo apt-get install wine no version number, it will get the newest. You may find playonlinux and winetricks useful as well. I repeated all the steps then did (sudo apt-get install wine)...then the message below.
"package wine is not available, but is refered to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source.
E: Package 'wine' has no installation candidate"
m
0
l
Related resources
- How to install wine on ubuntu? - Forum
- How to install far cry 2 on wine - Forum
- Play World of Warcaft on Ubuntu through the Wine installer - Forum
- problems installing WINE - Forum
- help with memory installation 2 - Forum
halotherm
January 7, 2014 1:24:16 PM
The error:
E: unable to locate package usually means that the version of the program in the repositories has changed...
Just run
sudo apt-get update
sudo apt-get install wine
Not every windows program will work on wine, a list of apps and programs can be found at wine HQ:
http://www.winehq.org/
Hope that helps:
E: unable to locate package usually means that the version of the program in the repositories has changed...
Just run
sudo apt-get update
sudo apt-get install wine
Not every windows program will work on wine, a list of apps and programs can be found at wine HQ:
http://www.winehq.org/
Hope that helps:
m
0
l
smith_
January 7, 2014 1:56:01 PM
halotherm said:
The error:E: unable to locate package usually means that the version of the program in the repositories has changed...
Just run
sudo apt-get update
sudo apt-get install wine
I did those commands many times and am still getting the error. I think because im running ubuntu from a local host there is a conflict in getting the package. I am not sure =[
m
0
l
skittle
January 7, 2014 2:05:15 PM
smith_
January 7, 2014 3:46:17 PM
skittle said:
apt-cache search wine
will bring up a list of installable wine packages...
Here are the results:
libkwineffects1abi3
playonlinux
gnome-colors
gnome-exe-thumnailer
gnome-wine-icon-theme
q4wine
shiki-colors
shiki-wine-theme
tellico
tellico-data
tellico-scripts
unmass
wine1.4-common
winefish
wine-mono0.0.4
wine-mono0.0.8
wine-mono4.5.0
wine-mono4.5.2
(none of which are the latest wine version..from the ppa...)
m
0
l
skittle
January 7, 2014 4:15:39 PM
smith_
January 7, 2014 4:28:02 PM
skittle said:
It sounds as though the wine ppa was not added correctly. Are you connected to internet?run again and checkoutput for error/log info...
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo add-apt-respository ppa:ubuntu-wine/ppa
->No trusted keys found.
->Imported 1 (RSA 1).
And then i repeated the search and the list is the same..
For refrence, i am running ubuntu from chrome os developer shell...if that matters at all. (i am connected to the internet via wifi)
m
0
l
skittle
January 7, 2014 4:49:59 PM
smith_
January 7, 2014 4:54:19 PM
skittle
January 7, 2014 5:07:56 PM
ok well without knowing more information... hard to tell why it doesnt work. just know that ppa is not adding correctly. assume it is something to do with your niche installation method.
Advise you to set up manually the apt sources.
add these to file "/etc/apt/sources.list" you will need to be root (use su or sudo) to edit this file.
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main
Ubuntu version can be "precise","quantal","raring","saucy"...(aka 12.04,12.10,13.04,13.10)...without quotes.
then apt-get update
Advise you to set up manually the apt sources.
add these to file "/etc/apt/sources.list" you will need to be root (use su or sudo) to edit this file.
Quote:
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main
Ubuntu version can be "precise","quantal","raring","saucy"...(aka 12.04,12.10,13.04,13.10)...without quotes.
then apt-get update
m
0
l
skittle
January 7, 2014 5:12:15 PM
smith_
January 7, 2014 5:28:12 PM
A few quick questions..
1)Is there a way to find out what Ubuntu distro i have via the terminal?
2) To manually set up the apt sources i do commands below correct?,
->sudo deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu (ubuntu version here) main
->sudo deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu (ubuntu version here) main
-> sudo apt-get update
3) How exactly do i pipe '|' to turn on scrolling or copy/paste features? (im a bit confused)
I tried dmesg | less, but then i couldn't enter any commands to test the scroll feature.
1)Is there a way to find out what Ubuntu distro i have via the terminal?
2) To manually set up the apt sources i do commands below correct?,
->sudo deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu (ubuntu version here) main
->sudo deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu (ubuntu version here) main
-> sudo apt-get update
3) How exactly do i pipe '|' to turn on scrolling or copy/paste features? (im a bit confused)
I tried dmesg | less, but then i couldn't enter any commands to test the scroll feature.
m
0
l
stillblue
January 8, 2014 1:32:10 AM
smith_ said:
A few quick questions..1)Is there a way to find out what Ubuntu distro i have via the terminal?
2) To manually set up the apt sources i do commands below correct?,
->sudo deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu (ubuntu version here) main
->sudo deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu (ubuntu version here) main
-> sudo apt-get update
3) How exactly do i pipe '|' to turn on scrolling or copy/paste features? (im a bit confused)
I tried dmesg | less, but then i couldn't enter any commands to test the scroll feature.
No, you have to edit /etc/apt/sources.list
since it is a systems file so to speak you need to be root AKA administrator
sudo gedit /etc/apt/sources.list
This will open the file sources.list in a basic editor like notepad
Add these lines to the list
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main
you can see what version you have by looking at the other lines in the list as long as you are there. ubuntu raring main for example.
Save the file.
sudo apt-get update
sudo apt-get install wine winetricks playonlinux
m
0
l
smith_
January 8, 2014 11:38:58 AM
Alright, there was problems..
heres lines from gedit sources.list
"deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ precise-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ precise main restricted universe multiverse"
I added the two ppa lines exactly with percise as version, but when i apt-get update, it reads packages then says there is a duplicate "W: Duplicate sources.list entry, run apt-get update to fix this problem."
Then i do 'apt-get update' again and do 'apt-cache search wine' and both don't change.
heres lines from gedit sources.list
"deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ precise-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ precise main restricted universe multiverse"
I added the two ppa lines exactly with percise as version, but when i apt-get update, it reads packages then says there is a duplicate "W: Duplicate sources.list entry, run apt-get update to fix this problem."
Then i do 'apt-get update' again and do 'apt-cache search wine' and both don't change.
m
0
l
skittle
January 8, 2014 1:00:31 PM
smith_
January 8, 2014 1:29:56 PM
skittle
January 8, 2014 1:59:52 PM
smith_
January 8, 2014 2:27:06 PM
skittle said:
sudo apt-get update >> update.txtwill pipe the output to a plain text file
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ports.ubuntu.com precise-security Release.gpg
Hit http://ports.ubuntu.com precise Release.gpg
Hit http://us.archive.ubuntu.com precise Release.gpg
Get:1 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:2 http://us.archive.ubuntu.com precise-security Release.gpg [198 B]
Hit http://ports.ubuntu.com precise-security Release
Hit http://ppa.launchpad.net precise Release
Hit http://us.archive.ubuntu.com precise Release
Get:3 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Hit http://ports.ubuntu.com precise Release
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ports.ubuntu.com precise-security/main armhf Packages
Hit http://ports.ubuntu.com precise-security/restricted armhf Packages
Hit http://ports.ubuntu.com precise-security/universe armhf Packages
Hit http://ports.ubuntu.com precise-security/multiverse armhf Packages
Hit http://ports.ubuntu.com precise-security/main TranslationIndex
Hit http://ports.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://ports.ubuntu.com precise-security/restricted TranslationIndex
Hit http://ports.ubuntu.com precise-security/universe TranslationIndex
Hit http://ppa.launchpad.net precise/main armhf Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Get:4 http://us.archive.ubuntu.com precise-security Release [49.6 kB]
Hit http://ports.ubuntu.com precise/main armhf Packages
Hit http://ports.ubuntu.com precise/restricted armhf Packages
Hit http://ports.ubuntu.com precise/universe armhf Packages
Hit http://ports.ubuntu.com precise/multiverse armhf Packages
Hit http://ports.ubuntu.com precise/main TranslationIndex
Hit http://ports.ubuntu.com precise/multiverse TranslationIndex
Hit http://ports.ubuntu.com precise/restricted TranslationIndex
Hit http://ports.ubuntu.com precise/universe TranslationIndex
Hit http://ports.ubuntu.com precise-security/main Translation-en
Hit http://ports.ubuntu.com precise-security/multiverse Translation-en
Hit http://ports.ubuntu.com precise-security/restricted Translation-en
Hit http://ports.ubuntu.com precise-security/universe Translation-en
Hit http://ports.ubuntu.com precise/main Translation-en
Hit http://ports.ubuntu.com precise/multiverse Translation-en
Hit http://ports.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://ports.ubuntu.com precise/universe Translation-en
Get:5 http://us.archive.ubuntu.com precise-updates/main Sources [432 kB]
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Get:6 http://us.archive.ubuntu.com precise-updates/restricted Sources [7,039 B]
Get:7 http://us.archive.ubuntu.com precise-updates/universe Sources [101 kB]
Get:8 http://us.archive.ubuntu.com precise-updates/multiverse Sources [8,468 B]
Get:9 http://us.archive.ubuntu.com precise-security/main Sources [95.1 kB]
Get:10 http://us.archive.ubuntu.com precise-security/restricted Sources [2,494 B]
Get:11 http://us.archive.ubuntu.com precise-security/universe Sources [29.9 kB]
Get:12 http://us.archive.ubuntu.com precise-security/multiverse Sources [1,792 B]
Fetched 777 kB in 5s (149 kB/s)
Reading package lists...
W: duplicate source.list entry..http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/precise... armhf packages (/var/lib/apt/lists/ppa.launchpad.net_ubuntu-win_ppa_ubuntu_dists_precise_main_binary-armhf_packages)
W: you may want to run apt-get update to correct these problems.
m
0
l
stillblue
January 9, 2014 12:44:07 AM
smith_
January 9, 2014 12:59:44 PM
stillblue said:
Until skittle creates some magic, have you tried opening synaptic and installing wine from there? If you don't have synaptic installed sudo apt-get install synaptic
1.4 is the newest version in the repositories, they do tend to lag some. If you see 1.6 then your ppa worked.
Idk why ppa isnt working, but is wine 1.4 sufficient enough for .exes?
m
0
l
stillblue
January 9, 2014 3:25:03 PM
smith_
January 10, 2014 7:43:35 PM
stillblue
January 11, 2014 12:15:54 AM
smith_
January 12, 2014 1:38:49 PM
smith_
January 12, 2014 10:18:16 PM
I probably should have posted this sooner... but this is how i installed my linux..
http://www.howtogeek.com/162120/how-to-install-ubuntu-l...
http://www.howtogeek.com/162120/how-to-install-ubuntu-l...
m
0
l
stillblue
January 12, 2014 11:40:20 PM
smith_ said:
stillblue said:
First try sudo dpkg --configure -a
This will gently try to install packages that didn't completely install
if you still get the error then try
sudo apt-get install -f
This will insist on installing packages that didn't completely install
Unfortunately didnt work.
Is it still saying you have broken packages?
If so, go into synaptic and click on the "status" button on lower left to see what is broken.
m
0
l
smith_
January 13, 2014 11:06:06 PM
stillblue said:
smith_ said:
stillblue said:
First try sudo dpkg --configure -a
This will gently try to install packages that didn't completely install
if you still get the error then try
sudo apt-get install -f
This will insist on installing packages that didn't completely install
Unfortunately didnt work.
Is it still saying you have broken packages?
If so, go into synaptic and click on the "status" button on lower left to see what is broken.
No, it says its missing wine1.4 (apparently wine1.4-common isnt wine1.4?)
m
0
l
stillblue
January 14, 2014 12:52:28 AM
Let's take it back to the beginning.
sudo gedit /etc/apt/sources.list
remove the ppa lines from before
sudo rm /var/lib/apt/lists/* -vf
sudo dpkg --clear-avail
sudo rm /var/lib/apt/lists/* --force
sudo dpkg --configure -a
sudo reboot
sudo apt-get update
sudo apt-get install wine winetricks playonlinux
sudo gedit /etc/apt/sources.list
remove the ppa lines from before
sudo rm /var/lib/apt/lists/* -vf
sudo dpkg --clear-avail
sudo rm /var/lib/apt/lists/* --force
sudo dpkg --configure -a
sudo reboot
sudo apt-get update
sudo apt-get install wine winetricks playonlinux
m
0
l
smith_
January 15, 2014 1:46:22 PM
smith_
January 15, 2014 1:46:23 PM
Alabalcho
January 15, 2014 6:22:04 PM
skittle
January 15, 2014 10:21:35 PM
Alabacho you bring up a valid point!. Not all chromebooks are ARM, lots are x86 based. You can check with command:
and btw yes there is wine for ARM. though definitely not in the ubuntu PPA.
http://wiki.winehq.org/ARM
uname -a
and btw yes there is wine for ARM. though definitely not in the ubuntu PPA.
http://wiki.winehq.org/ARM
m
0
l
smith_
January 16, 2014 11:32:03 PM
skittle said:
Alabacho you bring up a valid point!. Not all chromebooks are ARM, lots are x86 based. You can check with command:
uname -a
and btw yes there is wine for ARM. though definitely not in the ubuntu PPA.
http://wiki.winehq.org/ARM
I wasnt sure that made a difference. My friend told me to get the one with the ARM processor because of its performance. I guess it makes sense since ARM is an phone/tablet based ISA.
How does the wine installation change ?
m
0
l
Alabalcho
January 17, 2014 9:36:42 AM
@Smith, did you read that Wiki? It says - yes, it is possible (somehow) to use Wine on Arm, but this involves using QEMU, in x86 emulation mode (as opposed to running Wine on x86 processor in virtualization mode). So, I doubt you will find point-and-click way to achive that.
What programs you would like to run on Wine?
What programs you would like to run on Wine?
m
0
l
smith_
January 17, 2014 1:12:10 PM
Alabalcho said:
@Smith, did you read that Wiki? It says - yes, it is possible (somehow) to use Wine on Arm, but this involves using QEMU, in x86 emulation mode (as opposed to running Wine on x86 processor in virtualization mode). So, I doubt you will find point-and-click way to achive that.What programs you would like to run on Wine?
I wanted to run some .exes from my usb. Like dosbox.
m
0
l
Alabalcho
January 17, 2014 4:17:19 PM
Whaww... DosBox itself is an emulator, so you want to run an x86 emulator inside x86 emulator on top or ARM... I think you better start looking for native DosBox port for ARM.
Edit: Just searched, there is DosBox port for RaspberryPi' Debian, so if you're smart, there's chance you can make it running under ChromeOs as well. Once again, I have no experience whatsoever with ChromeOs.
Edit: Just searched, there is DosBox port for RaspberryPi' Debian, so if you're smart, there's chance you can make it running under ChromeOs as well. Once again, I have no experience whatsoever with ChromeOs.
m
0
l
Related resources
- SolvedNeed help about the Installation Gtx 970 Forum
- SolvedVideo card/PSU installation problem please help Forum
- SolvedHelp with installation Forum
- SolvedWindows 8 installation ISO help Forum
- SolvedSSD Installation As Boot Drive On Existing Build With Same OS Help? (Windows 8.1) Forum
- SolvedHelp with cable installation CPU+L.COOLER+FANS+CASE Forum
- Solved(solved)1 st custom build not working after chipset installation from cd please help if you can. Forum
- SolvedWindows XP installation problem. Please Help! Forum
- SolvedWindows 7 Professional 64 bit Installation - Looking for help Forum
- SolvedWindows 7 Installation Help Needed! Forum
- SolvedInternal Sound Card installation HELP needed Forum
- SolvedWireless Card Installation HELP!! (waiting online) Forum
- SolvedCooler Master Hyper T4 installation. HELP!!! Forum
- Solvedamd raid Windows 7 installation help me !! Forum
- SolvedNeed help with new motherboard and CPU installation Forum
- More resources
!