0% found this document useful (0 votes)
2 views1 page

Java and Go Installation Commands

The document provides commands for checking the Java version and installing the JDK on Linux, as well as running a specific Java application. It also includes commands for installing Golang, setting up the Go path, and applying changes to the shell configuration files. Key commands include 'java --version', 'dpkg -i' for JDK installation, and 'export' for configuring Go environment variables.

Uploaded by

sadiabasher47
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Java and Go Installation Commands

The document provides commands for checking the Java version and installing the JDK on Linux, as well as running a specific Java application. It also includes commands for installing Golang, setting up the Go path, and applying changes to the shell configuration files. Key commands include 'java --version', 'dpkg -i' for JDK installation, and 'export' for configuring Go environment variables.

Uploaded by

sadiabasher47
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

linux

Java Commands

Check java version & installed jdk

java --version
update-alternatives --config java

Install downloaded jdk

dpkg -i jdk-24_linux-x64_bin.deb

Run burploader

java -jar [Link]

Golang Commands

Installation Commands

rm -rf /usr/local/go && tar -C /usr/local -xzf [Link]

Shell command for adding go path and apply changes

mousepad .zshrc
source .zshrc

mousepad .profile
source .profile

Add Go Path

export GOPATH=$HOME/go
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

You might also like