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.
Before we get started, you will need the following:
Open your terminal by pressing Ctrl + Alt + T
.
Update your system using the following command:
sudo pacman -Syu
This will update all your software packages to the latest versions.
Next, install the dependencies required to build and install Goshorly.
sudo pacman -S git go
This 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.git
Change directory to the downloaded Goshorly folder using the following command:
cd goshorly
Build Goshorly using the following command:
go build
Install 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 -h
This 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.
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!