[참고] Bash on Ubuntu on Windows
lxterminal
실행 그림export DISPLAY=:0 ; LANG=C lxterminal &
개요
환경
export DISPLAY=:0
수행 설치
Bash on Ubuntu on Windows
모든 설정 => 업데이트 및 보안 => 개발자 용 => 개발자 모드
[Win] + R에서
optionalfeatures
[Enter] sudo apt-get install fonts-ipafont fonts-ipaexfont
=>일본어 표시(IPA 폰트)일본어 글꼴을 설치하지 않으면 ...
lxrun /uninstall /full
lxrun /install
lxrun /setdefaultuser
VcXsrv
vcxsrv-64.1.18.3.0.installer.exe
사용. 신청
[NG] Wine
=> 32 비트 바이너리를 실행할 수없는 패턴.
설치
sudo dpkg --add-architecture i386
sudo apt-get update
sudo ap-get install wine wintricks
[OK] lxterminal
설치
sudo apt-get install lxterminal
[OK??] Firefox
설치
sudo apt-get install firefox firefox-locale-ja
경고가 나오지만 브라우징 할 수 있습니다.
mt08@DESKTOP-A9K10C2:~$ firefox
Sandbox: unexpected multithreading found; this prevents using namespace sandboxing.
(firefox:165): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally without any error message
(firefox:165): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally without any error message
(firefox:165): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Failed to execute child process "dbus-launch" (そのようなファイルやディレクトリはありません)
(firefox:165): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally without any error message
(firefox:165): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally without any error message
[NG]Google 크롬
설치
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i ./google-chrome-stable_current_amd64.deb
sudo apt-get install -f
코어 덤프
mt08@DESKTOP-A9K10C2:~$ google-chrome --version
Google Chrome 52.0.2743.116
mt08@DESKTOP-A9K10C2:~$ google-chrome
中止 (コアダンプ)
[NG] Chromium-browser-l10n
설치
sudo apt-get install chromium-browser-l10n
코어 덤프
mt08@DESKTOP-A9K10C2:~$ chromium-browser --version
libkmod: ERROR ../libkmod/libkmod-module.c:1619 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
Error: could not get list of modules: No such file or directory
Chromium 51.0.2704.79 Ubuntu 14.04
mt08@DESKTOP-A9K10C2:~$ chromium-browser
libkmod: ERROR ../libkmod/libkmod-module.c:1619 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
Error: could not get list of modules: No such file or directory
[1701:1701:0803/172639:FATAL:render_sandbox_host_linux.cc(40)] Check failed: 0 == shutdown(renderer_socket_, SHUT_RD). shutdown: 無効な引数です
#0 0x7f9f795b47fe base::debug::StackTrace::StackTrace()
#1 0x7f9f795ce987 logging::LogMessage::~LogMessage()
#2 0x7f9f795ceba9 logging::ErrnoLogMessage::~ErrnoLogMessage()
#3 0x7f9f75ead8b5 content::RenderSandboxHostLinux::Init()
#4 0x7f9f75c73136 content::BrowserMainLoop::EarlyInitialization()
#5 0x7f9f75c763ef <unknown>
#6 0x7f9f75c6f90d content::BrowserMain()
#7 0x7f9f75be1c34 <unknown>
#8 0x7f9f75be0dc1 content::ContentMain()
#9 0x7f9f7a8dbc48 <unknown>
#10 0x7f9f62361ec5 __libc_start_main
#11 0x7f9f7a8dbb1a <unknown>
中止 (コアダンプ)
gcc (build-essential)
설치 및 HelloWorld
mt08@DESKTOP-A9K10C2:~$ sudo apt-get install build-essential
.
.
.
mt08@DESKTOP-A9K10C2:~$ cat hello.c
#include <stdio.h>
int main(int ac, char *av[])
{
printf("Hello World\n");
return 0;
}
mt08@DESKTOP-A9K10C2:~$ gcc hello.c -o hello
mt08@DESKTOP-A9K10C2:~$ ./hello
Hello World
mt08@DESKTOP-A9K10C2:~$ file hello
hello: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=485460cc24207c33a5d3bbe56b27fc3a20b32815, not stripped
Reference
이 문제에 관하여([참고] Bash on Ubuntu on Windows), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/mt08/items/6b2172a651606068dda5텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)