How to Install TextMate on Elementary OS Latest
TextMate is a popular code editor that can be used on various operating systems including MacOS and Linux. In this tutorial, we will walk you through the steps to install TextMate on Elementary OS latest.
Prerequisites
Before installing TextMate, you need to have the following prerequisites installed on your system:
- Elementary OS latest
- Terminal application
Step 1: Install Required Dependencies
TextMate requires certain dependencies to be installed before it can be installed successfully. Open the terminal application and run the following command to install the dependencies:
sudo apt-get install git-core g++ autoconf automake make libtool pkg-config gettext
Step 2: Clone TextMate Source Code
TextMate is an open-source code editor and its source code is available on GitHub. To clone the source code, run the following command:
sudo git clone https://github.com/textmate/textmate.git /opt/textmate
Step 3: Build and Install TextMate
Once the source code is cloned, navigate to the textmate directory and run the following commands to build and install TextMate:
sudo sh /opt/textmate/support/build_unix.sh
sudo ln -s /opt/textmate/TextMate.app/Contents/Resources/mate /usr/local/bin/mate
The first command will build the TextMate application and the second command will create a symlink to the TextMate executable file so that you can easily launch TextMate from the terminal.
Step 4: Confirm Installation
To confirm that TextMate is installed successfully, run the following command in the terminal:
mate --version
This command will display the version of TextMate installed on your system.
Conclusion
In this tutorial, we have shown you how to install TextMate on Elementary OS latest. Now you are ready to launch TextMate and start coding!