1.ubuntuä¸å®è£
wine
2.å¦ä½å¨ubuntuä¸è£
rpmå
ubuntuä¸å®è£ wine
Ubuntuå®è£ wineä¸è¬ä½¿ç¨ä¸¤ç§æ¹å¼ï¼æºç ç¼è¯æè ä»ç½ç»æºå®è£ ã æºç ç¼è¯å®è£ ç¸å¯¹æ¯è¾ç¨³å®ï¼é度快ãæçé«ï¼ä½æ¯éè¦æ¶é´ç¼è¯ï¼ç¸æ¯ä¸åéçæºå®è£ ï¼å ååéçç¼è¯ç¡®å®å¾é¿ãæºå®è£ æ¯å«äººå·²ç»å¸®ä½ ç¼è¯å¥½çäºï¼ä½æ¯å®è£ 以ååºç°åéå¥æªé®é¢çå çè¾é«ãä¸è¬æ¥è¯´æ¯è¿æ ·ï¼æ以è¿æ¯ç¼è¯å®è£ æ¯è¾å¥½ã
ç¼è¯å®è£ æ让人头ççæ¯è§£å³å çä¾èµæ§é®é¢ãå®è£ wineä½ éè¦å®è£ ä¸é¢çå ï¼åªè¦ä½ çubuntuè½å¤ä¸ç½ï¼æå¯ç¨çå®è£ æºï¼é£å°±å¯ä»¥æ¯è¾è½»æ¾äºã
1ãæå¼ç»ç«¯ï¼è¾å ¥
代ç :
sudo apt-get install flex bison
代ç :
sudo apt-get install build-essential
代ç :
sudo apt-get install gcc libc6-dev fakeroot libglib1.2-dev libglib2.0-dev libltdl3-dev libmad0-dev libmng-dev libodbcinstq1c2 libogg-dev libpng-dev libqt3-headers libqt3-mt-dev libvorbis-dev libxft-dev libxi-dev libxinerama-dev libxmu-dev libxmu-headers libxmuu-dev libxpm-dev libxtrap-dev libxtst-dev libxv-dev libxxfdga-dev qt3-dev-tools render-dev unixodbc-dev x-dev xproto-record-dev xproto-trap-dev xproto-video-dev xproto-xfdga-dev xlibs-dev fontforge flex bison libxext6
æ示è¾å ¥å¯ç æ¶è¾å ¥å¯ç ï¼è¾å ¥æ¶å±å¹ä¸ä¼åºç°æåï¼ç¡®è®¤è¾å ¥æ£ç¡®åæå车就å¯ä»¥äºã注ææ¯ä¸ªå çååä¹é´è¦æç©ºæ ¼ã
2ãä¸è½½ææ°çWineçæºç å ï¼ææ°çæ¯1.1.0ï¼æå å¥æ³¨éï¼å½æ¶ä»åæ¶è¿æ¯1.0æ£å¼åå¸çç)
åºç°å¯¹è¯æ¡åï¼ç¹å»installï¼ç¨åºä¼èªå¨ä¸è½½å®è£ geckoï¼å¤§æ¦éè¦åéï¼å®è£ æåä¼åºç°googleçä¸æ主页ã
4ãä¸æ设置
è¿ä¸ªæ¹æ³çä¸æ设置ï¼å¯ä»¥è§£å³CS1.6çä¸ææ¾ç¤ºï¼å¯ä»¥å®å ¨æ¾ç¤ºã
æä¸é¢è¿æ®µä»£ç å¦å为zh.reg ï¼ç¶åå¨ç»ç«¯ä¸é¢è¾å ¥ï¼âregedit zh.regâ ä»Windowsç®å½ä¸çFontséçsimsun.ttcå¤å¶å°/home/user/.wine/drive_c/windows/fontséé¢ã
代ç :
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"Arial"="simsun"
"Arial CE,源码金刚影视源码"="simsun"
"Arial CYR,"="simsun"
"Arial Greek,"="simsun"
"Arial TUR,"="simsun"
"Courier New"="simsun"
"Courier New CE,"="simsun"
"Courier New CYR,"="simsun"
"Courier New Greek,"="simsun"
"Courier New TUR,"="simsun"
"FixedSys"="simsun"
"Helv"="simsun"
"Helvetica"="simsun"
"MS Sans Serif"="simsun"
"MS Shell Dlg"="simsun"
"MS Shell Dlg 2"="simsun"
"System"="simsun"
"Tahoma"="simsun"
"Times"="simsun"
"Times New Roman CE,"="simsun"
"Times New Roman CYR,"="simsun"
"Times New Roman Greek,"="simsun"
"Times New Roman TUR,"="simsun"
"Tms Rmn"="simsun"
5ãé¨åDLL设置
å°çå®windowsä¸çsystemæ件夹ï¼C:\WINDOWS\systenmï¼éå¤å¶ mfc.dll,msvcp.dll,riched.dll,riched.dllè¿å 个æ件å°/home/user/.wine /drive_c/windows/systemæ件éï¼éè¦è¦çæ¶ç¡®å®ãå ¶ä»dllæ件ä¸è¦é便è¦çï¼è¦åå¤ä»½ã
6ãå¦æç¼è¯å®è£ éä¸åºç°ç±»ä¼¼ä¸é¢çé误ï¼æ¤æ®µè±è¯æ¯å ä¸ºä½ æ²¡æå®è£ ç¸å ³çdevelæ¯æï¼å¦ææ¯ç¨gonmeæ¡é¢çï¼è¯·å¨æ¡é¢è¾å ¥ï¼sduo apt-get install gnome-devel ä¸è½½å®è£ å®åå次æ§è¡ç¼è¯å®è£ wineå³å¯ã
configure: WARNING: X development files not found. Wine will be built
without X support, which probably isn't what you want. You will need to install
development packages of Xlib/Xfree at the very least
å¦ä½å¨ubuntuä¸è£ rpmå
Ubuntuç软件å æ ¼å¼æ¯debï¼å¦æè¦å®è£ rpmçå ï¼åè¦å ç¨alienærpm转æ¢ædebã
sudo apt-get install alien #aliené»è®¤æ²¡æå®è£ ï¼æ以é¦å è¦å®è£ å®
sudo alien xxxx.rpm #å°rpm转æ¢ä½debï¼å®æåä¼çæä¸ä¸ªååçxxxx.deb
sudo dpkg -i xxxx.deb #å®è£
注æï¼ç¨alien转æ¢çdebå 并ä¸è½ä¿è¯%顺å©å®è£ ï¼æ以å¯ä»¥æ¾å°debæ好ç´æ¥ç¨deb
ææ¶åï¼æ们æ³è¦ä½¿ç¨ç软件并没æ被å å«å° Ubuntu çä»åºä¸ï¼èç¨åºæ¬èº«ä¹æ²¡ææä¾è®© Ubuntu å¯ä»¥ä½¿ç¨ç deb å ï¼ä½ åä¸æ¿ä»æºä»£ç ç¼è¯ãä½åå¦è½¯ä»¶æä¾æ rpm å çè¯ï¼æ们ä¹æ¯å¯ä»¥å¨ Ubuntu ä¸å®è£ çã
æ¹æ³ä¸ï¼
1. å å®è£ alien å fakeroot è¿ä¸¤ä¸ªå·¥å ·ï¼å ¶ä¸åè å¯ä»¥å° rpm å 转æ¢ä¸º deb å ãå®è£ å½ä»¤ä¸ºï¼
sudo apt-get install alien fakeroot
2. å°éè¦å®è£ ç rpm å ä¸è½½å¤ç¨ï¼å设为 package.rpmã
3. ä½¿ç¨ alien å° rpm å 转æ¢ä¸º deb å ï¼
fakeroot alien package.rpm
4. ä¸æ¦è½¬æ¢æåï¼æ们å¯ä»¥å³å»ä½¿ç¨ä»¥ä¸æ令æ¥å®è£ ï¼
sudo dpkg -i package.deb
æ¹æ³äºï¼
1.CODE:
sudo apt-get install rpm alien
2.CODE:
alien -d package.rpm
3.CODE:
sudo dpkg -i package.deb
转åç
2024-12-23 01:41
2024-12-23 01:32
2024-12-23 01:17
2024-12-23 01:01
2024-12-23 00:41
2024-12-23 00:18
2024-12-22 23:18
2024-12-22 23:00