How To Install golang-github-parnurzeal-gorequest-dev on Debian 12
Introduction
In this tutorial we learn how to install golang-github-parnurzeal-gorequest-dev on Debian 12.
What is golang-github-parnurzeal-gorequest-dev
golang-github-parnurzeal-gorequest-dev is:
GoRequest is a simplified HTTP client inspired by famous SuperAgent library in Node.js.
Sending request would never been fun and easier than this. It comes with lots of feature:
- Get/Post/Put/Head/Delete/Patch/Options
- Set - simple header setting
- JSON - made it simple with JSON string as a parameter
- Multipart-Support - send data and files as multipart request
- Proxy - sending request via proxy
- Timeout - setting timeout for a request
- TLSClientConfig - taking control over tls where at least you can disable security check for https
- RedirectPolicy
- Cookie setting cookies for your request
- CookieJar automatic in-memory cookiejar
- BasicAuth setting basic authentication header
- more to come..
There are three methods to install golang-github-parnurzeal-gorequest-dev on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install golang-github-parnurzeal-gorequest-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install golang-github-parnurzeal-gorequest-dev using apt-get by running the following command:
sudo apt-get -y install golang-github-parnurzeal-gorequest-dev
Install golang-github-parnurzeal-gorequest-dev Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install golang-github-parnurzeal-gorequest-dev using apt by running the following command:
sudo apt -y install golang-github-parnurzeal-gorequest-dev
Install golang-github-parnurzeal-gorequest-dev Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install golang-github-parnurzeal-gorequest-dev using aptitude by running the following command:
sudo aptitude -y install golang-github-parnurzeal-gorequest-dev
How To Uninstall golang-github-parnurzeal-gorequest-dev on Debian 12
To uninstall only the golang-github-parnurzeal-gorequest-dev package we can use the following command:
sudo apt-get remove golang-github-parnurzeal-gorequest-dev
Uninstall golang-github-parnurzeal-gorequest-dev And Its Dependencies
To uninstall golang-github-parnurzeal-gorequest-dev and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove golang-github-parnurzeal-gorequest-dev
Remove golang-github-parnurzeal-gorequest-dev Configurations and Data
To remove golang-github-parnurzeal-gorequest-dev configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge golang-github-parnurzeal-gorequest-dev
Remove golang-github-parnurzeal-gorequest-dev configuration, data, and all of its dependencies
We can use the following command to remove golang-github-parnurzeal-gorequest-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge golang-github-parnurzeal-gorequest-dev
Dependencies
golang-github-parnurzeal-gorequest-dev have the following dependencies:
- golang-github-elazarl-goproxy-dev
- golang-github-moul-http2curl-dev
- golang-github-pkg-errors-dev
- golang-golang-x-net-dev
References
- golang-github-parnurzeal-gorequest-dev website
- golang-github-parnurzeal-gorequest-dev on packages.debian.org
Summary
In this tutorial we learn how to install golang-github-parnurzeal-gorequest-dev package on Debian 12 using different package management tools: apt, apt-get and aptitude.