How can I install Wine on a computer without internet access

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
desconocido
Level 2
Level 2
Posts: 12
Joined: Mon Apr 26, 2010 6:05 am

How can I install Wine on a computer without internet access

Post by desconocido »

Hi,

Couldn't find the answer searching the forum.

I would like install Wine on a system that has Ubuntu 9.10 but NO access to the Internet.

I have another system with Ubuntu 8.04 which can access Internet, but the instructions at http://www.winehq.org/download/deb
seem to imply that it would install the Wine on my 8.04 machine.

Is there any binary I could download that I could put on a CD-ROM or USB stick and install on to 9.10 from there? What happens if Wine wants more libraries?

Thanks if you can help me at all,

Bob
Altair
Level 2
Level 2
Posts: 33
Joined: Fri Aug 07, 2009 5:02 am

Post by Altair »

Download the source code (or de packages of your distribution) for all programs you need. Burn a CD with this and go to the computer without a Internet.
Jim Hall

How can I install Wine on a computer without internet access

Post by Jim Hall »

On Mon, Apr 26, 2010 at 6:40 AM, Altair <[email protected]> wrote:
Download the source code (or de packages of your distribution) for all
programs you need. Burn a CD with this and go to the computer without a
Internet.





You can also use the binary and install it with dpkg or gdebi.
Further updates will also require a manual transfer between the machines.

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
desconocido
Level 2
Level 2
Posts: 12
Joined: Mon Apr 26, 2010 6:05 am

Post by desconocido »

Also, I can see that I can get older binary versions from
http://wine.budgetdedicated.com/archive/index.html

but not more recent than wine 1.1.38
desconocido
Level 2
Level 2
Posts: 12
Joined: Mon Apr 26, 2010 6:05 am

Post by desconocido »

I downloaded the binary file from
http://wine.budgetdedicated.com/archive ... 1_i386.deb

as recommended at http://wine.budgetdedicated.com/archive/index.html

I put it on my non-internet computer and double-clicked it.

It opened with GDebi 0.5.9

I tried to install and got the error message
"Error: Dependency is not satisfiable: libaudio2"

Anyone know where I can get a package with this library in it.
I understand a bit about Synaptic, but not how to source stuff from a disk.
desconocido
Level 2
Level 2
Posts: 12
Joined: Mon Apr 26, 2010 6:05 am

source

Post by desconocido »

I downloaded the file wine-1.1.39.tar.bz2

from http://sourceforge.net/projects/wine/files/Source/

I put it on my non-internet computer and extracted the archive.

I followed the instructions in the README file to

Code: Select all

./tools/wineinstall
but it complained about a missing flex.

In fact it says
Basic requirements:
You need to have the X11 development include files installed
(called xlib6g-dev in Debian and XFree86-devel in Red Hat).

Of course you also need "make" (most likely GNU make).

You also need flex version 2.5 or later and bison.
So unless they come as standard in a default destop install of Ubuntu 9.10, I am probably missing most of these.

Anyone know where I can get a package with these in it?
I understand a bit about Synaptic, but not how to source stuff from a disk.
eps
Level 3
Level 3
Posts: 87
Joined: Tue Mar 18, 2008 11:44 pm

How can I install Wine on a computer without internet access

Post by eps »

On Thu, Apr 29, 2010 at 4:22 AM, desconocido <[email protected]> wrote:
So unless they come as standard in a default destop install of Ubuntu 9.10, I am probably missing most of these.

Anyone know where I can get a package with these in it?
I understand a bit about Synaptic, but not how to source stuff from a disk.





That is because Wine now releases Ubuntu debs via the PPA system. You
can find this by Googling ppa:ubuntu-wine/ppa and going to the project
page or an index of the files in the project. You will still require
all the dependencies to install this deb and for some applications you
may require the recommended packages too.

You can find the binary you need here:
http://ppa.launchpad.net/ubuntu-wine/pp ... w/wine1.2/
(Karmic is 9.10)

According to aptitude show wine1.2 these deps for a 64bit system are:
Depends: procps, binfmt-support (>= 1.1.2), ia32-libs (>= 1.6),
lib32asound2 (> 1.0.14), libc6-i386 (>= 2.6-1), lib32nss-mdns (>=
0.10-3)
PreDepends: dpkg (>= 1.14.12ubuntu3)
Recommends: ttf-tahoma-replacement, ttf-symbol-replacement,
ttf-liberation, winbind, wine1.2-gecko, ttf-mscorefonts-installer
Suggests: xdg-utils
desconocido
Level 2
Level 2
Posts: 12
Joined: Mon Apr 26, 2010 6:05 am

Post by desconocido »

desconocido wrote:I downloaded the binary file from
http://wine.budgetdedicated.com/archive ... 1_i386.deb

as recommended at http://wine.budgetdedicated.com/archive/index.html

I put it on my non-internet computer and double-clicked it.

It opened with GDebi 0.5.9

I tried to install and got the error message
"Error: Dependency is not satisfiable: libaudio2"
I tried reading the man page for apt. Nothing there, so I tried the man page for apt-get. That looks better. So tried using the apt-get --download-only option:

Code: Select all

~$ sudo apt-get --download-only install libaudio2
[sudo] password for bob: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libaudio2 is already the newest version.
libaudio2 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 99 not upgraded.
Er, did anything happen? Searching for files beginning with libaudio2 only finds old stuff in /var/lib/dpkg/info or /usr/share/doc.

Thanks.
desconocido
Level 2
Level 2
Posts: 12
Joined: Mon Apr 26, 2010 6:05 am

Re: How can I install Wine on a computer without internet ac

Post by desconocido »

eps wrote: You can find the binary you need here:
http://ppa.launchpad.net/ubuntu-wine/pp ... w/wine1.2/
(Karmic is 9.10)

According to aptitude show wine1.2 these deps for a 64bit system are:
Depends: procps, binfmt-support (>= 1.1.2), ia32-libs (>= 1.6),
lib32asound2 (> 1.0.14), libc6-i386 (>= 2.6-1), lib32nss-mdns (>=
0.10-3)
PreDepends: dpkg (>= 1.14.12ubuntu3)
Recommends: ttf-tahoma-replacement, ttf-symbol-replacement,
ttf-liberation, winbind, wine1.2-gecko, ttf-mscorefonts-installer
Suggests: xdg-utils
I tried this binary as well.

I put it on my non-internet computer and double-clicked it.

It opened with GDebi 0.5.9

I tried to install and got the same error message
"Error: Dependency is not satisfiable: libaudio2"
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: How can I install Wine on a computer without internet ac

Post by dimesio »

desconocido wrote: I tried this binary as well.

I put it on my non-internet computer and double-clicked it.

It opened with GDebi 0.5.9

I tried to install and got the same error message
"Error: Dependency is not satisfiable: libaudio2"
So you need to download and install a package with libaudio2 on the non-internet computer before you try to install Wine on it.
desconocido
Level 2
Level 2
Posts: 12
Joined: Mon Apr 26, 2010 6:05 am

Post by desconocido »

I downloaded libaudio2_1.8-4_i386.deb from
http://packages.debian.org/etch/i386/libaudio2/download

I put it on my non-internet computer and installed it with, I think, dpkg

That seemed OK.

I then again tried
wine_1.1.38~winehq0~ubuntu~9.04-0ubuntu1_i386.deb

This time I got
"Error: Dependency is not satisfiable: libopenal1"

I then again tried
wine1.2_1.1.44-0ubuntu1~karmicppa1_i386.deb

This time I got
"Error: Dependency is not satisfiable: libmpg123-0"

Hmm, this could go on for ever, especially as there is a two day turn round time getting a new library onto the non-internet computer.

Is there a version of Wine that works out of the box with with a non-upgraded install of Ubuntu Karmic 9.10 desktop?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

desconocido wrote: Hmm, this could go on for ever, especially as there is a two day turn round time getting a new library onto the non-internet computer.

Is there a version of Wine that works out of the box with with a non-upgraded install of Ubuntu Karmic 9.10 desktop?
You could try the version that ships with Karmic, which I believe is 1.0.1. But I wouldn't count on it--Wine has a lot of dependencies, and I doubt they would all be included on an install cd. Most distro installers assume internet access. (I don't use Ubuntu, so I don't know for sure.)

You might have better luck with openSUSE, which installs from a dvd that includes all the packages in their OSS and non-OSS repositories.

Otherwise, as you've already been told, you need to download all the dependencies, too, and install them first.
Jim Hall

How can I install Wine on a computer without internet access

Post by Jim Hall »

On Mon, May 24, 2010 at 6:31 AM, desconocido <[email protected]>wrote:
I downloaded libaudio2_1.8-4_i386.deb from
http://packages.debian.org/etch/i386/libaudio2/download

I put it on my non-internet computer and installed it with, I think, dpkg

That seemed OK.

I then again tried
wine_1.1.38~winehq0~ubuntu~9.04-0ubuntu1_i386.deb

This time I got
"Error: Dependency is not satisfiable: libopenal1"

I then again tried
wine1.2_1.1.44-0ubuntu1~karmicppa1_i386.deb

This time I got
"Error: Dependency is not satisfiable: libmpg123-0"

Hmm, this could go on for ever, especially as there is a two day turn round
time getting a new library onto the non-internet computer.

Is there a version of Wine that works out of the box with with a
non-upgraded install of Ubuntu Karmic 9.10 desktop?



If I understand the concept of Linux and open source in general, being able
to upgrade is essential for proper operation. As you have discovered, it's
painful otherwise. If you don't (or can't) connect this comp to the
internet, you might be able to connect it to another comp that is connected,
even temporarily, and use it like a server with every possible security
feature active. The term "mirror" comes to mind, but I'm not sure if that is
correct.

Just a thought,
JIm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
desconocido
Level 2
Level 2
Posts: 12
Joined: Mon Apr 26, 2010 6:05 am

Post by desconocido »

dimesio wrote: Don't double post.
Sorry?
desconocido
Level 2
Level 2
Posts: 12
Joined: Mon Apr 26, 2010 6:05 am

Re: How can I install Wine on a computer without internet ac

Post by desconocido »

Jim Hall wrote:If you don't (or can't) connect this comp to the
internet, you might be able to connect it to another comp that is connected,
even temporarily, and use it like a server with every possible security
feature active.
Thanks, but the computer is in a location where access to the Internet is not allowed. Also, the computer can not be moved.
Gert van den Berg

How can I install Wine on a computer without internet access

Post by Gert van den Berg »

On Mon, May 24, 2010 at 20:27, desconocido <[email protected]> wrote:
Jim Hall wrote:
If you don't (or can't) connect this comp to the
internet, you might be able to connect it to another comp that is connected,
even temporarily, and use it like a server with every possible security
feature active.
Thanks, but the computer is in a location where access to the Internet is not allowed. Also, the computer can not be moved.
Many package management systems have an option to generate a list of
URLs with files needed to update it / install packages...

Debian stable (with its about 100000 DVD's / CDs) have all packages
available on its CDs / DVDs, but downloading them is a mission

https://help.ubuntu.com/community/AptGet/Offline might help for your
ubuntu issues...

apt-get --print-uris should be able to do this... The exact place to
copy / extract the files you should see on the page linked above / ask
on the Ubuntu forums...

My guess of the process: (You probably want to add the key and
repository to your souces .list, run apt-get --print-uris update to
get URLs for repositories, get it on the offline PC, eun apt-get
--print-uris install wine to get URLs for packes and where to copy
them and the actually install the packages (with apt-get install wine
after the files have been copied to the right place..))

Tip: Ask you distribution for OS related questions... The Wine
community runs several distributions and most of those are not the
same as yours..

Gert
desconocido
Level 2
Level 2
Posts: 12
Joined: Mon Apr 26, 2010 6:05 am

Re: How can I install Wine on a computer without internet ac

Post by desconocido »

Gert van den Berg wrote: Tip: Ask you distribution for OS related questions... The Wine
community runs several distributions and most of those are not the
same as yours..
Good idea. I just got this comment at http://ubuntuforums.org/showthread.php? ... ost9353256
Re: A Wine version that works out of the box with Karmic?
Hello, desconocido,

You can use Keryx to download Wine and its dependencies to install on your offline computer.
__________________
Myth: Linux is only usable with a persistent Internet connection. WRONG!
You can use Keryx to download your .debs with dependencies from any OS!
I'll have a look at that (when the hardware fault on the computer is fixed!).

Thanks everybody.
Mugsy
Newbie
Newbie
Posts: 3
Joined: Wed May 26, 2010 12:45 pm

Running Wine from Ubuntu 64bit LiveCD.

Post by Mugsy »

Here is how to run Wine from the 64bit Ubuntu LiveCD (versions 9 & 10):
(naturally, you need a PC with Internet access to download the needed files.)
---------------------------
How to install Wine (a 32bit app) under the amd64 version of Ubuntu 9.10 & 10.04:

(NOTE: Installed applications are NOT saved between boots of the LiveCD even on USB. You will need to reinstall Wine with each reboot. So save EACH file so you don't have to re-download them every time.)

First, you must have Ubu installed on a 1gb or larger USB flash drive. WINE *will* install on a flashdrive with NO Persistent Storage partition, but you won't be able to save your desktop settings between boots. If you do include "Persistent Storage" when creating your flashdrive, you need at least 224MB of Persistant Storage to install Wine. If you dedicate ALL of your remaining free space (274MB on a 1gb drive) to Persistent Storage, you won't have enough room to run any programs.

Connect to the Internet (run "pppoeconf" from the Terminal.)

Since Wine is a 32bit app, it requires the ia32-lib files that no longer exist in the 64bit distributions of Ubuntu. The solution is to install the missing DEB packages first (remember to SAVE the downloads first):

Connect to the Internet and launch Firefox. Download, save, then install the following dependency files:

1) Ubuntu 9: http://archive.ubuntu.com/ubuntu/pool/m ... _amd64.deb

Ubuntu 10: http://archive.ubuntu.com/ubuntu/pool/m ... _amd64.deb
(add "step1-" before filename when saving)

2) http://archive.ubuntu.com/ubuntu/pool/m ... _amd64.deb
(rename "step2-lib32ncurses5_5.7+20090803-2ubuntu2_amd64.deb)

3) Ubuntu 9: http://archive.ubuntu.com/ubuntu/pool/m ... _amd64.deb

Ubuntu 10: http://archive.ubuntu.com/ubuntu/pool/m ... _amd64.deb
(add "step3-" before filename)

4) http://archive.ubuntu.com/ubuntu/pool/m ... _amd64.deb
(rename "step4-lib32z1_1.2.3.3.dfsg-13ubuntu3_amd64.deb")

(Next time you install these libraries, you do not need to be online. If you get a warning telling you "Same version is available in a software channel and you should get them there", ignore the warning and continue to install.)

The ia32-libs for the 64bit 2.7 kernel can be downloaded here (26.7MB):

https://launchpad.net/~ubuntu-security- ... ld/1151304
(rename the resulting file "step5-ia32-libs_2.7ubuntu6.1_amd64.deb")

Next, you will also need the "lib32nss-mdns" library for Wine to work:

http://packages.ubuntu.com/jaunty/amd64 ... s/download
(rename "step6-lib32nss-mdns_0.10-3ubuntu2_amd64.deb")

Open/install the libraries.

After installing the missing libraries, you can then install the amd64 version of Wine (save the link that matches your version of Ubu for reinstallation later):

http://wine.budgetdedicated.com/
(add "step7-" before the filename of your version when saving.)

Wine should now be included under "Applications" and as a Run option when you try to open a Windows .EXE executable. Next time you boot your Ubuntu LiveCD/LiveUSB, simply reinstall the libraries and the WINE installation package (you will not need an Internet connection.)

If you are not already online, connect now and launch "Configure Wine" from the Applications/Wine menu. Wine will prompt you to download and install "Gecko" (part of the Wine subsystem to allow embedded HTML). If you don't have Internet access, don't worry about it. You can run most applications without it.

Enjoy!
Locked