This tutorial will guide you through the process of installing GNU Emacs on POP! OS Latest.
Before proceeding with the installation, you need to have the following packages installed on your system:
gcc
make
autoconf
texinfo
To install these packages, open a terminal and run the following command:
sudo apt-get install gcc make autoconf texinfo
Open a terminal and navigate to the directory where you downloaded the GNU Emacs source code.
Extract the downloaded file by running the following command:
tar -xvf emacs-xx.yy.tar.gz
Replace xx.yy
with the version number of GNU Emacs that you downloaded.
Navigate to the extracted directory by running the following command:
cd emacs-xx.yy
Replace xx.yy
with the version number of GNU Emacs that you downloaded.
Configure the build by running the following command:
./configure
This will detect your system and create the appropriate Makefile
.
Install the build dependencies by running the following command:
sudo apt-get build-dep emacs
This will install any necessary packages that are required for building Emacs. If your system is up-to-date, this command will do nothing.
Build the program by running the following command:
make
This will compile the source code into an executable binary.
Install the program by running the following command:
sudo make install
This will copy the executable to the appropriate location on your system.
You can now run GNU Emacs by opening a terminal and typing the following command:
emacs
This will open the GNU Emacs editor. Congratulations, you have successfully installed GNU Emacs on POP! OS Latest!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!