{"id":9549,"date":"2019-02-11T00:02:54","date_gmt":"2019-02-11T00:02:54","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=9549"},"modified":"2019-02-11T00:02:54","modified_gmt":"2019-02-11T00:02:54","slug":"alacritty-a-fastest-terminal-emulator-for-linux","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/02\/11\/alacritty-a-fastest-terminal-emulator-for-linux\/","title":{"rendered":"Alacritty \u2013 A Fastest Terminal Emulator for Linux"},"content":{"rendered":"<p><strong>Alacritty<\/strong>\u00a0is a free open-source, fast, cross-platform terminal emulator, that uses\u00a0<strong>GPU<\/strong>\u00a0(<strong>Graphics Processing Unit<\/strong>) for rendering, which implements certain optimizations that are not available in many other\u00a0terminal emulators in Linux.<\/p>\n<p><strong>Alacritty<\/strong>\u00a0is focused on two goals\u00a0<strong>simplicity<\/strong>\u00a0and\u00a0<strong>performance<\/strong>. The\u00a0<strong>performance<\/strong>\u00a0goal means, it should be speedy than any other terminal emulator available. The\u00a0<strong>simplicity<\/strong>\u00a0goal means, it doesn\u2019t supports features such as\u00a0<strong>tabs<\/strong>\u00a0or\u00a0<strong>splits<\/strong>\u00a0(which can be easily provided by other\u00a0terminal multiplexer \u2013 tmux) in Linux.<\/p>\n<h4>Prerequisites<\/h4>\n<p><strong>Alacritty<\/strong>\u00a0requires the most recent stable\u00a0Rust compiler\u00a0to install it.<\/p>\n<h3>Install Required Dependency Packages<\/h3>\n<p><strong>1.<\/strong>\u00a0First install\u00a0<strong>Rust<\/strong>\u00a0programming language using an\u00a0<strong>rustup<\/strong>\u00a0installer script and follow on screen instructions.<\/p>\n<pre># sudo curl https:\/\/sh.rustup.rs -sSf | sh\r\n<\/pre>\n<p><center><strong>2.<\/strong>\u00a0Next, you need to install a few additional libraries to build\u00a0<strong>Alacritty<\/strong>\u00a0on your Linux distributions, as shown.<\/p>\n<pre><strong>--------- On Ubuntu\/Debian ---------<\/strong> \r\n# apt-get install cmake libfreetype6-dev libfontconfig1-dev xclip\r\n\r\n<strong>--------- On CentOS\/RHEL ---------<\/strong>\r\n# yum install cmake freetype-devel fontconfig-devel xclip\r\n# yum group install \"Development Tools\"\r\n\r\n<strong>--------- On Fedora ---------<\/strong>\r\n# dnf install cmake freetype-devel fontconfig-devel xclip\r\n\r\n<strong>--------- On Arch Linux ---------<\/strong>\r\n# pacman -S cmake freetype2 fontconfig pkg-config make xclip\r\n\r\n<strong>--------- On openSUSE ---------<\/strong>\r\n# zypper install cmake freetype-devel fontconfig-devel xclip \r\n<\/pre>\n<h3>Installing Alacritty Terminal Emulator in Linux<\/h3>\n<p><strong>3.<\/strong>\u00a0Once you have installed all the required packages, next clone the\u00a0<strong>Alacritty<\/strong>\u00a0source code repository and compile it using following commands.<\/p>\n<pre>$ cd Downloads\r\n$ git clone https:\/\/github.com\/jwilm\/alacritty.git\r\n$ cd alacritty\r\n$ cargo build --release\r\n<\/pre>\n<p><strong>4.<\/strong>\u00a0Once the compilation process is complete, the binary will be saved in\u00a0<strong>.\/target\/release\/alacritty<\/strong>\u00a0directory. Copy the binary to a directory in your\u00a0<strong>PATH<\/strong>\u00a0and on a dekstop, you can add the application to your system menus, as follows.<\/p>\n<pre># cp target\/release\/alacritty \/usr\/local\/bin\r\n# cp Alacritty.desktop ~\/.local\/share\/applications\r\n<\/pre>\n<p><strong>5.<\/strong>\u00a0Next install the manual pages using following command.<\/p>\n<pre># gzip -c alacritty.man | sudo tee \/usr\/local\/share\/man\/man1\/alacritty.1.gz &gt; \/dev\/null\r\n<\/pre>\n<p><strong>6.<\/strong>\u00a0To add shell completion settings to your Linux shell, do the following.<\/p>\n<pre><strong>--------- On Bash Shell ---------<\/strong>\r\n# cp alacritty-completions.bash  ~\/.alacritty\r\n# echo \"source ~\/.alacritty\" &gt;&gt; ~\/.bashrc\r\n\r\n<strong>--------- On ZSH Shell ---------<\/strong>\r\n# cp alacritty-completions.zsh \/usr\/share\/zsh\/functions\/Completion\/X\/_alacritty\r\n\r\n<strong>--------- On FISH Shell ---------<\/strong>\r\n# cp alacritty-completions.fish \/usr\/share\/fish\/vendor_completions.d\/alacritty.fish\r\n<\/pre>\n<p><strong>7.<\/strong>\u00a0Finally start\u00a0<strong>Alacritty<\/strong>\u00a0in your system menu and click on it; when run for the first time, a config file will be created under\u00a0<strong>$HOME\/.config\/alacritty\/alacritty.yml<\/strong>, you can configure it from here.<\/p>\n<div id=\"attachment_30072\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/07\/Alacritty-Terminal-Emulator.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30072\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/07\/Alacritty-Terminal-Emulator.png\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/07\/Alacritty-Terminal-Emulator.png 1000w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/07\/Alacritty-Terminal-Emulator-768x561.png 768w\" alt=\"Alacritty Terminal Emulator\" width=\"1000\" height=\"731\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Alacritty Terminal Emulator<\/p>\n<\/div>\n<p>For more information and configuration options, go to the\u00a0<a href=\"https:\/\/github.com\/jwilm\/alacritty\" target=\"_blank\" rel=\"nofollow noopener\">Alacritty Github repository<\/a>.<\/p>\n<p><strong>Alacritty<\/strong>\u00a0is a cross-platform, fast, GPU accelerated terminal emulator focused on speed and performance. Although it is ready for daily usage, many features are yet to be added to it such as scroll back and more.<\/p>\n<p><\/center><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Alacritty\u00a0is a free open-source, fast, cross-platform terminal emulator, that uses\u00a0GPU\u00a0(Graphics Processing Unit) for rendering, which implements certain optimizations that are not available in many other\u00a0terminal emulators in Linux. Alacritty\u00a0is focused on two goals\u00a0simplicity\u00a0and\u00a0performance. The\u00a0performance\u00a0goal means, it should be speedy than any other terminal emulator available. The\u00a0simplicity\u00a0goal means, it doesn\u2019t supports features such as\u00a0tabs\u00a0or\u00a0splits\u00a0(which can be &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/02\/11\/alacritty-a-fastest-terminal-emulator-for-linux\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Alacritty \u2013 A Fastest Terminal Emulator for Linux&#8221;<\/span><\/a><\/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-9549","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/9549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=9549"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/9549\/revisions"}],"predecessor-version":[{"id":9550,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/9549\/revisions\/9550"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=9549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=9549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=9549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}