Which packages make Wine under Ubunto 9.1 ?
Posted by: JamesD
Date: November 20, 2009 05:06AM

I am looking in the package manager for wine. I see the following items.
wine
wine 1.2
wine 1.2 dbg
wine 1.2 dev
wine 1.2 gecko
wine-dev
winefish
wine-gecko

How many of these items do I need to put a check by so that they will download and install? I just want to be able to try KM on my Linux box.

Re: Which packages make Wine under Ubunto 9.1 ?
Posted by: Fred
Date: November 20, 2009 10:32AM

I presume that you have already opened Synaptic
and enabled in the menu Settings/Repositories all available
software sources including universe and multiverse.
After enabling them Reload is necessary.
Searching for Wine shows "wine" and "wine1.2" in the list.
"wine" is version 1.0.1 , probably the valid stable version.
"wine1.2" is version 1.0.31 , probably the latest version,
which probably is a so-called unstable version, which is
usually working allright, but has no guarantee to be stable yet.
You can try both versions, the newer one will be supporting
more program functions in specific programs, but is not necessary
better for a certain windows application, it may even be vice versa
for some.
Synaptic will install other .deb files additionally, among them
wine-gecko as well. For wine1.2 about 35 Mb will be downloaded.
Do not forget that K-Meleon will need msvcp71.dll and msvcr71.dll
inside the K-Meleon main folder to work in Linux. You can find
them in your Windows or download them from the internet.
Put K-Meleon into a folder where you have all user rights to
read, write and execute. The profile will be created in the
configuration folder ".wine" inside your home directory
or inside the K-Meleon main folder, depending on your choice,
where it should be created.

Fred

Re: Which packages make Wine under Ubunto 9.1 ?
Posted by: JamesD
Date: November 20, 2009 09:51PM

@ Fred

Thank you for the information.

I am beginning to understand why linux is not gaining ground on Windows for personal desktops. I marked wine to install, but it needs to mark other packages. That sound OK, but then some of them can't be marked. The first one was libaubio2. So now I try to load that first, but it has packages that are not installable.

I think staying with Windows XP may just be right.

Re: Which packages make Wine under Ubunto 9.1 ?
Posted by: Fred
Date: November 21, 2009 01:35AM

I would give it another try.

I had no problems installing Wine1.2 on Ubuntu 9.10 Karmic Koala.
libaudio2 was installed as it should, but I know that
sometimes some packages can be uninstallable, although
usually only, if a package from a different Ubuntu version
has been installed before.
For Wine, it should be possible to install it in a different way.
because Ubuntu loads a lot of additional packages together
with Wine that are not forcefully necessary for Wine
to work. May be s o m e programs supported by Wine may
not work, if some additional packages are missing, but to
use K-Meleon, it will be sufficient to install the
Slackware Wine package from the original site winehq.org,
which is a binary Tarball of only 13 Mb, that can be installed by hand.
You can download with Firefox for example Wine 1.1.23 ,
clicking on the following link :

http://sourceforge.net/projects/wine/files/Slackware%20Packages/1.1.23/wine-1.1.23-i486-1kjz.tgz/download

In the Download window select "Save File" .
This will download a ".tgz" file. The Download will usually
be done to /home/ubuntu/Downloads.
Open Terminal in the menu Applications/Accessories.
Write the line :

sudo su

and press the Enter key.
This will give you temporary administrator rights (root rights).
On the next line go to the location, where your downloaded
Wine package is, probably /home/ubuntu/Downloads. Write :

cd /home/ubuntu/Downloads

and press the Enter key.
Always respect the correct spaces between the parts of the command.
To install the package write the line :

tar -C / -zxf wine-1.1.23-i486-1kjz.tgz

After typing w as the first letter of wine-1.1.23-i486-1kjz.tar.gz
you can press the Tabulator key and w will complete to
the full name.
Pressing the Enter key will install Wine.
To correct a missing symlink problem with libwine, write then :

mv /usr/lib/libwine.so.1.0 /usr/lib/libwine.so.1

Write then :

exit

to leave the root modus. Writing

winecfg

as user ubuntu will build the configuration folder ".wine" in /home/ubuntu

Until the official K-Meleon version has been installed, select
in the configuration window "Windows 98" as the current version.
This will later install the correct k-meleon.exe that will work in Linux.

To check the wine install, you can write :

wine --version

which should return "wine-1.1.23".

Download the K-Meleon-installer with Firefox to
/home/ubuntu/Downloads/ .
To install K-Meleon from Downloads write into the Terminal
(as user ubuntu, not as root !)

wine /home/ubuntu/Downloads/K-Meleon1.5.3en-US.exe

and press Enter.

Wine will start the installation.

In the location window click on "Browse" to change the location
of the installed K-Meleon.
To install to /home/ubuntu/ , I presume, that on your computer
you also will have to click on Z: , home ,and ubuntu, and OK.
This would show as Z:\home\ubuntu\ .
Complete the line to Z:\home\ubuntu\K-Meleon-1.5.3
Then clicking on Install would bring up a last window.
Uncheck there "Run K-Meleon 1.5.3" and click Finish.
The two dll-files that I mentioned before seem to be already
included in the official installer version.
You can install a link to K-Meleon with wine on the desktop
or try to start it right now from the Terminal
(as user, not as root), writing :

wine /home/ubuntu/K-Meleon-1.5.3/k-meleon.exe

This should start K-Meleon.
There should be already a link K-Meleon.lnk on the Desktop.
Right click on it --> Open with another application.
Select "Wine Windows Program Loader" at the bottom.
You can later make this permanent, in Properties of the link.

I hope that you succeed with your task. Linux is worth the effort.

Regards

Fred

Re: Which packages make Wine under Ubunto 9.1 ?
Posted by: JujuLand
Date: November 21, 2009 10:22PM

Fred really likes console command.

For ubuntu 8.10, but it ought to be ok with all the version (when wine hasn't yet been installed) :

1) Applications > Add/Remove > enter wine > install
2) goto wineHQ website, and search for keys and deb line to add to 'Software Sources'
3)copy and download it (if needed, I don't remember for the key)
4) Launch Software Sources, and add it to sources and keys
5) close Software sources

wine will than be in upgrade list

To update immediately, just open Synaptics and click Ctrl-R to actualize the list. wine ought to be in the list.

To install then K-Meleon, and other software, you can use two ways:

1) Install by default, but there is some problems (for me) to this.

When upgrading wine, by default, it uses by default .wine folder. It's normal, but it sometimes arrive that the actual own config crash after upgrading. So, you'll then need to rename .wine, and launch again wine to create a new config. And obviously all the parameters and programs have to be installed again, and wine parameters have sometimes to be set again. All this is obviously a real pain ...

2) create a folder under /opt (in sudo mode) : Program Files
Change the rights of this folder from root to jamesd if it's thez name of your group
PropriƩtaire: jamesd > create...
Group : users > create ....
Others : List only
Execute : chech it
Appli change for all the include files

3) install K-Meleon
If you keep the user folder for profile, it will be located under ~/.wine/drive_c/users/jamesd/Applications Data/K-Meleon/Profiles .....

The advantages of this way are:

- you haven't to install again if you must rename .wine
- it's easy to change the path given by setups : just replace C by E
- it install for all the users

The things to do not to have problems:

- If you have more than one user who use the program installed under /opt/program files, to avoid problems, just update the rights of program files (appli change will update of the rights of all the files) after an install
- To update which is out of date with your installed programs (when renaming .wine) you'll must to launch SetDefault for K-Meleon, and sometimes to reinstall programs. That's why, when I install a program, I search for installed keys for that program, and I export and keep it in regfiles I will merge (it's a text file). It's easiest to import a key than to install again a program.

It's also a way I have used to easily install a windows program under wine (using the windows registry).

But, obviously, it's generally not necessary to rename .wine, just one time or two, I had this problem.

Last thing, I have a command line to trace crash, and in this case, it must be launched from within a console:

alain:~$ WINEDEBUG=fixme-all,err-toolbar wine /opt/Program\ Files/K-Meleon153/k-meleon.exe &> /home/alain/Bureau/Crash\ K-Meleon.txt

You will have to just modify it to your own config. You can notice how you can have a space in the name without using "", just replace <space> by \<space>

Hoping it can helps

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:31.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/75.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr





Edited 2 time(s). Last edit at 11/21/2009 10:26PM by JujuLand.

Re: Which packages make Wine under Ubunto 9.1 ?
Posted by: JamesD
Date: November 27, 2009 03:34AM

Thanks to Fred & Jujuland for all your help.

I went back and tried the wine install again. It worked this time. I think I must have not had all sources included for the previous try. I am now going through all your notes to see where exactly to copy the KM stuff. I have gotten Fred's 354 zip and used 7z to extract to a folder on my Win XP box. I have copied the two extra dll files from win32 to the KM folder. I plan to put the KM folder and all sub folders on a memory stick and move them to the Ubuntu box. My folder on the Ubuntu box is called james (lowercase). Can I just copy from the stick to james?

Jujuland, the only thing not complete in the wine install was font package from Microsoft. It may still be available elsewhere. I guess the ariel font is not on Linux? Should I try to get that before I move the KM folder?

Re: Which packages make Wine under Ubunto 9.1 ?
Posted by: JujuLand
Date: November 27, 2009 04:14AM

You can use the menu Add/Remove and search for 'Microsoft font', or, as you already have XP, you can copy the fonts in the linux folder.

I think the folder is /usr/share/fonts/truetype/msttcorefonts

You will then can try to use it with Ooo to see if it's ok.

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:31.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/75.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr




Re: Which packages make Wine under Ubunto 9.1 ?
Posted by: JamesD
Date: November 28, 2009 05:24AM

@ Jujuland

I have downloaded the 3.0 installer from this page. http://www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu/pool/multiverse/m/msttcorefonts/

It is the file at the botton of the list. I still have to figure out how an installer works in Linux. I will likely wait until I can get 354 working under Wine.

I am going to print out all of the instructions from yourself and Fred and go through them with a highlighter. I am very much a newbie on Linux. I have 20+ years of Windows experiance but less than 20 hours on Ubuntu.

Thank you for your help. I am sure to be back with more questions.

Re: Which packages make Wine under Ubunto 9.1 ?
Posted by: JujuLand
Date: November 28, 2009 07:07PM

Yes, it's the file ttf-mscorefonts-installer_3.0_all.deb. Download it and install it by just clicking on it.

After, you will be able to search for ttf files to see where they have been put.

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:31.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/75.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr





Edited 2 time(s). Last edit at 11/28/2009 07:09PM by JujuLand.

Re: Which packages make Wine under Ubunto 9.1 ?
Posted by: Fred
Date: November 29, 2009 01:30AM

As far as I know, Ubuntu 9.10 Karmic demands also
cabextract and possibly ttf-liberation to install
mscorefonts.
The easiest way is to open Synaptic from the menu
or if you don't find it, from a terminal console with
sudo synaptic
and install from there.
Enable first in Synaptic in the menu Settings/Repositories
all offered sources putting a hook on all.
Then push the Reload button to reload the packages list.
Click on the button Search and enter into the opening
search box :
ttf-mscorefonts-installer
to search.
Mark it for installation and allow to mark the additional
requested packages.
Then start the install button.

Another possibility is to create a folder ".fonts"
in /home/ubuntu and copy and paste the fonts
Arial etc that you want from your Windows into
this folder .fonts .
This will bring the fonts to Openoffice etc, for the
user ubuntu, but not for other users.
To make it general for all users, you would have to
put the Windows fonts into a new folder msttcorefonts in
/usr/share/fonts/truetype/ .

Fred

Re: Which packages make Wine under Ubunto 9.1 ?
Posted by: Fred
Date: November 29, 2009 02:20AM

P.S.

Don't forget :
If you use KM-F354 instead of the official KM version,
there has to be in addition to msvcp71.dll and msvcr71.dll
also mfc71u.dll in your K-Meleon main folder to make it work.
You can find it in the internet, if you don't have it yet.

Fred

Re: Which packages make Wine under Ubunto 9.1 ?
Posted by: JamesD
Date: November 29, 2009 06:01AM

I had missed the third file, mfc71u.dll. I found it on the system and have copied it to the KM_354 root folder.

Re: Which packages make Wine under Ubunto 9.1 ?
Posted by: JamesD
Date: December 05, 2009 07:45AM

I think I really do not understand the file system under Ubuntu. I have a folder called james. I created there a folder called k-meleon. I then copied the folder I named k-meleon-F354 into that folder. K-meleon-F354 was created on the windows machine. It has the extra dll files.

If I open a terminal window and type wine, that does call up the wine program. However when I type wine/james/k-meleon/k-meleon-F354/k-meleon.exe, I get a bash message saying no such file or directory.

I suspect that I have put something in a wrong place.

Re: Which packages make Wine under Ubunto 9.1 ?
Posted by: Fred
Date: December 05, 2009 08:44AM

There must always be a space between wine and the path to
k-meleon.exe .
For example
wine /james/k-meleon/k-meleon-F354/k-meleon.exe
But are you sure that it is in /james ?
If it is your HOME directory, it is usually
/home/james
That is how it usually is, if you have added a user account
"james" .
If the folder is really /james , it would be
in the uppermost level.
Be sure that you have all reading, writing and executing
rights for your user account in /james and all its subfolders.
And as already mentioned the command "wine" will only
work as a user, never in a root terminal, where you are root.

Fred

Re: Which packages make Wine under Ubunto 9.1 ?
Posted by: JamesD
Date: December 05, 2009 05:33PM

@ Fred

You are exactly right. The parent of folder james is home. I put it that way, added the space, and I now see the start page of F354.

Thanks

K-Meleon forum is powered by Phorum.