如何在Ubuntu上安装dartium? [英] How do I install dartium on ubuntu?
问题描述
我可以使用 sudo apt-get install chromium-browser
安装chrome,我可以手动下载并粘贴dart sdk一个bin。但是,我还没有找到如何安装dartium,它有一些东西,不是铬或dart sdk(例如:content_shell和其他支持dart测试库)。我使用的是32位Lubuntu发行版。感谢您的帮助!
我喜欢手动安装,很容易,你可以在版本之间切换,不同的dirs。
从这里下载,dev或stable,你喜欢。如上所述,你可以两个只是位于不同的dirs。
https://www.dartlang.org/downloads/archive/ p>
然后将软件包解压缩到首选位置。
devel $ ls dartium-lucid64-full-stable-1.14.2.0 /
chrome icudtl.dat nacl_helper resources
chrome.1 lib nacl_helper_bootstrap resources.pak
chrome_100_percent.pak libffmpegsumo.so nacl_irt_x86_64.nexe xdg-mime
chrome-wrapper libpdf.so pnacl xdg -settings
extensions locales product_logo_48.png
之后,有两件事情需要考虑。
a)在我的环境中,Dartium一直在几个干净的Ubuntu安装已经缺少 libudev.so.0
所以如果你遇到问题,启动它的命令行,在这里应该提出。在我的情况下,解决方案只是做一个符号链接。
ls -la /lib/x86_64-linux-gnu/libudev.so.*
lrwxrwxrwx 1 root root 12 feb。 24 23:42 /lib/x86_64-linux-gnu/libudev.so.0 - > libudev.so.1
lrwxrwxrwx 1 root root 16 feb。 24 20:59 /lib/x86_64-linux-gnu/libudev.so.1 - > libudev.so.1.6.4
-rw-r - r-- 1 root root 122624 okt。 15 14:02 /lib/x86_64-linux-gnu/libudev.so.1.6.4
如果您喜欢确认这一点,这里描述
http://askubuntu.com/questions/ 663523 / getting-and-installing-dartium
b)如果您在旁边运行Chrome / Chromium,那么为了避免将您的个人设置拖到Dartium运行中,请使用 -user-data-dir
标志,这里描述更多:
https://www.dartlang.org/tools/dartium/
I was able to install chromium by using sudo apt-get install chromium-browser
, and I was able to install the dart sdk by manually downloading it and sticking it in a bin. However, I haven't been able to find how to install dartium, which has stuff that doesn't come with either chromium or dart sdk (ex: content_shell and other support for the dart test library). I'm using a 32 bit Lubuntu distro. Thanks for the help!
I prefer the manual install, very easy and you can switch between versions, they are just located in different dirs.
Download from here, either the dev or stable, what you prefer. As said above, you can have both just located in different dirs. https://www.dartlang.org/downloads/archive/
Then unzipped the package in the prefered location. You end with this, where chrome is the executable.
devel$ ls dartium-lucid64-full-stable-1.14.2.0/
chrome icudtl.dat nacl_helper resources
chrome.1 lib nacl_helper_bootstrap resources.pak
chrome_100_percent.pak libffmpegsumo.so nacl_irt_x86_64.nexe xdg-mime
chrome-wrapper libpdf.so pnacl xdg-settings
extensions locales product_logo_48.png
After this, two things are to concern.
a) In my environment, Dartium has consistently over several clean Ubuntu installations been missing libudev.so.0
So if you experience problems, start it for the command line, where this should be presented. In my case the solution is just to make a symbolic link.
ls -la /lib/x86_64-linux-gnu/libudev.so.*
lrwxrwxrwx 1 root root 12 feb. 24 23:42 /lib/x86_64-linux-gnu/libudev.so.0 -> libudev.so.1
lrwxrwxrwx 1 root root 16 feb. 24 20:59 /lib/x86_64-linux-gnu/libudev.so.1 -> libudev.so.1.6.4
-rw-r--r-- 1 root root 122624 okt. 15 14:02 /lib/x86_64-linux-gnu/libudev.so.1.6.4
If you like confirmation of this, it is described here http://askubuntu.com/questions/663523/getting-and-installing-dartium
b) If you run Chrome/Chromium beside, then to avoid dragging your personal settings into Dartium runs, use the –user-data-dir
flag, this is described more here:
https://www.dartlang.org/tools/dartium/
这篇关于如何在Ubuntu上安装dartium?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!