How do I install dartium on ubuntu?

梦想的初衷 提交于 2019-12-12 18:47:51

问题


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!


回答1:


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 https://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/



来源:https://stackoverflow.com/questions/35666136/how-do-i-install-dartium-on-ubuntu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!