安裝wine

由於要編譯android源碼for MTK,須要wine用來運行DrgGen.exe(硬件配置工具?)html

joe@joe-Aspire-Z3730:~$ sudo add-apt-repository ppa:ubuntu-wine
[sudo] password for joe: 
You are about to add the following PPA to your system:
 !!! PLEASE NOTE THAT THIS REPOSITORY IS DEPRECATED !!!

In fact, it's double deprecated -- it was replaced by the Wine Builds PPA, which was then itself replaced.

For more information, please see:

    https://www.winehq.org/pipermail/wine-devel/2017-March/117104.html

The following commands can be used to add the new repository:

    wget https://dl.winehq.org/wine-builds/Release.key
    sudo apt-key add Release.key
    sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'
 More info: https://launchpad.net/~ubuntu-wine/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it **_此處我按的是ENTER鍵_**

gpg: keyring `/tmp/tmprRtt9v/secring.gpg' created
gpg: keyring `/tmp/tmprRtt9v/pubring.gpg' created
gpg: requesting key F9CB8DB0 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmprRtt9v/trustdb.gpg: trustdb created
gpg: key F9CB8DB0: public key "Launchpad PPA for Ubuntu Wine Team" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

2:python

joe@joe-Aspire-Z3730:~$ sudo apt-get update
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/

3:再次執行一次就OKlinux

joe@joe-Aspire-Z3730:~$ sudo apt-get update
Hit http://cn.archive.ubuntu.com precise Release.gpg                                      
Hit http://cn.archive.ubuntu.com precise-updates Release.gpg                              
Hit http://cn.archive.ubuntu.com precise-backports Release.gpg       
Hit http://extras.ubuntu.com precise Release.gpg                     
Hit http://security.ubuntu.com precise-security Release.gpg          
Hit http://ppa.launchpad.net precise Release.gpg                     
Hit http://cn.archive.ubuntu.com precise Release                     
Hit http://cn.archive.ubuntu.com precise-updates Release                                        
Hit http://extras.ubuntu.com precise Release                                                                                                 
Hit http://security.ubuntu.com precise-security Release                                                                                      
Hit http://cn.archive.ubuntu.com precise-backports Release                                                             
Hit http://extras.ubuntu.com precise/main Sources                                               
Hit http://security.ubuntu.com precise-security/main Sources                               
Hit http://ppa.launchpad.net precise Release.gpg                     
Hit http://extras.ubuntu.com precise/main amd64 Packages             
Hit http://extras.ubuntu.com precise/main i386 Packages                                                               
Ign http://extras.ubuntu.com precise/main TranslationIndex                                                            
Hit http://ppa.launchpad.net precise Release                                                                          
Hit http://ppa.launchpad.net precise Release                                                                          
Hit http://ppa.launchpad.net precise/main Sources                                                                     
Ign http://extras.ubuntu.com precise/main Translation-en_US                                
Hit http://ppa.launchpad.net precise/main amd64 Packages             
Ign http://extras.ubuntu.com precise/main Translation-en             
Hit http://cn.archive.ubuntu.com precise/main Sources                                              
Hit http://cn.archive.ubuntu.com precise/restricted Sources                                        
Hit http://security.ubuntu.com precise-security/restricted Sources           
Hit http://cn.archive.ubuntu.com precise/universe Sources
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://cn.archive.ubuntu.com precise/multiverse Sources
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://cn.archive.ubuntu.com precise/main amd64 Packages
Hit http://security.ubuntu.com precise-security/main amd64 Packages
Hit http://cn.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://cn.archive.ubuntu.com precise/universe amd64 Packages
Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
Hit http://cn.archive.ubuntu.com precise/multiverse amd64 Packages   
Hit http://security.ubuntu.com precise-security/universe amd64 Packages
Hit http://cn.archive.ubuntu.com precise/main i386 Packages          
Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://cn.archive.ubuntu.com precise/restricted i386 Packages    
Hit http://security.ubuntu.com precise-security/main i386 Packages   
Hit http://cn.archive.ubuntu.com precise/universe i386 Packages      
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://cn.archive.ubuntu.com precise/multiverse i386 Packages    
Hit http://cn.archive.ubuntu.com precise/main TranslationIndex
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://cn.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://cn.archive.ubuntu.com precise/restricted TranslationIndex 
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://cn.archive.ubuntu.com precise/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://cn.archive.ubuntu.com precise-updates/main Sources
Hit http://cn.archive.ubuntu.com precise-updates/restricted Sources
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://cn.archive.ubuntu.com precise-updates/universe Sources    
Hit http://cn.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://cn.archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://cn.archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://cn.archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://cn.archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://security.ubuntu.com precise-security/universe Translation-en
Hit http://cn.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://cn.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://cn.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://cn.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://cn.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://cn.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://cn.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://cn.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://cn.archive.ubuntu.com precise-backports/main Sources
Hit http://cn.archive.ubuntu.com precise-backports/restricted Sources
Hit http://cn.archive.ubuntu.com precise-backports/universe Sources
Hit http://cn.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://cn.archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://cn.archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://cn.archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://cn.archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://cn.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://cn.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://cn.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://cn.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://cn.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://cn.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://cn.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://cn.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://cn.archive.ubuntu.com precise/main Translation-en
Hit http://cn.archive.ubuntu.com precise/multiverse Translation-en
Hit http://cn.archive.ubuntu.com precise/restricted Translation-en
Hit http://cn.archive.ubuntu.com precise/universe Translation-en
Hit http://cn.archive.ubuntu.com precise-updates/main Translation-en
Hit http://cn.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://cn.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://cn.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://cn.archive.ubuntu.com precise-backports/main Translation-en
Hit http://cn.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://cn.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://cn.archive.ubuntu.com precise-backports/universe Translation-en
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Reading package lists... Done

4:android

joe@joe-Aspire-Z3730:~$ sudo apt-get install wine
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  binfmt-support cabextract fontconfig-config fonts-droid fonts-horai-umefont fonts-unfonts-core gnome-exe-thumbnailer icoutils libasn1-8-heimdal:i386 libasound2:i386 libasound2-plugins:i386
  libasyncns0:i386 libavahi-client3 libavahi-client3:i386 libavahi-common-data libavahi-common-data:i386 libavahi-common3 libavahi-common3:i386 libcapi20-3 libcapi20-3:i386 libcomerr2 libcomerr2:i386
  libcups2 libcups2:i386 libdb5.1:i386 libdbus-1-3 libdbus-1-3:i386 libencode-locale-perl libexif12:i386 libfile-listing-perl libflac8 libflac8:i386 libfont-afm-perl libfontconfig1 libfontconfig1:i386
  libgcrypt11 libgcrypt11:i386 libgd2-xpm libgd2-xpm:i386 libgif4:i386 libglib2.0-0:i386 libglu1-mesa:i386 libgnutls26 libgnutls26:i386 libgpg-error0:i386 libgphoto2-2:i386 libgphoto2-port0:i386
  libgssapi-krb5-2 libgssapi-krb5-2:i386 libgssapi3-heimdal:i386 libgstreamer-plugins-base0.10-0 libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386 libhcrypto4-heimdal:i386
  libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl
  libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libhx509-5-heimdal:i386 libice6:i386 libieee1284-3:i386 libio-socket-inet6-perl libio-socket-ssl-perl libjack-jackd2-0:i386 libjpeg-turbo8
  libjpeg-turbo8:i386 libjpeg8:i386 libjson0 libjson0:i386 libk5crypto3 libk5crypto3:i386 libkeyutils1:i386 libkrb5-26-heimdal:i386 libkrb5-3 libkrb5-3:i386 libkrb5support0 libkrb5support0:i386
  liblcms1:i386 libldap-2.4-2 libldap-2.4-2:i386 libltdl7:i386 liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl libmpg123-0 libmpg123-0:i386 libnet-http-perl libnet-ssleay-perl
  libodbc1 libogg0:i386 libopenal-data libopenal1 libopenal1:i386 liborc-0.4-0:i386 libosmesa6 libosmesa6:i386 libp11-kit0:i386 libpam-winbind libpcre3 libpcre3:i386 libpng12-0:i386 libpulse0:i386
  libroken18-heimdal:i386 libsamplerate0:i386 libsane:i386 libsasl2-2:i386 libsasl2-modules:i386 libselinux1:i386 libsm6:i386 libsndfile1 libsndfile1:i386 libsocket6-perl libspeexdsp1:i386 libsqlite3-0
  libsqlite3-0:i386 libssl1.0.0:i386 libtasn1-3 libtasn1-3:i386 libtiff4 libtiff4:i386 liburi-perl libusb-0.1-4:i386 libuuid1 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386 libvorbis0a:i386
  libvorbisenc2:i386 libwbclient0 libwind0-heimdal:i386 libwrap0:i386 libwww-perl libwww-robotrules-perl libxcomposite1:i386 libxcursor1:i386 libxi6 libxi6:i386 libxinerama1:i386 libxml2:i386 libxpm4
  libxpm4:i386 libxrandr2 libxrandr2:i386 libxrender1:i386 libxslt1.1:i386 libxt6:i386 odbcinst odbcinst1debian2 p7zip samba-common smbclient ttf-mscorefonts-installer unixodbc winbind wine-gecko2.21
  wine-gecko2.21:i386 wine-mono0.0.8 wine1.6 wine1.6-amd64 wine1.6-i386:i386 winetricks
Suggested packages:
  libterm-readline-gnu-perl libterm-readline-perl-perl libasound2-python:i386 cups-common:i386 rng-tools rng-tools:i386 libgd-tools libgd-tools:i386 gnutls-bin gnutls-bin:i386 gphoto2:i386 gtkam:i386
  krb5-doc krb5-user krb5-doc:i386 krb5-user:i386 libvisual-0.4-plugins:i386 gstreamer-codec-install:i386 gnome-codec-install:i386 gstreamer0.10-tools:i386 gstreamer0.10-plugins-base:i386
  libdata-dump-perl jackd2:i386 liblcms-utils:i386 libcrypt-ssleay-perl libmyodbc odbc-postgresql tdsodbc unixodbc-bin hpoj:i386 hplip:i386 libsane-extras:i386 sane-utils:i386 libsasl2-modules-otp:i386
  libsasl2-modules-ldap:i386 libsasl2-modules-sql:i386 libsasl2-modules-gssapi-mit:i386 libsasl2-modules-gssapi-heimdal:i386 libauthen-ntlm-perl p7zip-full cifs-utils dosbox:any
Recommended packages:
  xml-core:i386 wine1.5-amd64 wine1.5-i386:i386 unixodbc:i386 wine-mono0.0.8:i386
The following NEW packages will be installed:
  binfmt-support cabextract fonts-droid fonts-horai-umefont fonts-unfonts-core gnome-exe-thumbnailer icoutils libasn1-8-heimdal:i386 libasound2:i386 libasound2-plugins:i386 libasyncns0:i386
  libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386 libcapi20-3 libcapi20-3:i386 libcomerr2:i386 libcups2:i386 libdb5.1:i386 libdbus-1-3:i386 libencode-locale-perl libexif12:i386
  libfile-listing-perl libflac8:i386 libfont-afm-perl libfontconfig1:i386 libgcrypt11:i386 libgd2-xpm:i386 libgif4:i386 libglib2.0-0:i386 libglu1-mesa:i386 libgnutls26:i386 libgpg-error0:i386
  libgphoto2-2:i386 libgphoto2-port0:i386 libgssapi-krb5-2:i386 libgssapi3-heimdal:i386 libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386
  libheimntlm0-heimdal:i386 libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
  libhttp-negotiate-perl libhx509-5-heimdal:i386 libice6:i386 libieee1284-3:i386 libio-socket-inet6-perl libio-socket-ssl-perl libjack-jackd2-0:i386 libjpeg-turbo8:i386 libjpeg8:i386 libjson0:i386
  libk5crypto3:i386 libkeyutils1:i386 libkrb5-26-heimdal:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms1:i386 libldap-2.4-2:i386 libltdl7:i386 liblwp-mediatypes-perl liblwp-protocol-https-perl
  libmailtools-perl libmpg123-0 libmpg123-0:i386 libnet-http-perl libnet-ssleay-perl libodbc1 libogg0:i386 libopenal-data libopenal1 libopenal1:i386 liborc-0.4-0:i386 libosmesa6 libosmesa6:i386
  libp11-kit0:i386 libpam-winbind libpcre3:i386 libpng12-0:i386 libpulse0:i386 libroken18-heimdal:i386 libsamplerate0:i386 libsane:i386 libsasl2-2:i386 libsasl2-modules:i386 libselinux1:i386 libsm6:i386
  libsndfile1:i386 libsocket6-perl libspeexdsp1:i386 libsqlite3-0:i386 libssl1.0.0:i386 libtasn1-3:i386 libtiff4:i386 liburi-perl libusb-0.1-4:i386 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386
  libvorbis0a:i386 libvorbisenc2:i386 libwind0-heimdal:i386 libwrap0:i386 libwww-perl libwww-robotrules-perl libxcomposite1:i386 libxcursor1:i386 libxi6:i386 libxinerama1:i386 libxml2:i386 libxpm4:i386
  libxrandr2:i386 libxrender1:i386 libxslt1.1:i386 libxt6:i386 odbcinst odbcinst1debian2 p7zip ttf-mscorefonts-installer unixodbc winbind wine wine-gecko2.21 wine-gecko2.21:i386 wine-mono0.0.8 wine1.6
  wine1.6-amd64 wine1.6-i386:i386 winetricks
The following packages will be upgraded:
  fontconfig-config libavahi-client3 libavahi-common-data libavahi-common3 libcomerr2 libcups2 libdbus-1-3 libflac8 libfontconfig1 libgcrypt11 libgd2-xpm libgnutls26 libgssapi-krb5-2
  libgstreamer-plugins-base0.10-0 libjpeg-turbo8 libjson0 libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2 libpcre3 libsndfile1 libsqlite3-0 libtasn1-3 libtiff4 libuuid1 libwbclient0 libxi6 libxpm4
  libxrandr2 samba-common smbclient
32 upgraded, 138 newly installed, 0 to remove and 387 not upgraded.
Need to get 256 MB of archives.
After this operation, 563 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
相關文章
相關標籤/搜索