Linux实战2——安装官方QQ&QQ2012

下载地址:http://im.qq.com/qq/linux/download.shtml

可能会出现错误:
dpkg:处理 linuxqq_v1.0.2-beta1_i386.deb (--install)时出错:
parsing file '/var/lib/dpkg/tmp.ci/control' near line 7 package 'linuxqq':
版本字符串 v1.0.2-beta1 中有错误: version number does not start with digit
在处理时有错误发生:
linuxqq_v1.0.2-beta1_i386.deb

解决方法:
dpkg-deb -x linuxqq_v1.0.2-beta1_i386.deb linuxqq
dpkg-deb -e linuxqq_v1.0.2-beta1_i386.deb linuxqq/DEBIAN
vi linuxqq/DEBIAN/control

Package: linuxqq
Priority: extra
Section: Internet
Installed-Size: 6264
Maintainer: Tencent Inc.
Architecture: i386
Version:【1234  修改的是这里】 原本是v1.2-beta1,据说不能以V开头。
Depends: gtk2.0-binver-2.10.0, libc6, libcairo2, libglib2.0-0, libgtk2.0-0, libpango1.0-0
Description: QQ - The most popular free instant messaging program in China.
* Chat with more than 590,000,000 people all over the world.
* Free to download or distribute absolutely.

再次打包。
dpkg-deb -b linuxqq linuxqq.deb
安装
sudo dpkg-deb -b linuxqq linuxqq.deb

卸载
dpkg -r package_name

===================================================================

安装QQ2012
下载地址 http://www.longene.org/download/WineQQ2012-20120531-Longene.deb

安装命令:sudo dpkg -i WineQQ2012-20120531-Longene.deb

Selecting previously unselected package wine-qq2012-longeneteam.
(Reading database ... 142254 files and directories currently installed.)
Unpacking wine-qq2012-longeneteam (from WineQQ2012-20120531-Longene.deb) ...
* Cat ALSA sound driver version........
* Advanced Linux Sound Architecture Driver Version 1.0.24.
* If QQ works without sound, you need install a newer version of alsa-lib.
* You can download it from their official site http://www.alsa-project.org
* Extracting ............
Setting up wine-qq2012-longeneteam (2012.05.31) ...
ldconfig....
* Create desktop icon......
Sessions still open, not unmounting
* Create system menu entry......
* Done.
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...

你可能感兴趣的:(linux,qq,QQ安装错误,QQ2012)