{"id":1556,"date":"2019-11-17T02:01:09","date_gmt":"2019-11-16T17:01:09","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=1556"},"modified":"2023-06-12T20:08:28","modified_gmt":"2023-06-12T11:08:28","slug":"ubuntu-18-04-lts-desktop%e3%81%abbuild-essential%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/1556","title":{"rendered":"Ubuntu Desktop 18.04\u306bbuild-essential\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01"},"content":{"rendered":"<p>Ubuntu 18.04 LTS Desktop\u306b\u304a\u3044\u3066\u3001C\u95a2\u9023\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u3001build-essential\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>\u4f7f\u7528\u3057\u305f\u74b0\u5883<\/h2>\n<ul>\n<li>Ubuntu 18.04.03 LTS Desktop<\/li>\n<\/ul>\n<h2>apt\u30b3\u30de\u30f3\u30c9\u3067build-essiontial\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff08\u30a8\u30e9\u30fc\u767a\u751f\uff09<\/h2>\n<p>\u672c\u6765\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u306f\u305a\u3067\u3059\u304c\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo apt install build-essential \r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nSome packages could not be installed. This may mean that you have\r\nrequested an impossible situation or if you are using the unstable\r\ndistribution that some required packages have not yet been created\r\nor been moved out of Incoming.\r\nThe following information may help to resolve the situation:\r\n\r\nThe following packages have unmet dependencies:\r\n build-essential : Depends: dpkg-dev (&gt;= 1.17.11) but it is not going to be installed\r\nE: Unable to correct problems, you have held broken packages.\r\n<\/pre>\n<h2>\u4f9d\u5b58\u95a2\u4fc2\u3092\u89e3\u6c7a\u3057\u306a\u304c\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u305d\u3053\u3067\u3001\u4f9d\u5b58\u95a2\u4fc2\u3092\u89e3\u6c7a\u3057\u306a\u304c\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u8a66\u307f\u307e\u3059\u3002dpkg-dev\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u8a66\u307f\u307e\u3059\u304c\u4ee5\u4e0b\u306e\u72b6\u614b\u3067\u5931\u6557\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo apt install dpkg-dev\r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nSome packages could not be installed. This may mean that you have\r\nrequested an impossible situation or if you are using the unstable\r\ndistribution that some required packages have not yet been created\r\nor been moved out of Incoming.\r\nThe following information may help to resolve the situation:\r\n\r\nThe following packages have unmet dependencies:\r\n dpkg-dev : Depends: libdpkg-perl (= 1.19.0.5ubuntu2) but 1.19.0.5ubuntu2.1 is to be installed\r\n            Recommends: build-essential but it is not going to be installed\r\n            Recommends: fakeroot\r\n            Recommends: libalgorithm-merge-perl but it is not going to be installed\r\nE: Unable to correct problems, you have held broken packages.\r\n<\/pre>\n<p>\u3068\u308a\u3042\u3048\u305a\u3001fakeroot\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo apt install fakeroot\r\n<\/pre>\n<p>\u6b21\u306b\u3001libalgorithm-merge-perl\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo apt install  libalgorithm-merge-perl\r\n<\/pre>\n<p>\u3053\u308c\u3089\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3046\u307e\u304f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002\u3053\u3053\u3067\u3001libdpkg-perl\u3092\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo apt install libdpkg-perl=1.19.0.5ubuntu2\r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nSuggested packages:\r\n  debian-keyring git bzr\r\nThe following packages will be DOWNGRADED:\r\n  libdpkg-perl\r\n0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.\r\nNeed to get 211 kB of archives.\r\nAfter this operation, 0 B of additional disk space will be used.\r\nDo you want to continue? &#x5B;Y\/n] \r\nGet:1 http:\/\/jp.archive.ubuntu.com\/ubuntu bionic\/main amd64 libdpkg-perl all 1.19.0.5ubuntu2 &#x5B;211 kB]\r\nFetched 211 kB in 0s (611 kB\/s)      \r\ndpkg: warning: downgrading libdpkg-perl from 1.19.0.5ubuntu2.1 to 1.19.0.5ubuntu2\r\n(Reading database ... 170576 files and directories currently installed.)\r\nPreparing to unpack ...\/libdpkg-perl_1.19.0.5ubuntu2_all.deb ...\r\nUnpacking libdpkg-perl (1.19.0.5ubuntu2) over (1.19.0.5ubuntu2.1) ...\r\nSetting up libdpkg-perl (1.19.0.5ubuntu2) ...\r\nProcessing triggers for man-db (2.8.3-2ubuntu0.1) ...\r\n<\/pre>\n<p>\u3059\u308b\u3068\u3001dpkg-dev\u304c\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo apt install dpkg-dev\r\n<\/pre>\n<p>\u3082\u3046\u4e00\u5ea6\u3001build-essential\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u8a66\u307f\u307e\u3059\u304c\u3001dpkg-dev\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u305f\u3081\u3001\u8ffd\u52a0\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u4e0d\u8981\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo apt install build-essential \r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nbuild-essential is already the newest version (12.4ubuntu1).\r\nbuild-essential set to manually installed.\r\n0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\r\n<\/pre>\n<h2>\u30d1\u30c3\u30b1\u30fc\u30b8\u60c5\u5831\u3092\u5165\u624b\u3059\u308b\uff01\/h2><br \/>\nUbuntu\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u60c5\u5831\u306f\u3001\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u304b\u3089\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u3067\u691c\u7d22\u3057\u3066\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/packages.ubuntu.com\/\" rel=\"noopener noreferrer\" target=\"_blank\">Ubuntu Packages<\/a><\/li>\n<\/ul>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>build-essential\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u3059\u304c\u3001libdpkg-perl\u306e\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u304c\u809d\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u3053\u308c\u3067\u3001gcc\u3001g++\u3001make\u306a\u3069\u304c\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<h2>\u53c2\u8003\u60c5\u5831<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.ubuntu.com\/desktop\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu Desktop<\/a><\/li>\n<li><a href=\"https:\/\/www.ubuntu.com\/desktop\/developers\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu Desktop for developers<\/a><\/li>\n<li><a href=\"https:\/\/blog.ubuntu.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">ubuntu blog<\/a><\/li>\n<li><a href=\"https:\/\/wiki.ubuntu.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">ubuntu wiki<\/a><\/li>\n<\/ul>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/6571\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Ubuntu Desktop 18.04\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2022\/04\/fi_ubuntu_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Ubuntu Desktop 18.04\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01<\/div><div class=\"substr\">Ubuntu Desktop 18.04 LTS\u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/5239\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Debian\u7cfb\u306eOS\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2018\/08\/eye_debian_04-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Debian\u7cfb\u306eOS\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01<\/div><div class=\"substr\">Debian\u7cfb\u306eOS\u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/7679\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2021\/02\/fi_linux_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01<\/div><div class=\"substr\">Linux\u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>\u95a2\u9023\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<p><a href=\"https:\/\/amzn.to\/3vqrEPc\" rel=\"noopener\" target=\"_blank\"><img decoding=\"async\" class=\"paapi5-pa-product-image-source lazyload\" data-src=\"https:\/\/m.media-amazon.com\/images\/I\/51p2j7BlgUL._SL160_.jpg\" alt=\"N\/A\"><\/a><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu 18.04 LTS Desktop\u306b\u304a\u3044\u3066\u3001C\u95a2\u9023\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u3001build-essential\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":5284,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[178],"tags":[273,51,274,361],"class_list":["post-1556","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu-desktop-1804","tag-build-essential","tag-ubuntu","tag-ubuntu-desktop","tag-ubuntu-desktop-18-04"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/1556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=1556"}],"version-history":[{"count":3,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/1556\/revisions"}],"predecessor-version":[{"id":12295,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/1556\/revisions\/12295"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/5284"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=1556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=1556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=1556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}