dancejnr.blogg.se

Deb install command line
Deb install command line








The following flags are used to instruct tar how to extract, view, and operate on the downloaded tarball: We’ll now use tar to extract the tarball.

deb install command line

With Go downloaded and the integrity of the file validated, let’s proceed with the installation. If they match, then it is safe to conclude that the download is legitimate. The sha256sum command produces a unique 256-bit hash:Ħ6d83bfb5a9ede000e33c6579a91a29e6b101829ad41fffb5c5bb6c900e109d9 go1.12.7.Ĭompare the hash in your output to the checksum value on the Go download page. This verification method certifies that the file was neither tampered with nor corrupted or damaged during the download process. Make sure you copy the link for the latest version that is compatible with a 64-bit architecture.įrom your home directory, use curl to retrieve the tarball:Īlthough the tarball came from a genuine source, it is best practice to verify both the authenticity and integrity of items downloaded from the internet. Next, visit the official Go downloads page and find the URL for the current binary release’s tarball. Now install curl so you will be able to grab the latest Go release: In this step, we’ll install Go on your server.įirst, ensure your apt package index is up to date using the following command: To complete this tutorial, you will need access to a Debian 10 server and a non-root user with sudo privileges, as described in Initial Server Setup with Debian 10. This tutorial will guide you through downloading and installing Go from source, as well as compiling and executing a “Hello, World!” program on a Debian 10 server.

deb install command line

Go tries to make software development safe, fast and approachable to help you build reliable and efficient software. Go, also known as golang, is a modern, open-source programming language developed by Google.










Deb install command line