首页 > 代码库 > CentOS安装QQ2012
CentOS安装QQ2012
QQ想必大家都会用,在windows系统下一般都是使用客户端软件,但是在linxu系统下就没有想windows那样的客户端了。下面就次啊用wine在CentOS中安装腾讯QQ2012.
1 [fantianheng@localhost ~]$ su 2 密码: 3 [root@localhost fantianheng]# cd 下载 4 [root@localhost 下载]# dir 5 epel-release-6-8.noarch.rpm qq2012.tar.gz 6 flash-plugin-11.2.202.394-release.i386.rpm VirtualBox-4.3-4.3.14_95030_el6-1.i686.rpm 7 Oracle_VM_VirtualBox_Extension_Pack-4.3.14-95030.vbox-extpack 8 [root@localhost 下载]# rpm -Uvh epel-release-6-8.noarch.rpm 9 warning: epel-release-6-8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY 10 Preparing... ########################################### [100%] 11 1:epel-release ########################################### [100%] 12 [root@localhost 下载]# yum install wine 13 Loaded plugins: aliases, changelog, downloadonly, fastestmirror, kabi, presto, refresh-packagekit, security, 14 : tmprepo, verify, versionlock 15 Loading support for CentOS kernel ABI 16 Loading mirror speeds from cached hostfile 17 epel/metalink | 5.7 kB 00:00 18 * base: centos.ustc.edu.cn 19 * contrib: centos.ustc.edu.cn 20 * epel: mirrors.hustunique.com 21 * extras: centos.ustc.edu.cn 22 * updates: centos.ustc.edu.cn 23 epel | 4.4 kB 00:00 24 epel/primary_db | 5.2 MB 00:25 25 Setting up Install Process 26 Resolving Dependencies 27 --> Running transaction check 28 ---> Package wine.i686 0:1.6.1-1.el6 will be installed 29 --> Processing Dependency: wine-wow(x86-32) = 1.6.1-1.el6 for package: wine-1.6.1-1.el6.i686 30 --> Processing Dependency: wine-twain(x86-32) = 1.6.1-1.el6 for package: wine-1.6.1-1.el6.i686 31 --> Processing Dependency: wine-pulseaudio(x86-32) = 1.6.1-1.el6 for package: wine-1.6.1-1.el6.i686 32 --> Processing Dependency: wine-openal(x86-32) = 1.6.1-1.el6 for package: wine-1.6.1-1.el6.i686 33 --> Processing Dependency: wine-ldap(x86-32) = 1.6.1-1.el6 for package: wine-1.6.1-1.el6.i686 34 --> Processing Dependency: wine-fonts = 1.6.1-1.el6 for package: wine-1.6.1-1.el6.i686 35 --> Processing Dependency: wine-desktop = 1.6.1-1.el6 for package: wine-1.6.1-1.el6.i686 36 --> Processing Dependency: wine-core(x86-32) = 1.6.1-1.el6 for package: wine-1.6.1-1.el6.i686 37 --> Processing Dependency: wine-common = 1.6.1-1.el6 for package: wine-1.6.1-1.el6.i686 38 --> Processing Dependency: wine-cms(x86-32) = 1.6.1-1.el6 for package: wine-1.6.1-1.el6.i686 39 --> Processing Dependency: wine-capi(x86-32) = 1.6.1-1.el6 for package: wine-1.6.1-1.el6.i686 40 --> Running transaction check 41 ---> Package wine-capi.i686 0:1.6.1-1.el6 will be installed 42 ---> Package wine-cms.i686 0:1.6.1-1.el6 will be installed 43 ---> Package wine-common.noarch 0:1.6.1-1.el6 will be installed 44 ---> Package wine-core.i686 0:1.6.1-1.el6 will be installed 45 --> Processing Dependency: wine-filesystem = 1.6.1-1.el6 for package: wine-core-1.6.1-1.el6.i686 46 --> Processing Dependency: nss-mdns(x86-32) for package: wine-core-1.6.1-1.el6.i686 47 ---> Package wine-desktop.i686 0:1.6.1-1.el6 will be installed 48 ---> Package wine-fonts.noarch 0:1.6.1-1.el6 will be installed 49 --> Processing Dependency: wine-wingdings-fonts = 1.6.1-1.el6 for package: wine-fonts-1.6.1-1.el6.noarch 50 --> Processing Dependency: wine-tahoma-fonts = 1.6.1-1.el6 for package: wine-fonts-1.6.1-1.el6.noarch 51 --> Processing Dependency: wine-system-fonts = 1.6.1-1.el6 for package: wine-fonts-1.6.1-1.el6.noarch 52 --> Processing Dependency: wine-symbol-fonts = 1.6.1-1.el6 for package: wine-fonts-1.6.1-1.el6.noarch 53 --> Processing Dependency: wine-small-fonts = 1.6.1-1.el6 for package: wine-fonts-1.6.1-1.el6.noarch 54 --> Processing Dependency: wine-ms-sans-serif-fonts = 1.6.1-1.el6 for package: wine-fonts-1.6.1-1.el6.noarch 55 --> Processing Dependency: wine-marlett-fonts = 1.6.1-1.el6 for package: wine-fonts-1.6.1-1.el6.noarch 56 --> Processing Dependency: wine-fixedsys-fonts = 1.6.1-1.el6 for package: wine-fonts-1.6.1-1.el6.noarch 57 --> Processing Dependency: wine-courier-fonts = 1.6.1-1.el6 for package: wine-fonts-1.6.1-1.el6.noarch 58 ---> Package wine-ldap.i686 0:1.6.1-1.el6 will be installed 59 ---> Package wine-openal.i686 0:1.6.1-1.el6 will be installed 60 --> Processing Dependency: libopenal.so.1 for package: wine-openal-1.6.1-1.el6.i686 61 ---> Package wine-pulseaudio.i686 0:1.6.1-1.el6 will be installed 62 --> Processing Dependency: wine-alsa = 1.6.1-1.el6 for package: wine-pulseaudio-1.6.1-1.el6.i686 63 ---> Package wine-twain.i686 0:1.6.1-1.el6 will be installed 64 ---> Package wine-wow.i686 0:1.6.1-1.el6 will be installed 65 --> Running transaction check 66 ---> Package nss-mdns.i686 0:0.10-8.el6 will be installed 67 --> Processing Dependency: avahi for package: nss-mdns-0.10-8.el6.i686 68 ---> Package openal-soft.i686 0:1.12.854-1.el6 will be installed 69 ---> Package wine-alsa.i686 0:1.6.1-1.el6 will be installed 70 ---> Package wine-courier-fonts.noarch 0:1.6.1-1.el6 will be installed 71 ---> Package wine-filesystem.noarch 0:1.6.1-1.el6 will be installed 72 ---> Package wine-fixedsys-fonts.noarch 0:1.6.1-1.el6 will be installed 73 ---> Package wine-marlett-fonts.noarch 0:1.6.1-1.el6 will be installed 74 ---> Package wine-ms-sans-serif-fonts.noarch 0:1.6.1-1.el6 will be installed 75 ---> Package wine-small-fonts.noarch 0:1.6.1-1.el6 will be installed 76 ---> Package wine-symbol-fonts.noarch 0:1.6.1-1.el6 will be installed 77 ---> Package wine-system-fonts.noarch 0:1.6.1-1.el6 will be installed 78 ---> Package wine-tahoma-fonts.noarch 0:1.6.1-1.el6 will be installed 79 ---> Package wine-wingdings-fonts.noarch 0:1.6.1-1.el6 will be installed 80 --> Running transaction check 81 ---> Package avahi.i686 0:0.6.25-12.el6_5.1 will be installed 82 --> Processing Dependency: avahi-libs = 0.6.25-12.el6_5.1 for package: avahi-0.6.25-12.el6_5.1.i686 83 --> Running transaction check 84 ---> Package avahi-libs.i686 0:0.6.25-12.el6 will be updated 85 ---> Package avahi-libs.i686 0:0.6.25-12.el6_5.1 will be an update 86 --> Processing Conflict: avahi-glib-0.6.25-12.el6.i686 conflicts avahi > 0.6.25-12.el6 87 --> Restarting Dependency Resolution with new changes. 88 --> Running transaction check 89 ---> Package avahi-glib.i686 0:0.6.25-12.el6 will be updated 90 --> Processing Dependency: avahi-glib = 0.6.25-12.el6 for package: avahi-gobject-0.6.25-12.el6.i686 91 ---> Package avahi-glib.i686 0:0.6.25-12.el6_5.1 will be an update 92 --> Running transaction check 93 ---> Package avahi-gobject.i686 0:0.6.25-12.el6 will be updated 94 ---> Package avahi-gobject.i686 0:0.6.25-12.el6_5.1 will be an update 95 --> Finished Dependency Resolution 96 97 Dependencies Resolved 98 99 ================================================================================================================100 Package Arch Version Repository Size 101 ================================================================================================================102 Installing: 103 wine i686 1.6.1-1.el6 epel 42 k 104 Updating: 105 avahi-glib i686 0.6.25-12.el6_5.1 updates 20 k 106 Installing for dependencies: 107 avahi i686 0.6.25-12.el6_5.1 updates 215 k 108 nss-mdns i686 0.10-8.el6 epel 22 k 109 openal-soft i686 1.12.854-1.el6 epel 113 k 110 wine-alsa i686 1.6.1-1.el6 epel 87 k 111 wine-capi i686 1.6.1-1.el6 epel 46 k 112 wine-cms i686 1.6.1-1.el6 epel 61 k 113 wine-common noarch 1.6.1-1.el6 epel 96 k 114 wine-core i686 1.6.1-1.el6 epel 18 M 115 wine-courier-fonts noarch 1.6.1-1.el6 epel 56 k 116 wine-desktop i686 1.6.1-1.el6 epel 150 k 117 wine-filesystem noarch 1.6.1-1.el6 epel 72 k 118 wine-fixedsys-fonts noarch 1.6.1-1.el6 epel 55 k 119 wine-fonts noarch 1.6.1-1.el6 epel 42 k 120 wine-ldap i686 1.6.1-1.el6 epel 110 k 121 wine-marlett-fonts noarch 1.6.1-1.el6 epel 54 k 122 wine-ms-sans-serif-fonts noarch 1.6.1-1.el6 epel 69 k 123 wine-openal i686 1.6.1-1.el6 epel 53 k 124 wine-pulseaudio i686 1.6.1-1.el6 epel 76 k 125 wine-small-fonts noarch 1.6.1-1.el6 epel 57 k 126 wine-symbol-fonts noarch 1.6.1-1.el6 epel 68 k 127 wine-system-fonts noarch 1.6.1-1.el6 epel 61 k 128 wine-tahoma-fonts noarch 1.6.1-1.el6 epel 146 k 129 wine-twain i686 1.6.1-1.el6 epel 68 k 130 wine-wingdings-fonts noarch 1.6.1-1.el6 epel 54 k 131 wine-wow i686 1.6.1-1.el6 epel 207 k 132 Updating for dependencies: 133 avahi-gobject i686 0.6.25-12.el6_5.1 updates 29 k 134 avahi-libs i686 0.6.25-12.el6_5.1 updates 54 k 135 136 Transaction Summary137 ================================================================================================================138 Install 26 Package(s) 139 Upgrade 3 Package(s) 140 141 Total download size: 20 M142 Is this ok [y/N]: y 143 Downloading Packages: 144 Setting up and reading Presto delta metadata145 updates/prestodelta | 303 kB 00:00 146 Processing delta metadata 147 Download delta size: 52 k 148 (1/3): avahi-glib-0.6.25-12.el6_0.6.25-12.el6_5.1.i686.drpm | 16 kB 00:00 149 (2/3): avahi-gobject-0.6.25-12.el6_0.6.25-12.el6_5.1.i686.drpm | 19 kB 00:00 150 (3/3): avahi-libs-0.6.25-12.el6_0.6.25-12.el6_5.1.i686.drpm | 17 kB 00:00 151 Finishing rebuild of rpms, from deltarpms 152 <delta rebuild> | 103 kB 00:01 153 Presto reduced the update size by 50% (from 103 k to 52 k). 154 Package(s) data still to download: 20 M 155 (1/26): avahi-0.6.25-12.el6_5.1.i686.rpm | 215 kB 00:00 156 (2/26): nss-mdns-0.10-8.el6.i686.rpm | 22 kB 00:00 157 (3/26): openal-soft-1.12.854-1.el6.i686.rpm | 113 kB 00:00 158 (4/26): wine-1.6.1-1.el6.i686.rpm | 42 kB 00:00 159 (5/26): wine-alsa-1.6.1-1.el6.i686.rpm | 87 kB 00:00 160 (6/26): wine-capi-1.6.1-1.el6.i686.rpm | 46 kB 00:00 161 (7/26): wine-cms-1.6.1-1.el6.i686.rpm | 61 kB 00:00 162 (8/26): wine-common-1.6.1-1.el6.noarch.rpm | 96 kB 00:00 163 (9/26): wine-core-1.6.1-1.el6.i686.rpm | 18 MB 00:19 164 (10/26): wine-courier-fonts-1.6.1-1.el6.noarch.rpm | 56 kB 00:00 165 (11/26): wine-desktop-1.6.1-1.el6.i686.rpm | 150 kB 00:00 166 (12/26): wine-filesystem-1.6.1-1.el6.noarch.rpm | 72 kB 00:00 167 (13/26): wine-fixedsys-fonts-1.6.1-1.el6.noarch.rpm | 55 kB 00:00 168 (14/26): wine-fonts-1.6.1-1.el6.noarch.rpm | 42 kB 00:00 169 (15/26): wine-ldap-1.6.1-1.el6.i686.rpm | 110 kB 00:00 170 (16/26): wine-marlett-fonts-1.6.1-1.el6.noarch.rpm | 54 kB 00:00 171 (17/26): wine-ms-sans-serif-fonts-1.6.1-1.el6.noarch.rpm | 69 kB 00:00 172 (18/26): wine-openal-1.6.1-1.el6.i686.rpm | 53 kB 00:00 173 (19/26): wine-pulseaudio-1.6.1-1.el6.i686.rpm | 76 kB 00:00 174 (20/26): wine-small-fonts-1.6.1-1.el6.noarch.rpm | 57 kB 00:00 175 (21/26): wine-symbol-fonts-1.6.1-1.el6.noarch.rpm | 68 kB 00:00 176 (22/26): wine-system-fonts-1.6.1-1.el6.noarch.rpm | 61 kB 00:00 177 (23/26): wine-tahoma-fonts-1.6.1-1.el6.noarch.rpm | 146 kB 00:00 178 (24/26): wine-twain-1.6.1-1.el6.i686.rpm | 68 kB 00:00 179 (25/26): wine-wingdings-fonts-1.6.1-1.el6.noarch.rpm | 54 kB 00:00 180 (26/26): wine-wow-1.6.1-1.el6.i686.rpm | 207 kB 00:00 181 ----------------------------------------------------------------------------------------------------------------182 Total 877 kB/s | 20 MB 00:22 183 warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY 184 Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 185 Importing GPG key 0x0608B895: 186 Userid : EPEL (6) <epel@fedoraproject.org> 187 Package: epel-release-6-8.noarch (installed) 188 From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 189 Is this ok [y/N]: y 190 warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY 191 Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 192 Importing GPG key 0xC105B9DE: 193 Userid : CentOS-6 Key (CentOS 6 Official Signing Key) <centos-6-key@centos.org> 194 Package: centos-release-6-5.el6.centos.11.1.i686 (@anaconda-CentOS-201311271240.i386/6.5) 195 From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 196 Is this ok [y/N]: y 197 Running rpm_check_debug 198 Running Transaction Test 199 Transaction Test Succeeded 200 Running Transaction 201 Warning: RPMDB altered outside of yum. 202 Updating : avahi-libs-0.6.25-12.el6_5.1.i686 1/32 203 Installing : wine-filesystem-1.6.1-1.el6.noarch 2/32 204 Installing : wine-tahoma-fonts-1.6.1-1.el6.noarch 3/32 205 Installing : wine-ms-sans-serif-fonts-1.6.1-1.el6.noarch 4/32 206 Installing : wine-system-fonts-1.6.1-1.el6.noarch 5/32 207 Installing : wine-courier-fonts-1.6.1-1.el6.noarch 6/32 208 Installing : wine-small-fonts-1.6.1-1.el6.noarch 7/32 209 Installing : wine-fixedsys-fonts-1.6.1-1.el6.noarch 8/32 210 Installing : wine-symbol-fonts-1.6.1-1.el6.noarch 9/32 211 Installing : wine-wingdings-fonts-1.6.1-1.el6.noarch 10/32 212 Installing : wine-marlett-fonts-1.6.1-1.el6.noarch 11/32 213 Installing : wine-fonts-1.6.1-1.el6.noarch 12/32 214 Installing : avahi-0.6.25-12.el6_5.1.i686 13/32 215 Installing : nss-mdns-0.10-8.el6.i686 14/32 216 Installing : wine-core-1.6.1-1.el6.i686 15/32 217 Installing : wine-common-1.6.1-1.el6.noarch 16/32 218 Installing : wine-desktop-1.6.1-1.el6.i686 17/32 219 Installing : wine-twain-1.6.1-1.el6.i686 18/32 220 Installing : wine-wow-1.6.1-1.el6.i686 19/32 221 Installing : wine-cms-1.6.1-1.el6.i686 20/32 222 Installing : wine-alsa-1.6.1-1.el6.i686 21/32 223 Installing : wine-pulseaudio-1.6.1-1.el6.i686 22/32 224 Installing : wine-capi-1.6.1-1.el6.i686 23/32 225 Installing : wine-ldap-1.6.1-1.el6.i686 24/32 226 Updating : avahi-glib-0.6.25-12.el6_5.1.i686 25/32 227 Installing : openal-soft-1.12.854-1.el6.i686 26/32 228 Installing : wine-openal-1.6.1-1.el6.i686 27/32 229 Installing : wine-1.6.1-1.el6.i686 28/32 230 Updating : avahi-gobject-0.6.25-12.el6_5.1.i686 29/32 231 Cleanup : avahi-gobject-0.6.25-12.el6.i686 30/32 232 Cleanup : avahi-glib-0.6.25-12.el6.i686 31/32 233 Cleanup : avahi-libs-0.6.25-12.el6.i686 32/32 234 Verifying : wine-core-1.6.1-1.el6.i686 1/32 235 Verifying : wine-twain-1.6.1-1.el6.i686 2/32 236 Verifying : avahi-libs-0.6.25-12.el6_5.1.i686 3/32 237 Verifying : wine-openal-1.6.1-1.el6.i686 4/32 238 Verifying : wine-marlett-fonts-1.6.1-1.el6.noarch 5/32 239 Verifying : avahi-0.6.25-12.el6_5.1.i686 6/32 240 Verifying : wine-wow-1.6.1-1.el6.i686 7/32241 Verifying : wine-tahoma-fonts-1.6.1-1.el6.noarch 8/32242 Verifying : wine-cms-1.6.1-1.el6.i686 9/32243 Verifying : wine-1.6.1-1.el6.i686 10/32244 Verifying : wine-filesystem-1.6.1-1.el6.noarch 11/32245 Verifying : wine-pulseaudio-1.6.1-1.el6.i686 12/32246 Verifying : wine-wingdings-fonts-1.6.1-1.el6.noarch 13/32247 Verifying : wine-fonts-1.6.1-1.el6.noarch 14/32248 Verifying : wine-desktop-1.6.1-1.el6.i686 15/32249 Verifying : avahi-gobject-0.6.25-12.el6_5.1.i686 16/32250 Verifying : wine-alsa-1.6.1-1.el6.i686 17/32251 Verifying : wine-symbol-fonts-1.6.1-1.el6.noarch 18/32252 Verifying : wine-fixedsys-fonts-1.6.1-1.el6.noarch 19/32253 Verifying : openal-soft-1.12.854-1.el6.i686 20/32254 Verifying : wine-capi-1.6.1-1.el6.i686 21/32255 Verifying : wine-small-fonts-1.6.1-1.el6.noarch 22/32256 Verifying : wine-common-1.6.1-1.el6.noarch 23/32257 Verifying : wine-courier-fonts-1.6.1-1.el6.noarch 24/32258 Verifying : wine-system-fonts-1.6.1-1.el6.noarch 25/32259 Verifying : wine-ms-sans-serif-fonts-1.6.1-1.el6.noarch 26/32260 Verifying : wine-ldap-1.6.1-1.el6.i686 27/32261 Verifying : nss-mdns-0.10-8.el6.i686 28/32262 Verifying : avahi-glib-0.6.25-12.el6_5.1.i686 29/32263 Verifying : avahi-glib-0.6.25-12.el6.i686 30/32264 Verifying : avahi-libs-0.6.25-12.el6.i686 31/32265 Verifying : avahi-gobject-0.6.25-12.el6.i686 32/32266 267 Installed:268 wine.i686 0:1.6.1-1.el6269 270 Dependency Installed:271 avahi.i686 0:0.6.25-12.el6_5.1 nss-mdns.i686 0:0.10-8.el6272 openal-soft.i686 0:1.12.854-1.el6 wine-alsa.i686 0:1.6.1-1.el6273 wine-capi.i686 0:1.6.1-1.el6 wine-cms.i686 0:1.6.1-1.el6274 wine-common.noarch 0:1.6.1-1.el6 wine-core.i686 0:1.6.1-1.el6275 wine-courier-fonts.noarch 0:1.6.1-1.el6 wine-desktop.i686 0:1.6.1-1.el6276 wine-filesystem.noarch 0:1.6.1-1.el6 wine-fixedsys-fonts.noarch 0:1.6.1-1.el6277 wine-fonts.noarch 0:1.6.1-1.el6 wine-ldap.i686 0:1.6.1-1.el6278 wine-marlett-fonts.noarch 0:1.6.1-1.el6 wine-ms-sans-serif-fonts.noarch 0:1.6.1-1.el6279 wine-openal.i686 0:1.6.1-1.el6 wine-pulseaudio.i686 0:1.6.1-1.el6280 wine-small-fonts.noarch 0:1.6.1-1.el6 wine-symbol-fonts.noarch 0:1.6.1-1.el6281 wine-system-fonts.noarch 0:1.6.1-1.el6 wine-tahoma-fonts.noarch 0:1.6.1-1.el6282 wine-twain.i686 0:1.6.1-1.el6 wine-wingdings-fonts.noarch 0:1.6.1-1.el6283 wine-wow.i686 0:1.6.1-1.el6284 285 Updated:286 avahi-glib.i686 0:0.6.25-12.el6_5.1287 288 Dependency Updated:289 avahi-gobject.i686 0:0.6.25-12.el6_5.1 avahi-libs.i686 0:0.6.25-12.el6_5.1290 291 Complete!292 [root@localhost 下载]#
二,安装QQ2012
1 下载这个能在linux下安装的QQ2012
http://pan.baidu.com/share/link?shareid=468821&uk=2148507123
下载后在root权限把刚下在的qq2012.tar.gz 移到/opt
#cp qq2012.tar.gz /opt
然后打开/opt,解压qq2012.tar.gz
#cd /opt
#tar -zxvf qq2012.tar.gz
进入安装文件夹进行安装
#cd qq2012/wineapp/qq/
#ls
输入以下命令运行复制文件脚本
#./install.sh
复制完后输入以下命令运行安装脚本
#./qq.sh
如果没有报错的话就完成了。
这是用root 安装的可以直接用普通用户下不能启动
先删除普通用户下的.qq2012/
我的普通用户名是wilbert所以做以下命令
#rm -rf ~wilbert/.qq2012
进入root文件,把root文件中的.qq2012移动到普通用户文件中
#mv .qq2012 ~wilbert/
更改所属人和所属组
#cd /home/wilbert/
#chown -R wilbert .qq2012/
#chgrp -R wilbert .qq2012/
好了,打开你的 应用程序--internet 看见了吗!!
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。