Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-04-2005, 04:06 PM
|
#1
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Rep:
|
How install the Wine program.
I downloaded the following file:
wine-20050211-mdk.i586.rpm
The idea is that I want to read my windows file using this program. My computer has both Windows and Linux. When it starts, I can select either Linux or Windows.
From the Linux side I want to read and copy some files on my Windows partition.
I am running Mandrake Linux 10.0
Could you help me to install the downloaded 'wine program' ?
What is the first step?
|
|
|
03-04-2005, 04:47 PM
|
#2
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
You install any .rpm file with
Code:
rpm -ivh <programname>.rpm
You will only really be able to access your Windows files if they are on a FAT32 partition, there are programs to allow read/write to NTFS, but they are very experimental and usually come with big disclaimers.
|
|
|
03-04-2005, 05:22 PM
|
#3
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Original Poster
Rep:
|
Thanks Xavier
I have them on Windows 2000; my windows side is Windows 2000. There are some important files in that partition. I must copy them to Linux. I have some grave problems in Windows 2000. It is almost a dead partition. I am going to partition it. Before doing it, I must copy some important files.
I will contact you again.
|
|
|
03-05-2005, 09:34 AM
|
#4
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Original Poster
Rep:
|
I have some problems of installing the program. I log in to the system as a root user and loóked for the downloaded file.
It was a 13MB file.
The following command searched the file.
find -name '*' -size +10000k
I used my Opera browser to download the program.
[hey@h27n2fls301o1037 hey]$ su root
Password:
[root@h27n2fls301o1037 hey]# find -name '*' -size +10000k
./Adobe Acrobat Reader for Linux/LINUXRDR.TAR
./.opera/download/wine-20050211-mdk.i586.rpm
./.opera/cache4/opr000M2.rpm
[root@h27n2fls301o1037 hey]#
---------------------------------------------------------------
[root@h27n2fls301o1037 hey]# cd Opera
[root@h27n2fls301o1037 Opera]#
--------------------------------------------------------------------------
[root@h27n2fls301o1037 Opera]# rpm -ivh wine-20050211-mdk.i586.rpm
error: open of wine-20050211-mdk.i586.rpm failed: No such file or directory.
What is the problem? It says no file or directory. That is rubbish. As you see in the given details, there is a file.
Please help me.
|
|
|
03-05-2005, 11:25 AM
|
#5
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
You need to cd to the download directory that is within the Opera directory.
|
|
|
03-05-2005, 12:55 PM
|
#6
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Original Poster
Rep:
|
Thanks Xavier.
I knew this. So I in vain tried to go into the folder called 'download'.
I got the following error message. It is very strange; it tells me there is no such folder.
[root@h27n2fls301o1037 hey]# cd Opera/
[root@h27n2fls301o1037 Opera]# ls
opera-7.54-20040803.5-shared-qt.i386-en/
opera-7.54-20040803.5-shared-qt.i386-en.tar.gz
opera_7.54-20050131.5-shared-qt_en_sarge_i386.deb
The above 'ls' command shows all the stuff inside the Opera folder.
Then I did the following:
[root@h27n2fls301o1037 Opera]# cd download/
bash: cd: download/: No such file or directory
[root@h27n2fls301o1037 Opera]#
Why it didn't find the folder called 'download' ?
|
|
|
03-05-2005, 12:58 PM
|
#7
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
From the results of your find, your RPM is in .opera/download, not in Opera. Note the leading . (which means the directory is hidden, so it won't show up in ls without the -a flag) and keep in mind the file/directory names in Linux are case sensitive.
|
|
|
03-05-2005, 01:11 PM
|
#8
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Original Poster
Rep:
|
I have a hunch that Mandrake doesn't support RPM. Because RPM comes from Red Hat.
I am not sure. I don't know much about those issues.
|
|
|
03-05-2005, 01:18 PM
|
#9
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Original Poster
Rep:
|
btmiller
I tried to go into the opera folder. It doesn't work. I did it as a root user. Why is that?
[root@h27n2fls301o1037 hey]# cd opera/
bash: cd: opera/: No such file or directory
[root@h27n2fls301o1037 hey]# cd opera
bash: cd: opera: No such file or directory
[root@h27n2fls301o1037 hey]# cd /opera
bash: cd: /opera: No such file or directory
[root@h27n2fls301o1037 hey]#
|
|
|
03-05-2005, 01:27 PM
|
#10
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Original Poster
Rep:
|
Now I found some clues. I must go into the folder called '.opera'. It worked.
Read the following:
[root@h27n2fls301o1037 hey]# cd .opera/
[root@h27n2fls301o1037 .opera]#
[root@h27n2fls301o1037 .opera]# ls
acpo/ download.dat menu/ opera-u.reg urlwarn.dir
adprefs.ini global.dat mouse/ pluginpath.ini userstyle.ini
Beanstalk.Standard images/ opera6.adr search.ini vlink4.dat
cache4/ jswarn.dir opera6.adr.bak sessions/
cookies4.dat keyboard/ opera6.ini skin/
download/ mail/ opera.dir toolbar/
[root@h27n2fls301o1037 .opera]# cd download/
[root@h27n2fls301o1037 download]# ls
wine-20050211-mdk.i586.rpm
It found the downloaded wine program. Afterwards I wrote the following:
[root@h27n2fls301o1037 download]# rpm -ivh wine-20050211-mdk.i586
error: open of wine-20050211-mdk.i586 failed: No such file or directory
[root@h27n2fls301o1037 download]# rpm -ivh 'wine-20050211-mdk.i586'
error: open of wine-20050211-mdk.i586 failed: No such file or directory
[root@h27n2fls301o1037 download]#
Why does it say no file here?
Last edited by Gins; 03-05-2005 at 01:28 PM.
|
|
|
03-05-2005, 01:32 PM
|
#11
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Original Poster
Rep:
|
I have succeded thanks to everybody. I take my hat off to everybody who supported me.
Read the following:
[root@h27n2fls301o1037 download]# rpm -ivh wine-20050211-mdk.i586.rpm
Preparing... ########################################### [100%]
package wine-20050211-mdk is already installed
[root@h27n2fls301o1037 download]#
|
|
|
03-05-2005, 01:37 PM
|
#12
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Original Poster
Rep:
|
It didn't created an icon on the desktop. How can I find the program?
|
|
|
03-05-2005, 01:54 PM
|
#13
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Original Poster
Rep:
|
I can't find the program. It has ĺanded somewhere on my computer. Where is it? I looked at the home folder. Nothing visible there.
I can use the 'find' command to search it. What is the name of it?
|
|
|
03-05-2005, 04:43 PM
|
#14
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
The program is called wine, you install and run Windows programs with:
wine /path/to/program/setup.exe
and run with
wine /path/to/program.exe
|
|
|
03-06-2005, 04:23 AM
|
#15
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Original Poster
Rep:
|
Thanks Xavier
I have one more question. Do I have to mount the Windows partition? It is called D:
It has Windows 2000 Professional version.
I just want to copy some important files to the Linux. Then I will format it and install Windows 2000 again. It has some big problems. I have no choice but to reformat.
Could you please tell me whether it is necessary to mount before running wine?
|
|
|
All times are GMT -5. The time now is 10:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|