導航:首頁 > 文件教程 > gstreamer教程14

gstreamer教程14

發布時間:2023-07-05 23:31:51

『壹』 centos7 /usr下lib和lib64有什麼區別

CentOS 7下安裝最新的Wine(wine1.7.33)可謂一波三折,對於我這種菜鳥級別的人來說,真不好裝!不過好在終於能夠使用了。下面記錄安裝過程:以後有時間在詳細敘說安裝的各個步驟:
CentOS 7安裝可以仿照:The right way to install Wine on CentOS 6 64bit 裡面給出了詳細步驟,下面就是仿照其安裝的!

[johnnyhu@localhost 下載]$ su root
密碼
[root@localhost 下載]# wget http://citylan.dl.sourceforge.net/project/wine/Source/wine-1.7.33.tar.bz2
[root@localhost 下載]# tar -xf wine-1.7.33.tar.bz2
[root@localhost 下載]# yum -y groupinstall 'Development Tools'
[root@localhost 下載]# yum -y install libX11-devel freetype-devel
[root@localhost 下載]# yum install alsa-lib-devel.i686 libsndfile-devel.i686 readline-devel.i686 glib2.i686 glibc-devel.i686 libgcc.i686 libstdc++-devel.i686 pulseaudio-libs-devel.i686 cmake portaudio-devel.i686 openal-soft-devel.i686 audiofile-devel.i686 freeglut-devel.i686 lcms-devel.i686 libieee1284-devel.i686 openldap-devel.i686 unixODBC-devel.i686 sane-backends-devel.i686 fontforge libgphoto2-devel.i686 isdn4k-utils-devel.i686 mesa-libGL-devel.i686 mesa-libGLU-devel.i686 libXxf86dga-devel.i686 libXxf86vm-devel.i686 giflib-devel.i686 cups-devel.i686 gsm-devel.i686 libv4l-devel.i686 fontpackages-devel ImageMagick-devel.i686 openal-soft-devel.i686 libX11-devel.i686 docbook-utils-pdf libtextcat tex-cm-lgc

[root@localhost 下載]# yum install alsa-lib-devel audiofile-devel.i686 audiofile-devel cups-devel.i686 cups-devel dbus-devel.i686 dbus-devel fontconfig-devel.i686 fontconfig-devel freetype.i686 freetype-devel.i686 freetype-devel giflib-devel.i686 giflib-devel lcms-devel.i686 lcms-devel libICE-devel.i686 libICE-devel libjpeg-turbo-devel.i686 libjpeg-turbo-devel libpng-devel.i686 libpng-devel libSM-devel.i686 libSM-devel libusb-devel.i686 libusb-devel libX11-devel.i686 libX11-devel libXau-devel.i686 libXau-devel libXcomposite-devel.i686 libXcomposite-devel libXcursor-devel.i686 libXcursor-devel libXext-devel.i686 libXext-devel libXi-devel.i686 libXi-devel libXinerama-devel.i686 libXinerama-devel libxml2-devel.i686 libxml2-devel libXrandr-devel.i686 libXrandr-devel libXrender-devel.i686 libXrender-devel libxslt-devel.i686 libxslt-devel libXt-devel.i686 libXt-devel libXv-devel.i686 libXv-devel libXxf86vm-devel.i686 libXxf86vm-devel mesa-libGL-devel.i686 mesa-libGL-devel mesa-libGLU-devel.i686 mesa-libGLU-devel ncurses-devel.i686 ncurses-devel openldap-devel.i686 openldap-devel openssl-devel.i686 openssl-devel zlib-devel.i686 pkgconfig sane-backends-devel.i686 sane-backends-devel xorg-x11-proto-devel glibc-devel.i686 prelink fontforge flex bison libstdc++-devel.i686 pulseaudio-libs-devel.i686 gnutls-devel.i686 libgphoto2-devel.i686 openal-soft-devel openal-soft-devel.i686 isdn4k-utils-devel.i686 gsm-devel.i686 samba-winbind libv4l-devel.i686 cups-devel.i686 libtiff-devel.i686 gstreamer-devel.i686 gstreamer-plugins-base-devel.i686 gettext-devel.i686 libmpg123-devel.i686

[root@localhost 下載]# ls
FoxitReader-v1.1.zip PDFStudio_v9_2_1_linux64.sh wine-1.7.15 wine-1.7.15.tar.bz2 wine-1.7.33 wine-1.7.33.tar.bz2
[root@localhost 下載]# cd
[root@localhost ~]# mkdir wine64
[root@localhost ~]# ls
anaconda-ks.cfg initial-setup-ks.cfg perl5 wine64
[root@localhost ~]# cd wine64
[root@localhost wine64]# /home/johnnyhu/下載/wine-1.7.33/configure --enable-win64
[root@localhost wine64]# make > make.log 2>&1

[root@localhost wine64]# cd
[root@localhost ~]# mkdir wine32
[root@localhost ~]# ls
anaconda-ks.cfg initial-setup-ks.cfg perl5 wine32 wine64
[root@localhost ~]# cd wine32
[root@localhost wine32]# /home/johnnyhu/下載/wine-1.7.33/configure --enable-win32
[root@localhost wine32]# make > make.log 2>&1
[root@localhost wine32]# make install
[root@localhost wine32]# cd
[root@localhost ~]# cd wine64
[root@localhost wine64]# make install
[root@localhost wine64]# cd /home/johnnyhu/下載
[root@localhost 下載]# ls
FoxitReader-v1.1.zip PDFStudio_v9_2_1_linux64.sh wine-1.7.33
FoxitReader-Win.exe wine-1.7.15 wine-1.7.33.tar.bz2
[root@localhost 下載]# wine FoxitReader-Win.exe

註:這里我創建目錄win32和win64時一時疏忽建在了root下,其實沒必要,建在home下就可以了,好在不影響使用!

2. 以下是中文亂碼時各種配置:

// 將simsun.ttc移動到/usr/share/wine/windows/中
[johnnyhu@localhost 下載]$ su root
密碼:
[root@localhost 下載]# sudo mkdir -p /usr/share/wine/windows
[root@localhost 下載]# sudo mv simsun.ttc /usr/share/wine/windows/

// 配置Wine中文字體目錄
[johnnyhu@localhost ~]$ cd ~/.wine
[johnnyhu@localhost ~]$ cd ~/.wine/drive_c
[johnnyhu@localhost drive_c]$ cd windows
[johnnyhu@localhost windows]$ cd fonts
bash: cd: fonts: 沒有那個文件或目錄
[johnnyhu@localhost windows]$ mkdir fonts
[johnnyhu@localhost windows]$ ls
command help notepad.exe system32 twain_32.dll win.ini
explorer.exe hh.exe regedit.exe system.ini twain.dll winsxs
fonts inf rundll.exe syswow64 winhelp.exe
Fonts logs system temp winhlp32.exe
[johnnyhu@localhost windows]$ cd fonts
[johnnyhu@localhost fonts]$ ln -s /usr/share/fonts/windows/simsun.ttc simsun.ttc
[johnnyhu@localhost fonts]$ ln -s /usr/share/fonts/windows/simsun.ttc simfang.ttc
[johnnyhu@localhost fonts]$ su root
密碼:
[root@localhost fonts]# gedit ~/.wine/system.reg
[root@localhost fonts]# gedit ~/.wine/drive_c/windows/win.ini

[root@localhost ~]# cp -f /home/johnnyhu/zh.reg ~/.wine/
[root@localhost ~]# ls ~/.wine
dosdevices drive_c system.reg system.reg~ userdef.reg user.reg zh.reg

[root@localhost ~]# cd ~/.wine
[root@localhost .wine]# regedit zh.reg

[root@localhost drive_c]# cp -f /home/johnnyhu/下載/simsun.ttc windows/fonts
[root@localhost drive_c]# cd windows
[root@localhost windows]# ls
command hh.exe mono system32 twain.dll winsxs
explorer.exe inf notepad.exe system.ini winhelp.exe
fonts Installer regedit.exe syswow64 winhlp32.exe
Fonts logs rundll.exe temp win.ini
help Microsoft.NET system twain_32.dll win.ini~
[root@localhost windows]# cd fonts
bash: cd: fonts: 不是目錄

註:wine中文程序安裝亂碼的問題網上有很多教程,大體類似如:CentOS下Wine亂碼解決辦法 ,按照上面的,如果不出錯的話,大體上就可以了!

3. 下面安裝附件:
wine mono的安裝 系統彈框之後自動安裝完成,gecko 則自動安裝失敗,改手動安裝。
// 安裝win_gecko
[johnnyhu@localhost 下載]$ wget http://downloads.sourceforge.net/project/wine/Wine%20Gecko/2.34/wine_gecko-2.34-x86.msi
[johnnyhu@localhost 下載]$ su root
密碼:
[root@localhost 下載]# sudo mkdir -p /usr/share/wine/gecko
[root@localhost 下載]# sudo mv wine_gecko-2.34-x86.msi /usr/share/wine/gecko/
[root@localhost 下載]# ls /usr/share/wine/gecko/
wine_gecko-2.34-x86.msi
[root@localhost 下載]#

註:等所有的這些都完成之後,理論上點擊右上腳的「應用程序」 裡面會有wine 出現,這時就可以正常使用Wine了!
GOOD LUCK TO YOU!

『貳』 python開發的gui漂亮嗎

簡單一點的,玩tkinter

你要做產品,pyQT(pySide)

其他的雖然也有一些,但靠譜的並不多.

如果說好看 當然是pyQT的好看

閱讀全文

與gstreamer教程14相關的資料

熱點內容
淘寶店鋪數據包怎麼做 瀏覽:195
win10鍵盤黏連 瀏覽:332
json如何生成表格 瀏覽:323
怎麼修復sql資料庫表 瀏覽:40
微信微博差別 瀏覽:163
簽到積分換禮品app 瀏覽:812
mfc最近打開文件 瀏覽:672
app埋點平台都有哪些app 瀏覽:314
瑞斯康達網路管理界面 瀏覽:254
ca證書管理器linux 瀏覽:358
蘋果id安全提示問題3個字元 瀏覽:949
iphone上好的拍照軟體 瀏覽:579
word內嵌文件怎麼下載 瀏覽:864
8s16升級 瀏覽:340
計算機網路技術基礎pdf 瀏覽:544
javafrom提交地址參數 瀏覽:721
git發布版本 瀏覽:728
vc修改文件名 瀏覽:149
linux65從域 瀏覽:321
用什麼東西壓縮文件 瀏覽:406

友情鏈接