{"id":638,"date":"2024-11-24T21:52:23","date_gmt":"2024-11-24T12:52:23","guid":{"rendered":"https:\/\/microelectronica.jp\/wiki\/?p=638"},"modified":"2024-11-24T21:52:29","modified_gmt":"2024-11-24T12:52:29","slug":"2-linux%e3%81%ae%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e6%a7%8b%e9%80%a0","status":"publish","type":"post","link":"https:\/\/microelectronica.jp\/wiki\/?p=638","title":{"rendered":"(2) Linux\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020"},"content":{"rendered":"<h3 id=\"headline3\">\u57fa\u672c\u7684\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020<\/h3>\n<p>Linux\u306e\u57fa\u672c\u7684\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<br \/>\nLinux\u3067\u306f\u6700\u3082\u4e0a\u4f4d\u968e\u5c64\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f \/ (\u30b9\u30e9\u30c3\u30b7\u30e5)\u3067\u3059\u3002\u7d9a\u3044\u3066home\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u306ehome\u306e\u4e0b\u306b\u306f\u30e6\u30fc\u30b6\u30fc\u304c\u76f4\u63a5\u7de8\u96c6\u3067\u304d\u308b\u30d5\u30a1\u30a4\u30eb\u7b49\u304c\u542b\u307e\u308c\u308buser\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/microelectronica.jp\/wiki\/wp-content\/uploads\/2024\/02\/linux3-300x255.jpg\" alt=\"\" width=\"300\" height=\"255\" class=\"alignnone size-medium wp-image-191\" \/><\/p>\n<p>\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u6642\u306f\u6700\u521d\u306fuser\u306e\u968e\u5c64\u304b\u3089\u59cb\u307e\u308a\u307e\u3059\u3002<\/p>\n<p>\u73fe\u5728\u3044\u308b\u968e\u5c64\u306e\u3053\u3068\u3092\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068\u3044\u3044\u307e\u3059\u3002\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u79fb\u52d5\u3057\u305f\u308a\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5185\u5bb9\u3092\u8868\u793a\u3057\u305f\u308a\u3059\u308b\u57fa\u672c\u7684\u306a\u30b3\u30de\u30f3\u30c9\u306b\u306f\u6b21\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 96px;\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 16.8468%; text-align: center; height: 24px;\">\u30b3\u30de\u30f3\u30c9<\/td>\n<td style=\"width: 55.2252%; text-align: center; height: 24px;\">\u5185\u5bb9<\/td>\n<td style=\"width: 27.9279%; text-align: center; height: 24px;\">\u4f7f\u7528\u4f8b<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 16.8468%; height: 24px;\">cd<\/td>\n<td style=\"width: 55.2252%; height: 24px;\">\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u79fb\u52d5<\/p>\n<p>.. \u3067\u4e00\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3067\u304d\u308b<br \/>\n\u7d76\u5bfe\u30d1\u30b9\u3067\u3082\u76f8\u5bfe\u30d1\u30b9\u3067\u3082\u6307\u5b9a\u3067\u304d\u308b<\/td>\n<td style=\"width: 27.9279%; height: 24px;\">\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>~$ cd \/home\r\n\/home$\u00a0<\/code><\/pre>\n<\/div>\n<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 16.8468%; height: 24px;\">ls<\/td>\n<td style=\"width: 55.2252%; height: 24px;\">\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u89a7\u8868\u793a\u3059\u308b<\/p>\n<p>\u30aa\u30d7\u30b7\u30e7\u30f3 -a\u3000\u5168\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8868\u793a<br \/>\n\u30aa\u30d7\u30b7\u30e7\u30f3 -l \u3000\u30a2\u30af\u30bb\u30b9\u6a29\u3084\u30d5\u30a1\u30a4\u30eb\u30bf\u30a4\u30d7\u3082\u8868\u793a<\/td>\n<td style=\"width: 27.9279%; height: 24px;\">\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>~$ ls -a\r\n.\u00a0 .bash_logout\u00a0 .cache<\/code><\/pre>\n<\/div>\n<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 16.8468%; height: 24px;\">pwd<\/td>\n<td style=\"width: 55.2252%; height: 24px;\">\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3078\u306e\u30d1\u30b9\u3092\u8868\u793a\u3059\u308b<\/td>\n<td style=\"width: 27.9279%; height: 24px;\">\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>~$ pwd\r\n\/home\/user<\/code><\/pre>\n<p>&nbsp;<\/p>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u8868\u793a\u3067\u3000~\uff08\u30c1\u30eb\u30c0\uff09\u306f\u30e6\u30fc\u30b6\u30fc\u306e\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u3057\u307e\u3059\u3002<br \/>\n\/\uff08\u30b9\u30e9\u30c3\u30b7\u30e5\uff09\u306f\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u6700\u521d\u306b\u3000.\uff08\u30c9\u30c3\u30c8\uff09\u304c\u4ed8\u3044\u3066\u3044\u308b\u3082\u306e\u306f\u96a0\u3057\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002ls -a\u3000\u3067\u8868\u793a\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3 id=\"headline3\">Linux\u3067\u5171\u901a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/h3>\n<p>\u307b\u3068\u3093\u3069\u306eLinux\u3067\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e0b\u306b\u3042\u308b\u5404\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u307b\u307c\u5171\u901a\u3067\u3059\u3002\u4e3b\u306b\u6b21\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u304c\u5165\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<table style=\"border-collapse: collapse; width: 100.676%;\">\n<tbody>\n<tr>\n<td style=\"width: 20.4417%;\">bin<\/td>\n<td style=\"width: 80.234%;\">\u6a19\u6e96\u30b3\u30de\u30f3\u30c9\u3001\u3053\u3053\u306b\u30b3\u30de\u30f3\u30c9\u304c\u5165\u3063\u3066\u3044\u308b<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20.4417%;\">dev<\/td>\n<td style=\"width: 80.234%;\">\u30c7\u30d0\u30a4\u30b9\u95a2\u9023\u306e\u30d5\u30a1\u30a4\u30eb<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20.4417%;\">etc<\/td>\n<td style=\"width: 80.234%;\">\u30cf\u30fc\u30c9\u30a6\u30a8\u30a2\u56fa\u6709\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u306a\u3069\u3067\u4f7f\u3046\u3053\u3068\u304c\u3042\u308b<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20.4417%;\">root<\/td>\n<td style=\"width: 80.234%;\">\u7ba1\u7406\u8005\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20.4417%;\">usr<\/td>\n<td style=\"width: 80.234%;\">\u7ba1\u7406\u8005\u95a2\u9023\u306e\u30c7\u30fc\u30bf<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20.4417%;\">home<\/td>\n<td style=\"width: 80.234%;\">\u30e6\u30fc\u30b6\u30fc\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u3042\u308b\u5834\u6240<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20.4417%;\">var<\/td>\n<td style=\"width: 80.234%;\">\u5b9f\u884c\u4e2d\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u30c7\u30fc\u30bf\u304c\u4fdd\u7ba1\u3055\u308c\u3066\u3044\u308b\u5834\u6240\uff08\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306a\u3069\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u30e6\u30fc\u30b6\u30fc\u304c\u4f7f\u3046\u30b3\u30de\u30f3\u30c9\u306f\u5168\u3066bin\u306b\u5165\u3063\u3066\u3044\u307e\u3059\u3002\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u3053\u3053\u306b\u5165\u3063\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u5f15\u3063\u5f35\u3063\u3066\u304d\u3066\u5b9f\u884c\u3057\u3066\u3044\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3 id=\"headline3\">\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u3068\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/h3>\n<p>Linux\u3067\u306f\u30bd\u30d5\u30c8\u30a6\u30a8\u30a2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u6642\u306f\u4e3b\u306b2\u3064\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u30021\u3064\u306f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5\u3002\u81ea\u5206\u3067\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u5165\u624b\u3057<span>\u300c.\/configure\u300d\u300cmake\u300d\u300cmake install\u300d\u3068\u3044\u30463\u3064\u306e\u624b\u9806\u3092\u4f7f\u3063\u3066\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u3053\u306e\u65b9\u6cd5\u3067\u306f\u30e6\u30fc\u30b6\u30fc\u306f\u3001\u305d\u306e\u30bd\u30d5\u30c8\u30a6\u30a8\u30a2\u3092\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u4ed6\u306e\u30bd\u30d5\u30c8\u30a6\u30a8\u30a2\u3084\u305d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u7406\u89e3\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u4f9d\u5b58\u95a2\u4fc2\u3068\u3044\u3044\u591a\u6570\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u4f9d\u5b58\u95a2\u4fc2\u306e\u628a\u63e1\u304c\u8907\u96d1\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u30e6\u30fc\u30b6\u30fc\u304c\u6df7\u4e71\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<p>\u3053\u308c\u3092\u89e3\u6c7a\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3092\u4f7f\u3063\u3066\u30bd\u30d5\u30c8\u30a6\u30a8\u30a2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u73fe\u5728\u3067\u306f\u3053\u3061\u3089\u306e\u65b9\u6cd5\u304c\u4e00\u822c\u7684\u3067\u3059\u3002<br \/>\n\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u306f\u305d\u306e\u30bd\u30d5\u30c8\u30a6\u30a8\u30a2\u3092\u52d5\u304b\u3059\u305f\u3081\u306b\u5fc5\u8981\u306a\u30bd\u30d5\u30c8\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u307e\u3068\u3081\u305f\u3082\u306e\u3067\u3059\u3002\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u6a5f\u80fd\u306f\u4f9d\u5b58\u95a2\u4fc2\u3092\u78ba\u8a8d\u3057\u3066\u30bd\u30d5\u30c8\u30a6\u30a8\u30a2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3059\u308b\u305f\u3081\u30e6\u30fc\u30b6\u30fc\u304c\u4f9d\u5b58\u95a2\u4fc2\u3092\u628a\u63e1\u3057\u3066\u3044\u306a\u304f\u3066\u3082\u9069\u5207\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u308c\u308b\u305f\u3081\u3068\u3066\u3082\u4fbf\u5229\u3067\u3059\u3002<br \/>\nLinux\u3067\u306f\u30bd\u30d5\u30c8\u30a6\u30a8\u30a2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u6a5f\u80fd\u3092\u4f7f\u3046\u306e\u304c\u4e00\u822c\u7684\u3067\u3059\u3002<\/p>\n<p>\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u6a5f\u80fd\u3067\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u306f apt-get install \u304c\u4f7f\u308f\u308c\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>~$ sudo apt-get install xxxx\r\n[sudo] password for user:\u00a0<\/code><\/pre>\n<\/div>\n<p>sudo\u306f\u30b9\u30fc\u30d1\u30fc\u30e6\u30fc\u30b6\u30fc\u3001\u3059\u306a\u308f\u3061\u7ba1\u7406\u8005\u3068\u3057\u3066\u5b9f\u884c\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u5165\u529b\u3057\u305f\u7ba1\u7406\u8005\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u3059\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u5165\u529b\u3057\u3066\u3082\u753b\u9762\u4e0a\u306b\u306f\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u57fa\u672c\u7684\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020 Linux\u306e\u57fa\u672c\u7684\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u3092\u8aac\u660e\u3057\u307e\u3059\u3002 Linux\u3067\u306f\u6700\u3082\u4e0a\u4f4d\u968e\u5c64\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f \/ (\u30b9\u30e9\u30c3\u30b7\u30e5)\u3067\u3059\u3002\u7d9a\u3044\u3066home\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u306ehome\u306e\u4e0b\u306b\u306f\u30e6\u30fc\u30b6\u30fc\u304c\u76f4\u63a5\u7de8\u96c6\u3067\u304d\u308b\u30d5\u30a1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"image","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1,20],"tags":[],"class_list":["post-638","post","type-post","status-publish","format-image","hentry","category-1","category-linux","post_format-post-format-image"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=\/wp\/v2\/posts\/638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=638"}],"version-history":[{"count":1,"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=\/wp\/v2\/posts\/638\/revisions"}],"predecessor-version":[{"id":639,"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=\/wp\/v2\/posts\/638\/revisions\/639"}],"wp:attachment":[{"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}