How to Install Goshorly on Manjaro
Goshorly is a command-line utility for shortening URLs using your own domain. It can be installed on Manjaro by following these steps:
Prerequisites
Before proceeding with the installation process, make sure you have the following prerequisites:
- Manjaro installed on your system
- Git installed on your system
- Go programming language installed on your system
To check if Git is installed on your system, run the following command in your terminal:
git --version
To check if Go is installed on your system, run the following command in your terminal:
go version
If any of these prerequisites are missing, you can install them using the package manager.
Installation
To install Goshorly on Manjaro, follow the steps below:
Clone the Goshorly repository from the Git server using the following command:
git clone https://gitea.hackmi.ch/Phil/goshorly.gitChange your current directory to the cloned repository:
cd goshorlyBuild the binary by running the following command:
go build -o goshorlyMove the binary to your system's binary folder using the following command:
sudo mv goshorly /usr/local/bin/Set the appropriate permissions for the binary using the following command:
sudo chmod 755 /usr/local/bin/goshorlyVerify the installation by running the following command:
goshorly --versionYou should see the version of Goshorly printed on the terminal.
Conclusion
Congratulations! You have successfully installed Goshorly on your Manjaro system. You can now use it to shorten URLs using your own domain.