{"id":85,"date":"2019-07-23T17:43:50","date_gmt":"2019-07-23T09:43:50","guid":{"rendered":"https:\/\/www.book11111.com\/?p=85"},"modified":"2019-07-23T17:43:51","modified_gmt":"2019-07-23T09:43:51","slug":"ubuntu14-04%e5%ae%89%e8%a3%85npm","status":"publish","type":"post","link":"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/ubuntu14-04%e5%ae%89%e8%a3%85npm\/","title":{"rendered":"ubuntu14.04\u5b89\u88c5npm"},"content":{"rendered":"<p>\u5728ubuntu14.04\u4e0b\u66f4\u65b0\u4e86\u6e90\u540e\uff0c\u60f3\u8981\u5b89\u88c5npm\uff0cnodejs\u8f6f\u4ef6\uff0c<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\"># apt-get install libssl-dev=1.0.1f-1ubuntu2.26\n\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210\n\u6b63\u5728\u5206\u6790\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\u6811       \n\u6b63\u5728\u8bfb\u53d6\u72b6\u6001\u4fe1\u606f... \u5b8c\u6210       \n\u6709\u4e00\u4e9b\u8f6f\u4ef6\u5305\u65e0\u6cd5\u88ab\u5b89\u88c5\u3002\u5982\u679c\u60a8\u7528\u7684\u662f unstable \u53d1\u884c\u7248\uff0c\u8fd9\u4e5f\u8bb8\u662f\n\u56e0\u4e3a\u7cfb\u7edf\u65e0\u6cd5\u8fbe\u5230\u60a8\u8981\u6c42\u7684\u72b6\u6001\u9020\u6210\u7684\u3002\u8be5\u7248\u672c\u4e2d\u53ef\u80fd\u4f1a\u6709\u4e00\u4e9b\u60a8\u9700\u8981\u7684\u8f6f\u4ef6\n\u5305\u5c1a\u672a\u88ab\u521b\u5efa\u6216\u662f\u5b83\u4eec\u5df2\u88ab\u4ece\u65b0\u5230(Incoming)\u76ee\u5f55\u79fb\u51fa\u3002\n\u4e0b\u5217\u4fe1\u606f\u53ef\u80fd\u4f1a\u5bf9\u89e3\u51b3\u95ee\u9898\u6709\u6240\u5e2e\u52a9\uff1a\n\u00a0\n\u4e0b\u5217\u8f6f\u4ef6\u5305\u6709\u672a\u6ee1\u8db3\u7684\u4f9d\u8d56\u5173\u7cfb\uff1a\n libssl-dev : \u4f9d\u8d56: libssl1.0.0 (= 1.0.1f-1ubuntu2.26) \u4f46\u662f 1.0.1f-1ubuntu11.5 \u6b63\u8981\u88ab\u5b89\u88c5\nE: \u65e0\u6cd5\u4fee\u6b63\u9519\u8bef\uff0c\u56e0\u4e3a\u60a8\u8981\u6c42\u67d0\u4e9b\u8f6f\u4ef6\u5305\u4fdd\u6301\u73b0\u72b6\uff0c\u5c31\u662f\u5b83\u4eec\u7834\u574f\u4e86\u8f6f\u4ef6\u5305\u95f4\u7684\u4f9d\u8d56\u5173\u7cfb\u3002<\/pre>\n<p>\u7531\u4ee5\u4e0a\u4fe1\u606f\u53ef\u77e5\u662f\u56e0\u4e3a\u8f6f\u4ef6\u7248\u672c\u95ee\u9898\uff0c\u89e3\u51b3\u65b9\u6848\u662f\u4f7f\u7528\u4f7f\u7528aptitude\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668<\/p>\n<p>1.\u5b89\u88c5aptitude<\/p>\n<p>$sudo apt-get install aptitude<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">$sudo apt-get install aptitude<\/pre>\n<p>2.\u5229\u7528aptitude\u5b89\u88c5npm<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">~# sudo aptitude install npm\n\u4e0b\u5217\u201c\u65b0\u201d\u8f6f\u4ef6\u5305\u5c06\u88ab\u5b89\u88c5\u3002         \n  gyp{a} libc-ares-dev{a} libssl-dev{ab} libv8-3.14-dev{a} node-abbrev{a} node-ansi{a} node-archy{a} node-block-stream{a} \n  node-fstream{a} node-fstream-ignore{a} node-github-url-from-git{a} node-glob{a} node-graceful-fs{a} node-gyp{a} \n  node-inherits{a} node-ini{a} node-lockfile{a} node-lru-cache{a} node-minimatch{a} node-mkdirp{a} node-mute-stream{a} \n  node-nopt{a} node-normalize-package-data{a} node-npmlog{a} node-once{a} node-osenv{a} node-read{a} node-read-package-json{a} \n  node-retry{a} node-rimraf{a} node-semver{a} node-sha{a} node-sigmund{a} node-slide{a} node-tar{a} node-which{a} nodejs-dev{a} \n  npm \n0 \u4e2a\u8f6f\u4ef6\u5305\u88ab\u5347\u7ea7\uff0c\u65b0\u5b89\u88c5 38 \u4e2a\uff0c 0 \u4e2a\u5c06\u88ab\u5220\u9664\uff0c \u540c\u65f6 20 \u4e2a\u5c06\u4e0d\u5347\u7ea7\u3002\n\u9700\u8981\u83b7\u53d6 1,895 kB\/2,282 kB \u7684\u5b58\u6863\u3002 \u89e3\u5305\u540e\u5c06\u8981\u4f7f\u7528 12.1 MB\u3002\n\u4e0b\u5217\u8f6f\u4ef6\u5305\u5b58\u5728\u672a\u6ee1\u8db3\u7684\u4f9d\u8d56\u5173\u7cfb\uff1a\n libssl-dev : \u4f9d\u8d56: libssl1.0.0 (= 1.0.1f-1ubuntu2.26) \u4f46\u662f 1.0.1f-1ubuntu11.5 \u5df2\u5b89\u88c5\u3002\n\u4e0b\u5217\u52a8\u4f5c\u5c06\u89e3\u51b3\u8fd9\u4e9b\u4f9d\u8d56\u5173\u7cfb\uff1a\n\u00a0\n     \u4fdd\u6301 \u4e0b\u5217\u8f6f\u4ef6\u5305\u4e8e\u5176\u5f53\u524d\u7248\u672c\uff1a\n1)     libssl-dev [\u672a\u5b89\u88c5\u7684]      \n2)     node-gyp [\u672a\u5b89\u88c5\u7684]        \n3)     nodejs-dev [\u672a\u5b89\u88c5\u7684]      \n4)     npm [\u672a\u5b89\u88c5\u7684]             \n\u00a0\n\u00a0\n\u00a0\n\u662f\u5426\u63a5\u53d7\u8be5\u89e3\u51b3\u65b9\u6848\uff1f[Y\/n\/q\/?] n\n\u4e0b\u5217\u52a8\u4f5c\u5c06\u89e3\u51b3\u8fd9\u4e9b\u4f9d\u8d56\u5173\u7cfb\uff1a\n\u00a0\n     \u5b89\u88c5 \u4e0b\u5217\u8f6f\u4ef6\u5305\uff1a                                                   \n1)     libssl-dev [1.0.1f-1ubuntu2 (trusty)]                             \n\u00a0\n     \u964d\u7ea7 \u4e0b\u5217\u8f6f\u4ef6\u5305\uff1a                                                   \n2)     libssl1.0.0 [1.0.1f-1ubuntu11.5 (now) -&gt; 1.0.1f-1ubuntu2 (trusty)]\n\u00a0\n\u00a0\n\u00a0\n\u662f\u5426\u63a5\u53d7\u8be5\u89e3\u51b3\u65b9\u6848\uff1f[Y\/n\/q\/?] y\n\u4e0b\u5217\u8f6f\u4ef6\u5305\u5c06\u88ab\u201c\u964d\u7ea7\u201d\uff1a\n  libssl1.0.0 \n\u4e0b\u5217\u201c\u65b0\u201d\u8f6f\u4ef6\u5305\u5c06\u88ab\u5b89\u88c5\u3002\n  gyp{a} libc-ares-dev{a} libssl-dev{a} libv8-3.14-dev{a} node-abbrev{a} node-ansi{a} node-archy{a} node-block-stream{a} \n  node-fstream{a} node-fstream-ignore{a} node-github-url-from-git{a} node-glob{a} node-graceful-fs{a} node-gyp{a} \n  node-inherits{a} node-ini{a} node-lockfile{a} node-lru-cache{a} node-minimatch{a} node-mkdirp{a} node-mute-stream{a} \n  node-nopt{a} node-normalize-package-data{a} node-npmlog{a} node-once{a} node-osenv{a} node-read{a} node-read-package-json{a} \n  node-retry{a} node-rimraf{a} node-semver{a} node-sha{a} node-sigmund{a} node-slide{a} node-tar{a} node-which{a} nodejs-dev{a} \n  npm \n0 \u4e2a\u8f6f\u4ef6\u5305\u88ab\u5347\u7ea7\uff0c\u65b0\u5b89\u88c5 38 \u4e2a\uff0c 1 \u4e2a\u88ab\u964d\u7ea7\uff0c 0 \u4e2a\u5c06\u88ab\u5220\u9664\uff0c \u540c\u65f6 20 \u4e2a\u5c06\u4e0d\u5347\u7ea7\u3002\n\u9700\u8981\u83b7\u53d6 2,714 kB\/3,102 kB \u7684\u5b58\u6863\u3002 \u89e3\u5305\u540e\u5c06\u8981\u4f7f\u7528 12.0 MB\u3002<\/pre>\n<p>\u8fd9\u6837\u5c31\u80fd\u591f\u88c5\u4e0anpm\u4e86<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728ubuntu14.04\u4e0b\u66f4\u65b0\u4e86\u6e90\u540e\uff0c\u60f3\u8981\u5b89\u88c5npm\uff0cnodejs\u8f6f\u4ef6\uff0c # apt-get install  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-85","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ubuntu14.04\u5b89\u88c5npm - \u6c88\u8d85\u7684\u535a\u5ba2<\/title>\n<meta name=\"description\" content=\"arm,dsp,pcb,fpga,zynq,\u5e38\u7528\u8f6f\u4ef6altium designed,\u7b97\u6cd5\" \/>\n<link rel=\"canonical\" href=\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/ubuntu14-04\u5b89\u88c5npm\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ubuntu14.04\u5b89\u88c5npm - \u6c88\u8d85\u7684\u535a\u5ba2\" \/>\n<meta property=\"og:description\" content=\"arm,dsp,pcb,fpga,zynq,\u5e38\u7528\u8f6f\u4ef6altium designed,\u7b97\u6cd5\" \/>\n<meta property=\"og:url\" content=\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/ubuntu14-04\u5b89\u88c5npm\/\" \/>\n<meta property=\"og:site_name\" content=\"\u6c88\u8d85\u7684\u535a\u5ba2\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-23T09:43:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-07-23T09:43:51+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\">\n\t<meta name=\"twitter:data1\" content=\"1 \u5206\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"http:\/\/116.62.123.213\/#website\",\"url\":\"http:\/\/116.62.123.213\/\",\"name\":\"\\u6c88\\u8d85\\u7684\\u535a\\u5ba2\",\"description\":\"arm,dsp,pcb,fpga,zynq,\\u5e38\\u7528\\u8f6f\\u4ef6altium designed,\\u7b97\\u6cd5\",\"publisher\":{\"@id\":\"http:\/\/116.62.123.213\/#\/schema\/person\/686c7e95d9da5350921994bb9575417c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"http:\/\/116.62.123.213\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/ubuntu14-04%e5%ae%89%e8%a3%85npm\/#webpage\",\"url\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/ubuntu14-04%e5%ae%89%e8%a3%85npm\/\",\"name\":\"ubuntu14.04\\u5b89\\u88c5npm - \\u6c88\\u8d85\\u7684\\u535a\\u5ba2\",\"isPartOf\":{\"@id\":\"http:\/\/116.62.123.213\/#website\"},\"datePublished\":\"2019-07-23T09:43:50+00:00\",\"dateModified\":\"2019-07-23T09:43:51+00:00\",\"description\":\"arm,dsp,pcb,fpga,zynq,\\u5e38\\u7528\\u8f6f\\u4ef6altium designed,\\u7b97\\u6cd5\",\"breadcrumb\":{\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/ubuntu14-04%e5%ae%89%e8%a3%85npm\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/ubuntu14-04%e5%ae%89%e8%a3%85npm\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/ubuntu14-04%e5%ae%89%e8%a3%85npm\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"http:\/\/116.62.123.213\/\",\"url\":\"http:\/\/116.62.123.213\/\",\"name\":\"\\u9996\\u9875\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/ubuntu14-04%e5%ae%89%e8%a3%85npm\/\",\"url\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/ubuntu14-04%e5%ae%89%e8%a3%85npm\/\",\"name\":\"ubuntu14.04\\u5b89\\u88c5npm\"}}]},{\"@type\":\"Article\",\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/ubuntu14-04%e5%ae%89%e8%a3%85npm\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/ubuntu14-04%e5%ae%89%e8%a3%85npm\/#webpage\"},\"author\":{\"@id\":\"http:\/\/116.62.123.213\/#\/schema\/person\/686c7e95d9da5350921994bb9575417c\"},\"headline\":\"ubuntu14.04\\u5b89\\u88c5npm\",\"datePublished\":\"2019-07-23T09:43:50+00:00\",\"dateModified\":\"2019-07-23T09:43:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/ubuntu14-04%e5%ae%89%e8%a3%85npm\/#webpage\"},\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/116.62.123.213\/#\/schema\/person\/686c7e95d9da5350921994bb9575417c\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/ubuntu14-04%e5%ae%89%e8%a3%85npm\/#respond\"]}]},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/116.62.123.213\/#\/schema\/person\/686c7e95d9da5350921994bb9575417c\",\"name\":\"\\u6c88\\u8d85\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\/\/116.62.123.213\/#personlogo\",\"inLanguage\":\"zh-Hans\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/40261dfac05f2d465bb2abf96c1c4e8ceaf45876aec9d52e6b86ef40372d06f0?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/40261dfac05f2d465bb2abf96c1c4e8ceaf45876aec9d52e6b86ef40372d06f0?s=96&d=identicon&r=g\",\"caption\":\"\\u6c88\\u8d85\"},\"logo\":{\"@id\":\"http:\/\/116.62.123.213\/#personlogo\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/posts\/85","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/comments?post=85"}],"version-history":[{"count":1,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/posts\/85\/revisions"}],"predecessor-version":[{"id":86,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/posts\/85\/revisions\/86"}],"wp:attachment":[{"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/media?parent=85"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/categories?post=85"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/tags?post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}