{"id":20005,"date":"2023-07-31T07:43:28","date_gmt":"2023-07-31T07:43:28","guid":{"rendered":"https:\/\/linuxways.net\/?p=20005"},"modified":"2023-07-31T07:46:13","modified_gmt":"2023-07-31T07:46:13","slug":"how-to-install-emacs-on-debian-12","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/debian\/how-to-install-emacs-on-debian-12\/","title":{"rendered":"How to Install emacs on Debian 12"},"content":{"rendered":"<p>Emacs is a powerful, highly used, customizable text editor. It is a very popular utility in the community of developers, programmers,, and various other users. It is known for its unique features and its unique ability that help us to handle different tasks simultaneously.<\/p>\n<p>The name &#8220;Emacs&#8221; stands for &#8220;Editor MACroS,&#8221; highlighting its customizable and extensible nature. Over the years, Emacs has evolved itself and gained a huge and significant following in the software development community because of its powerful features and flexibility.<\/p>\n<p>One of the significant milestones in Emacs history was the release of GNU Emacs in 1985. Stallman&#8217;s Free Software Foundation (FSF) spearheaded this effort to create a fully free and open-source version of Emacs, laying the foundation for the extensible text editor that is widely used today.<\/p>\n<p>Overall, Emacs is a powerful and versatile text editor that continues to be a favorite among programmers, writers, and anyone looking for a highly customizable and efficient editing experience. Its rich history and active community contribute to its enduring popularity.<\/p>\n<p>Emacs offers a unique combination of scripting, customizability, and extensibility, which makes it a popular choice for many users who prefer a highly configurable and programmable editor.<\/p>\n<h2><strong>Advantages of emac<\/strong><\/h2>\n<p><strong>Extensibility:<\/strong> Emacs on Debian is highly extensible, offering customizable configurations and support for various plugins and packages, tailoring the editor to individual preferences and needs.<\/p>\n<p><strong>Built-in Features:<\/strong> Emacs provides a wide array of built-in features, including text editing, coding support, version control integration, and more, reducing the need for additional external tools.<\/p>\n<p><strong>Custom Keybindings: <\/strong>Users can define custom keybindings in Emacs, optimizing workflow and productivity by accessing frequently used commands with ease.<\/p>\n<p><strong>Rich Package Ecosystem: <\/strong>Debian&#8217;s Emacs benefits from a vast package ecosystem, granting access to numerous community-contributed extensions and modes, enhancing functionality and versatility.<\/p>\n<p><strong>Text Modes and Formatting:<\/strong> Emacs excels in handling diverse text formats, making it ideal for editing and formatting prose, LaTeX documents, code, and other content in a unified environment.<\/p>\n<h2><strong>Method 1: Install emacs from APT<\/strong><\/h2>\n<h3><strong>Update Debian 12<\/strong><\/h3>\n<p>Updating our Debian will allow us to have everything latest and will also make sure that we can install emacs easily.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt update<\/div><\/div>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"572\" class=\"wp-image-20006\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-1.png 750w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-1-300x229.png 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/strong><\/p>\n<h3><strong>Install Emacs<\/strong><\/h3>\n<p>The installation process of emacs in Debian 12 is really simple. We just need one command for that.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> emacs<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"562\" class=\"wp-image-20007\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-2.png 750w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-2-300x225.png 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<h3><strong>Confirm the installation<\/strong><\/h3>\n<p>To confirm the installation of emacs, let&#8217;s check its version. The version will also ensure if emacs got installed or not.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> emacs<\/div><\/div>\n<table>\n<thead>\n<tr>\n<th>$ emacs -version<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"744\" height=\"557\" class=\"wp-image-20008\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-3.png 744w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-3-300x225.png 300w\" sizes=\"auto, (max-width: 744px) 100vw, 744px\" \/><\/p>\n<h3><strong>Launch Emacs<\/strong><\/h3>\n<p>To launch it in Debian 12, we just need to search for it in the activities. We will have GUI-based and terminal-based applications.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1141\" height=\"320\" class=\"wp-image-20009\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-4.png 1141w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-4-300x84.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-4-1024x287.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-4-768x215.png 768w\" sizes=\"auto, (max-width: 1141px) 100vw, 1141px\" \/><\/p>\n<p><strong>Method 2: Install emacs from Software Center<\/strong><\/p>\n<p>In this method, we do not need to use any command on our terminal in Debian. We just need to open our software center in Debian 12 and search for emacs<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1040\" height=\"598\" class=\"wp-image-20010\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-5.png 1040w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-5-300x173.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-5-1024x589.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-5-768x442.png 768w\" sizes=\"auto, (max-width: 1040px) 100vw, 1040px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1049\" height=\"398\" class=\"wp-image-20011\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-6.png 1049w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-6-300x114.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-6-1024x389.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-6-768x291.png 768w\" sizes=\"auto, (max-width: 1049px) 100vw, 1049px\" \/><\/p>\n<p>From here, we will go for the second option. Then, just click on the install button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1043\" height=\"371\" class=\"wp-image-20012\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-7.png 1043w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-7-300x107.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-7-1024x364.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-7-768x273.png 768w\" sizes=\"auto, (max-width: 1043px) 100vw, 1043px\" \/><\/p>\n<p>After that, we might be asked to enter our password.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1039\" height=\"595\" class=\"wp-image-20013\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-8.png 1039w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-8-300x172.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-8-1024x586.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-8-768x440.png 768w\" sizes=\"auto, (max-width: 1039px) 100vw, 1039px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1046\" height=\"291\" class=\"wp-image-20014\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-9.png 1046w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-9-300x83.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-9-1024x285.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-9-768x214.png 768w\" sizes=\"auto, (max-width: 1046px) 100vw, 1046px\" \/><\/p>\n<p>Here the installation has started. Now, let\u2019s launch it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1279\" height=\"732\" class=\"wp-image-20015\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-10.png 1279w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-10-300x172.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-10-1024x586.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-10-768x440.png 768w\" sizes=\"auto, (max-width: 1279px) 100vw, 1279px\" \/><\/p>\n<p>This is how its interface and welcome message looks like in our Debian and we are ready to use it.<\/p>\n<h3><strong>Uninstall emac<\/strong><\/h3>\n<p>To uninstall emac from Debian 12, use the following command<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">apt-get remove<\/span> emacs<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"733\" height=\"551\" class=\"wp-image-20016\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-11.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-11.png 733w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-11-300x226.png 300w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><\/p>\n<p>To remove all the remaining packages automatically, we have a command as<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">apt-get remove<\/span> emacs<\/div><\/div>\n<table>\n<thead>\n<tr>\n<th>$ sudo apt-get autoremove<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"731\" height=\"547\" class=\"wp-image-20017\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-12.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-12.png 731w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20005-12-300x224.png 300w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/strong><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>Emacs is one of those applications that we can use from the terminal and from the GUI as well. This application offers usability and simplicity to manage, edit and create our files. The installation process for this application is really simple as we have seen in this article.<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Emacs is a text editor that writers, programmers, and testers can use to create, edit and manage their files in Linux distribution.<\/p>","protected":false},"author":110,"featured_media":20018,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-20005","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/20005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/110"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=20005"}],"version-history":[{"count":1,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/20005\/revisions"}],"predecessor-version":[{"id":20020,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/20005\/revisions\/20020"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/20018"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=20005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=20005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=20005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}