Home General General: Tips & Tricks and one-liners (Part IV)

General: Tips & Tricks and one-liners (Part IV)

by Kliment Andreev
604 views

Part I, Part II, Part III.

Install go (golang) on Rocky Linux 8

As the user developing in Go, remove if you have any old versions. On new installs, not needed.

sudo yum module -y remove go-toolset

Download the latest version and make it executable.

wget https://storage.googleapis.com/golang/getgo/installer_linux
chmod +x ./installer_linux

Run the installer.

./installer_linux 

You’ll get a message …One more thing! Run source …. Do as it says, run the source command.
Test with go version.

Add entries under Windows 11 Terminal

Go to %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState folder and open settings.json file. Under the “list” section, add a new entry. Here is an example with opacity and background image for SSH access with a key. Go to this site, generate a GUID and replace the value.

            {
                "backgroundImage": "C:\\Some-Folder\\wallpaper.jpg",
                "backgroundImageOpacity": 0.25,
                "commandline": "ssh -i \"C:\\Random-Folder\\keys\\MyKeyPair.pem\" [email protected]",
                "guid": "{dee15512-fc2f-416d-ac0f-961378b46f6e}",
                "hidden": false,
                "name": "Name-in-the-dropdown-list"
            },

Related Articles

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More