运行tizen的installer必备的库

来源:互联网 发布:unity js v8 编辑:程序博客网 时间:2024/05/18 01:34
root@ubuntu:/home/zhangbin/tools_chain# chmod +x tizen*bin
root@ubuntu:/home/zhangbin/tools_chain# ./tizen*bin
 Do not install as 'root' user or 'su' commands. 
root@ubuntu:/home/zhangbin/tools_chain# sudo ./tizen*bin
 Do not install as 'root' user or 'su' commands. 
root@ubuntu:/home/zhangbin/tools_chain# exit
exit
zhangbin@ubuntu:~$ cd /home/zhangbin/tools_chain
zhangbin@ubuntu:~/tools_chain$ ./tize*bin
 If you want to install TIZEN-SDK, you must install "expect" "gtk2-engines-pixbuf" "qemu-user-static" "libwebkitgtk-1.0-0"  package(s).
zhangbin@ubuntu:~/tools_chain$ apt-get install expect gtk2-engines-pixbuf qemu-user-static libwebkitgtk-1.0-0
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
zhangbin@ubuntu:~/tools_chain$ sudo su apt-get install expect gtk2-engines-pixbuf qemu-user-static libwebkitgtk-1.0-0
[sudo] password for zhangbin: 
Unknown id: apt-get
zhangbin@ubuntu:~/tools_chain$ sudo su
root@ubuntu:/home/zhangbin/tools_chain# apt-get install expect gtk2-engines-pixbuf qemu-user-static libwebkitgtk-1.0-0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  debootstrap libjavascriptcoregtk-1.0-0 libwebkitgtk-1.0-common
The following NEW packages will be installed:
  debootstrap expect gtk2-engines-pixbuf libjavascriptcoregtk-1.0-0
  libwebkitgtk-1.0-0 libwebkitgtk-1.0-common qemu-user-static
0 upgraded, 7 newly installed, 0 to remove and 101 not upgraded.
Need to get 22.7 MB of archives.
After this operation, 66.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ubuntu.cn99.com/ubuntu/ precise/main expect i386 5.45-2 [162 kB]
Get:2 http://ubuntu.cn99.com/ubuntu/ precise/universe gtk2-engines-pixbuf i386 2.24.10-0ubuntu6 [127 kB]
Get:3 http://ubuntu.cn99.com/ubuntu/ precise-updates/main libjavascriptcoregtk-1.0-0 i386 1.8.3-0ubuntu0.12.04.1 [1,427 kB]
Get:4 http://ubuntu.cn99.com/ubuntu/ precise-updates/main libwebkitgtk-1.0-common all 1.8.3-0ubuntu0.12.04.1 [756 kB]
Get:5 http://ubuntu.cn99.com/ubuntu/ precise-updates/main libwebkitgtk-1.0-0 i386 1.8.3-0ubuntu0.12.04.1 [7,315 kB]
Get:6 http://ubuntu.cn99.com/ubuntu/ precise-updates/universe qemu-user-static i386 1.0.50-2012.03-0ubuntu2.1 [12.9 MB]
Get:7 http://ubuntu.cn99.com/ubuntu/ precise-updates/main debootstrap all 1.0.39ubuntu0.2 [34.0 kB]
Fetched 22.7 MB in 20s (1,120 kB/s)                                            
Selecting previously unselected package expect.
(Reading database ... 474360 files and directories currently installed.)
Unpacking expect (from .../expect_5.45-2_i386.deb) ...
Selecting previously unselected package gtk2-engines-pixbuf.
Unpacking gtk2-engines-pixbuf (from .../gtk2-engines-pixbuf_2.24.10-0ubuntu6_i386.deb) ...
Selecting previously unselected package libjavascriptcoregtk-1.0-0.
Unpacking libjavascriptcoregtk-1.0-0 (from .../libjavascriptcoregtk-1.0-0_1.8.3-0ubuntu0.12.04.1_i386.deb) ...
Selecting previously unselected package libwebkitgtk-1.0-common.
Unpacking libwebkitgtk-1.0-common (from .../libwebkitgtk-1.0-common_1.8.3-0ubuntu0.12.04.1_all.deb) ...
Selecting previously unselected package libwebkitgtk-1.0-0.
Unpacking libwebkitgtk-1.0-0 (from .../libwebkitgtk-1.0-0_1.8.3-0ubuntu0.12.04.1_i386.deb) ...
Selecting previously unselected package qemu-user-static.
Unpacking qemu-user-static (from .../qemu-user-static_1.0.50-2012.03-0ubuntu2.1_i386.deb) ...
Selecting previously unselected package debootstrap.
Unpacking debootstrap (from .../debootstrap_1.0.39ubuntu0.2_all.deb) ...
Processing triggers for man-db ...
Setting up expect (5.45-2) ...
Setting up gtk2-engines-pixbuf (2.24.10-0ubuntu6) ...
Setting up libjavascriptcoregtk-1.0-0 (1.8.3-0ubuntu0.12.04.1) ...
Setting up libwebkitgtk-1.0-common (1.8.3-0ubuntu0.12.04.1) ...
Setting up libwebkitgtk-1.0-0 (1.8.3-0ubuntu0.12.04.1) ...
Setting up qemu-user-static (1.0.50-2012.03-0ubuntu2.1) ...
Setting up debootstrap (1.0.39ubuntu0.2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
W: Duplicate sources.list entry http://extras.ubuntu.com/ubuntu/ precise/main i386 Packages (/var/lib/apt/lists/extras.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages)
W: Duplicate sources.list entry http://extras.ubuntu.com/ubuntu/ precise/main i386 Packages (/var/lib/apt/lists/extras.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
root@ubuntu:/home/zhangbin/tools_chain#