﻿{"id":4817,"date":"2020-12-21T19:31:10","date_gmt":"2020-12-21T11:31:10","guid":{"rendered":"https:\/\/www.linuxmi.com\/?p=4817"},"modified":"2020-12-21T19:31:10","modified_gmt":"2020-12-21T11:31:10","slug":"linux-gpu-terminal-alacritty","status":"publish","type":"post","link":"https:\/\/www.linuxmi.com\/linux-gpu-terminal-alacritty.html","title":{"rendered":"Linux\u4e0a\u5b89\u88c5\u4f7f\u7528\u6700\u5feb\u7684 GPU \u52a0\u901f\u7684\u7ec8\u7aef\u4eff\u771f\u5668Alacritty"},"content":{"rendered":"<p>\u8fd9\u4e2a\u7b80\u5355\u7684\u6559\u7a0b\u5c55\u793a\u4e86\u5982\u4f55\u901a\u8fc7PPA\u5728Ubuntu 20.04, Ubuntu 20.10, Linux Mint 20\u4e2d\u5b89\u88c5\u6700\u5feb\u7684\u7ec8\u7aef\u6a21\u62df\u5668Alacritty\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/alacritty\/alacritty\" target=\"_blank\" rel=\"noopener\">Alacritty<\/a>\u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u3001GPU\u52a0\u901f\u7684\u7ec8\u7aef\u6a21\u62df\u5668\uff0c\u662f\u73b0\u6709\u6700\u5feb\u7684\u7ec8\u7aef\u6a21\u62df\u5668\u3002\u53ef\u4ee5\u5728macOS\u3001Linux\u3001BSD\u548cWindows\u4e0a\u5de5\u4f5c\u3002\u5b83\u662f\u4e00\u6b3e\u4e13\u6ce8\u4e8e\u7b80\u5355\u6027\u548c\u6027\u80fd\u7684\u514d\u8d39\u5f00\u6e90\u8f6f\u4ef6\u3002\u5177\u6709Vi\u6a21\u5f0f\u3001\u641c\u7d22\u3001Vi\u641c\u7d22\u7b49\u529f\u80fd\u3002<\/p>\n<p>Alacritty\u975e\u5e38\u6ce8\u91cd\u7b80\u5355\u6027\u548c\u6027\u80fd\u3002\u7531\u4e8e\u975e\u5e38\u6ce8\u91cd\u6027\u80fd\uff0c\u56e0\u6b64\u4f1a\u4ed4\u7ec6\u8003\u8651\u5176\u9644\u5e26\u7684\u529f\u80fd\uff0c\u60a8\u59cb\u7ec8\u53ef\u4ee5\u671f\u671bAlacritty\u7684\u901f\u5ea6\u975e\u5e38\u5feb\u3002\u901a\u8fc7\u5408\u7406\u9009\u62e9\u9ed8\u8ba4\u8bbe\u7f6e\uff0cAlacritty\u4e0d\u9700\u8981\u5176\u4ed6\u8bbe\u7f6e\u3002\u4f46\u662f\uff0c\u5b83\u53c8\u5141\u8bb8\u914d\u7f6e\u7ec8\u7aef\u7684\u8bb8\u591a\u65b9\u9762\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4820 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/12\/004.png\" alt=\"\" width=\"820\" height=\"655\" \/><\/p>\n<p>\u8be5\u8f6f\u4ef6\u88ab\u8ba4\u4e3a\u5904\u4e8ebeta\u7248\u5c31\u7eea\u72b6\u6001-\u7f3a\u5c11\u4e00\u4e9b\u5c1a\u5f85\u4fee\u590d\u7684\u529f\u80fd\u548c\u9519\u8bef\uff0c\u4f46\u8bb8\u591a\u4eba\u5df2\u5c06\u5176\u7528\u4f5c\u65e5\u5e38\u9a71\u52a8\u7a0b\u5e8f\u3002<\/p>\n<p>\u8981\u5b89\u88c5\u8be5\u8f6f\u4ef6\uff0c\u6709\u4e00\u4e2a<a href=\"https:\/\/launchpad.net\/~aslatter\/+archive\/ubuntu\/ppa\" target=\"_blank\" rel=\"noopener\">PPA\u5b58\u50a8\u5e93<\/a>\u5305\u542bUbuntu 20.04\u548cUbuntu 20.10\u7684\u6700\u65b0\u8f6f\u4ef6\u5305\u3002Ubuntu 18.04\u8fd8\u6709\u4e00\u4e2a\u65e7\u7248\u672c\u3002<\/p>\n<p>1\u3001\u4ece\u4f60\u7684\u7cfb\u7edf\u5e94\u7528\u542f\u52a8\u5668\u6253\u5f00\u7ec8\u7aef\u3002\u6253\u5f00\u540e\uff0c\u8fd0\u884c\u547d\u4ee4\u6dfb\u52a0PPA\uff1a<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ <span style=\"color: #ff0000;\">sudo add-apt-repository ppa:aslatter\/ppa<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4822 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/12\/002.png\" alt=\"\" width=\"946\" height=\"647\" \/><\/p>\n<p>\u8f93\u5165sudo\u63d0\u793a\u7684\u7528\u6237\u5bc6\u7801\uff08\u65e0\u661f\u53f7\u53cd\u9988\uff09\uff0c\u7136\u540e\u6309Enter\u7ee7\u7eed\u3002<\/p>\n<p>2\u3001\u6dfb\u52a0PPA\u8fd8\u5c06\u81ea\u52a8\u5237\u65b0\u7cfb\u7edf\u7a0b\u5e8f\u5305\u7f13\u5b58\u65f6\uff0c\u8fd0\u884capt\u547d\u4ee4\u4ee5\u5b89\u88c5\u7ec8\u7aef\u4eff\u771f\u5668\uff1a<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ <span style=\"color: #ff0000;\">sudo apt install alacritty<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4821 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/12\/003.png\" alt=\"\" width=\"946\" height=\"647\" \/><\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u8981\u4e48\u6253\u5f00\u5b83\u8981\u4e48\u4ece\u7cfb\u7edf\u5e94\u7528\u7a0b\u5e8f\u542f\u52a8\u5668\u6216\u6309Ctrl+Alt+T\u5728\u952e\u76d8\u4e0a\u3002<\/p>\n<p><strong>\u5378\u8f7dAlacritty:<\/strong><\/p>\n<p>\u8981\u5220\u9664\u7ec8\u7aef\u6a21\u62df\u5668\uff0c\u8fd0\u884c\u547d\u4ee4:<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ <span style=\"color: #ff0000;\">sudo apt remove &#8211;auto-remove alacritty<\/span><\/p>\n<p>\u8981\u5220\u9664Ubuntu PPA\uff0c\u53ef\u4ee5\u5728\u7ec8\u7aef\u8fd0\u884c\u547d\u4ee4:<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ <span style=\"color: #ff0000;\">sudo add-apt-repository &#8211;remove ppa:aslatter\/ppa<\/span><\/p>\n<p>\u6216\u8005\u6253\u5f00\u8f6f\u4ef6&amp;\u66f4\u65b0\u5e76\u5220\u9664\u201c\u5176\u4ed6\u8f6f\u4ef6\u201d\u9009\u9879\u5361\u4e0b\u7684\u5b58\u50a8\u5e93\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u4e2a\u7b80\u5355\u7684\u6559\u7a0b\u5c55\u793a\u4e86\u5982\u4f55\u901a\u8fc7PPA\u5728Ubuntu 20.04, Ubuntu 20.10, Linu &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[434],"class_list":["post-4817","post","type-post","status-publish","format-standard","hentry","category-linux","tag-alacritty"],"aioseo_notices":[],"views":2135,"_links":{"self":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/4817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/comments?post=4817"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/4817\/revisions"}],"predecessor-version":[{"id":4824,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/4817\/revisions\/4824"}],"wp:attachment":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/media?parent=4817"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/categories?post=4817"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/tags?post=4817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}