How to download the latest Perl SMS library from Github

This article is about how you can make changes to the Perl SMS API, located on GitHub, from your computer. This solution will only take about 20 minutes to perform. You will learn how to install Git for linux. It will start with downloading and installing Git, and will end with the changes you made visible on GitHub. We assume that you are familiar with GitHub and Perl. The video is easy to follow and detailed so you will have no problem understanding the process. Don’t waste any time! Let’s go!

How to download the Perl SMS API from GitHub (Quick steps)

To download the Perl SMS API from GitHub:

  1. Create a GitHub account
  2. Browse to github.com/ozekisms/perl-send-sms-http-rest-ozeki
  3. Click Code to copy the link
  4. Clone the Perl SMS API in the terminal
  5. Paste the copied link after the command 'git clone' to Clone
  6. Install the Ozeki::Libs::Rest module
  7. Launch Ozeki SMS Gateway
  8. Run the Perl SMS API using the command prompt

how to download latest perl sms library from github
Figure 1 - How to download the latest Perl SMS library from Github

Clone the perl-send-sms-http-rest-ozeki repository

First of all open the terminal and install git on your linux machine with the following commnad:

sudo apt install git
		

Code 1 - Command to install the git on linux

Click the Code button

To clone the repository you need the URL address. You can get the URL address by visiting the GitHub page of the repository. There you will be able to find a green Code button (Figure 2). Click it to see the sub-menu of the Code button, where you will be able to find the copy button.

Figure 2 - How to clone a github repository - step 1

Copy the URL

In the sub-menu, you will be able to copy the URL of the repository using the 'Copy' button. It is located next to the URL bar. Click it and the URL will be copied into your clipboard. From there, you will be able to paste it anywhere.

Figure 3 - How to clone a github repository - step 2

Use the 'Clone' command

Now paste the URL into the terminal with the 'git clone' prefixes. Hit enter, so GitHub will start the download process. You can get real-time information about the progress of the process in the terminal. After the process is done, you will have all the files from the repository on your computer.

Figure 4 - How to clone a github repository - step 3

How to clone the repository (Video tutorial)

After you have finished the installation you can go forward with the cloning process.
In the following video I'm going to show you, how to clone the perl-send-sms-http-rest-ozeki repository from Github.
To clone the repository you might want to use this link: https://github.com/ozekisms/perl-send-sms-http-rest-ozeki

Video 1 - How to clone the perl-send-sms-http-rest-ozeki repository

How to use the repository

On Figure 5, you can see the content of the repository downloaded to your computer. As you can see we have provided some example project folders. The ones ending with '.pl' is the ones that you can run. The other files are the source code of the HTTP API.

Figure 5 - The perl-send-sms-http-rest-ozeki directory

How to use the content of the perl-send-sms-http-rest-ozeki repository (Video tutorial)

To use the content of the perl-send-sms-http-rest-ozeki repository, you will need a text editor just like the windows notepad.
In the following video, I'm going to show you, how to install the Ozeki::Libs::Rest module and use the example projects.

Video 2 - How to use the content of the perl-send-sms-http-rest-ozeki repository

How to install the Ozeki::Libs::Rest module on Linux

To install the Ozeki::Libs::Rest on Linux, we are going to work with the Makefile.PL perl script. We are going to install this to make it avaliable in any perl files on your machine.

$	cd perl-send-sms-http-rest-ozeki // use this command to enter into the perl-send-sms-http-rest-ozeki directory
$	perl Makefile.PL
$	make
$	sudo make install
	

Code 2 - Command to install the Ozeki::Libs::Rest module

How to install the Ozeki::Libs::Rest module on Windows

To install the Ozeki::Libs::Rest on Windows, we are going to work with the Build.PL perl script. We are going to install this to make it avaliable in any perl files on your machine.

$	cd perl-send-sms-http-rest-ozeki // use this command to enter into the perl-send-sms-http-rest-ozeki directory
$	perl Build.PL
$	./Build
$	./Build install
	

Code 2 - Command to install the Ozeki::Libs::Rest module

Why should you clone the repository?

The answer is easy, if you simply download the content of the perl-send-sms-http-rest-ozeki repository, you will have to download the freshest version every time it gets updated. But if you clone the repository, you can get the freshest version of it, by just using the git pull command.
In the followig video, I'll show you what happens if the content of the repository got updated, and how you can get the freshest version.

Video 3 - How to get the latest version of the perl-send-sms-http-rest-ozeki repository

Final thoughts

Now, you can take a rest. We hope this guide was as simple as hard we worked to give you the best. By following the above tutorial steps you can create the solution in a short period of time. Now you can use the Perl SMS API to send SMS messages. If you have already completed the steps you can enjoy a well deserved latte or some other treat you have in mind. Let me mention that Ozeki SMS Gateway allows you to provide an SMS service to your customers, employees or business applications, and it can help you control the messaging activity of these users. If you would like to discover more valuable information about the benefits of other smiliar solutions, please open ozeki-sms-gateway.com. I hope this page will be useful to all the readers and especially to beginners.

More information