desconocido
2010-May-27 16:08 UTC
[Wine] Re: How can I install Wine on a computer without internet access
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?p=9353256#post9353256> 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
2010-May-27 16:40 UTC
[Wine] Re: How can I install Wine on a computer without internet access
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/main/g/gcc-4.4/lib32gcc1_4.4.1-4ubuntu8_amd64.deb Ubuntu 10: http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.4/lib32gcc1_4.4.3-4ubuntu5_amd64.deb (add "step1-" before filename when saving) 2) http://archive.ubuntu.com/ubuntu/pool/main/n/ncurses/lib32ncurses5_5.7+20090803-2ubuntu2_amd64.deb (rename "step2-lib32ncurses5_5.7+20090803-2ubuntu2_amd64.deb) 3) Ubuntu 9: http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.4/lib32stdc++6_4.4.1-4ubuntu8_amd64.deb Ubuntu 10: http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.4/lib32stdc++6_4.4.3-4ubuntu5_amd64.deb (add "step3-" before filename) 4) http://archive.ubuntu.com/ubuntu/pool/main/z/zlib/lib32z1_1.2.3.3.dfsg-13ubuntu3_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-proposed/+archive/ppa/+build/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/lib32nss-mdns/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!