当我们下载WineQQ2012-20120719-Longene.deb到Downloads后,我们打开终端(control+alt+T),然后我们是不是在默认的命令行下输入了
sudo dpkg -iWineQQ2012-20120719-Longene.deb
回车后发现如下错误代码:
dpkg: error processingWineQQ2012-20120719-Longene.deb (--install):
cannot access archive: No such file ordirectory
Errors were encountered while processing:
WineQQ2012-20120719-Longene.deb
知道为什么吗?因为我们的操作不是在安装文件夹下进行的,即命令行默认的是/目录,这个目录下没有我们的安装文件,当然会安装不了了!!
SECOND.改进的命令如下
首先进入安装文件所以的文件夹,我们在终端命令这样书写
admin@admin-ThinkPad-Edge:~$ cdDownloads
回车后
admin@admin-ThinkPad-Edge:~/Downloads$看是不是不一样了??!!!!
然后我们再打输入安装命令如下
admin@admin-ThinkPad-Edge:~/Downloads$ sudodpkg -i WineQQ2012-20120719-Longene.deb
再然后你猜会出现什么呢?看看吧。。。。
Selecting previously unselected packagewine-qq2012-longeneteam.
(Reading database ... 195491 files and directories currentlyinstalled.)
Unpacking wine-qq2012-longeneteam (fromWineQQ2012-20120719-Longene.deb) ...
# #### # # #### ###### # # ######
# # # ## # # # # ## # #
# # # # # # # ##### # # # #####
# # # # # # # ### # # # # #
# # # # ## # # # # ## #
###### #### # # #### ###### # # ######
* Extracting............
Setting up wine-qq2012-longeneteam (2012.06.15) ...
ldconfig....
* Createdesktop icon......
* Createsystem menu entry......
* Done.
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus...
这个时候,我们的QQ安装就成功了!试试吧