1.ubuntu安装wine的码下时候出现不能解决依赖关系。怎么解决
2.AnkiDroid服务器和客户端的码下源码搭建过程
3.Ubuntu如何安装wine命令
ubuntu安装wine的时候出现不能解决依赖关系。怎么解决
去下源代码自己编译呗,码下那还是码下1.4的,你可以去官网下个1.7滴~~
先安装依赖的码下库:
sudo apt-get install flex bison qt4-qmake
sudo apt-get install libfreetype6-dev
sudo apt-get install libjpeg-dev libpng-dev libxslt-dev libxml2-dev
sudo apt-get install libxrender-dev
sudo apt-get install libgl1-mesa-dev
sudo apt-get install libglu1-mesa-dev
sudo apt-get install freeglut3-dev
sudo apt-get install prelink
sudo apt-get install libasound2-dev
然后下载源代码进入解包目录:
./configure
make //编译大约需要一个小时~~
sudo make install
安装完后中文显示乱码,需要下载字体解决,码下解读tacotron源码不会就谷歌~~
AnkiDroid服务器和客户端的码下源码搭建过程
在Ubuntu .系统中,我们首先需要安装Python 3.版本的码下环境。
接着,码下参考官方文档进行Anki客户端的码下安装依赖与运行。在遇到问题时,码下可以通过指定链接找到解决办法。码下
首先,码下小米共享WiFi改源码下载并解压官方提供的码下pa_stable_v_.tgz文件,然后进入解压后的码下文件夹执行命令:$ ./configure,$ make,$ make install,以安装必要的依赖库。
对于遇到的最好用的指标源码问题,可以通过另一个指定链接找到解决方案。确保已安装libasound-dev, portaudio-dev, libportaudio2, libportaudiocpp0等依赖库。
之后,重新编译Python3。首先进入Python-3.6.3安装源目录,执行命令:$ sudo ./configure --enable-optimozations,JJ斗地主登录源码$ sudo make -j8,$ sudo make install。验证安装是否成功,可通过执行$ python3并输入import sqlite3命令来实现。
对于Anki服务器的安装与运行,参考指定的快手直播间挂机源码文档。注意这是针对Anki2.1客户端的服务器,而Anki2.0的服务器依赖与此类似。
在Add-on文件夹下创建名为ankisyncd的文件夹,并在此文件夹中创建并编辑__init__.py文件。确保文件中不含汉字,保存为utf-8格式。这一步骤为Anki服务器的设置关键步骤。
Ubuntu如何安装wine命令
方法一:Wine (“Wine Is Not an Emulator” 的首字母缩写)是一个能够在多种 POSIX-compliant 操作系统(诸如 Linux,Mac OSX 及 BSD 等)上运行 Windows 应用的兼容层。 Wine 不是像虚拟机或者模拟器一样模仿内部的 Windows 逻辑,而是将 Windows API 调用翻译成为动态的 POSIX 调用,免除了性能和其他一些行为的内存占用,让你能够干净地集合 Windows 应用到你的桌面。
下面跟大家分享如何在Ubuntu .上安装Wine
1.添加PPA
sudo add-apt-repository ppa:ubuntu-wine/ppa
2.更新列表
sudo apt-get update
3.安装Wine
sudo apt-get install wine1.7 winetricks
为了避免错误大家可以使用以下命令
sudo apt-get update
方法二:
打开终端执行一下命令,在安装过程中会提示你是否同意协议,点击Enter:
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update sudo apt-get install wine1.5
Ubuntu . 编译安装Wine 1.7
先安装依赖的库:
sudo apt-get install flex bison qt4-qmake
apt-get install libfreetype6-dev
apt-get install libjpeg-dev libpng-dev libxslt-dev libxml2-dev
apt-get install libxrender-dev
sudo apt-get install libgl1-mesa-dev
sudo apt-get install libglu1-mesa-dev
sudo apt-get install freeglut3-dev
apt-get install prelink
apt-get install libasound2-dev
下载最新的源代码:
mands
config.status: executing dlls/gdi/dibdrv commands
config.status: executing dlls/gdi/enhmfdrv commands
config.status: executing dlls/gdi/mfdrv commands
config.status: executing dlls/kernel/nls commands
config.status: executing dlls/user/resources commands
config.status: executing dlls/wineps.drv/data commands
config.status: executing include/wine commands
config.status: executing Makefile commands
configure: libxcursor development files not found, the Xcursor extension won't be supported.
configure: libxi development files not found, the Xinput extension won't be supported.
configure: libxrandr development files not found, XRandr won't be supported.
configure: libxinerama development files not found, multi-monitor setups won't be supported.
configure: libxcomposite development files not found, Xcomposite won't be supported.
configure: libOSMesa development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
configure: OpenCL development files not found, OpenCL won't be supported.
configure: libdbus development files not found, no dynamic device support.
configure: libgnutls development files not found, no schannel support.
configure: lib(n)curses development files not found, curses won't be supported.
configure: libsane development files not found, scanners won't be supported.
configure: libv4l development files not found.
configure: libgphoto2 development files not found, digital cameras won't be supported.
configure: libgphoto2_port development files not found, digital cameras won't be auto-detected.
configure: liblcms2 development files not found, Color Management won't be supported.
configure: gstreamer-0. base plugins development files not found, gstreamer support disabled
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libcapi development files not found, ISDN won't be supported.
configure: libcups development files not found, CUPS won't be supported.
configure: fontconfig development files not found, fontconfig won't be supported.
configure: libgsm development files not found, gsm . codec won't be supported.
configure: libtiff development files not found, TIFF won't be supported.
configure: libmpg development files not found (or too old), mp3 codec won't be supported.
configure: libopenal development files not found (or too old), OpenAL won't be supported.
configure: libldap (OpenLDAP) development files not found, LDAP won't be supported.
configure: Finished. Do 'make' to compile Wine.
现在可以编译了。运行make,等待吧。一个小时候编译完成。然后运行make install
或者可以以非root用户的身份进入tools目录,运行:
./wineinstall
它会自动编译并安装程序,中间会提示输入管理员密码。
安装到了/usr/local/bin目录下
运行命令检查版本:
ine --version
wine-1.7.4
然后创建一个wine链接,否则很多程序不能用, 比如winecfg。
sudo ln -s /usr/local/bin/wine /usr/local/bin/wine
2024-12-28 13:36
2024-12-28 13:22
2024-12-28 13:22
2024-12-28 13:20
2024-12-28 13:13
2024-12-28 12:34