How to Install Goshorly on EndeavourOS Latest
Goshorly is a command-line tool that allows you to shorten URLs. In this tutorial, you will learn how to install Goshorly on EndeavourOS Latest using the command-line.
Prerequisites
Before we get started, you will need the following:
- An EndeavourOS Latest installation
- A working internet connection
- Access to the terminal
Steps
Open your terminal by pressing
Ctrl + Alt + T.Update your system using the following command:
sudo pacman -SyuThis will update all your software packages to the latest versions.
Next, install the dependencies required to build and install Goshorly.
sudo pacman -S git goThis will install Git and Go programming language, required to build and install Goshorly.
Clone the Goshorly repository from the Git server using the following command:
git clone https://gitea.hackmi.ch/Phil/goshorly.gitChange directory to the downloaded Goshorly folder using the following command:
cd goshorlyBuild Goshorly using the following command:
go buildInstall Goshorly to your system:
sudo mv goshorly /usr/local/bin/This command will move the binary file to
/usr/local/bin/folder so that you can use Goshorly from anywhere in the terminal.Test whether Goshorly is installed correctly by running the following command:
goshorly -hThis command will display the help menu for Goshorly. If you see the help message, Goshorly is installed successfully.
That's it! You have successfully installed Goshorly on your EndeavourOS Latest system. You can now use Goshorly to shorten your URLs.