Installation

This page presents suggestions on how to install tools of interest. It is ordered alphabetically.

A

D

    $  sudo apt-get install \
       apt-transport-https \
       ca-certificates \
       curl \
       gnupg \
       lsb-release
    $  curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
    $  echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
       $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
    $  sudo apt update
    $  sudo apt-get install docker-ce docker-ce-cli containerd.io
    $  docker run hello-world   # For testing

CASE 1: If you have permissions errors, such as:

docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create: dial unix /va r/run/docker.sock: connect: permission denied.

You could add your $USER as part of the docker group, and re-login or restart ubuntu if need it :(

    $  sudo usermod -aG docker $USER
    $  groups
    $  newgrp docker    # To login as part of docker group and to avoid restart. Temporal solution.
    $  docker run hello-world   # For testing

G

  • GO

      $ git clone https://github.com/golang/go.git
      $ cd go/src
      $ ./all.bash    # <-- This should generate ../bin/go file.
      $ cd ..
      $ export GOPATH=`pwd`  # <-- Add this to your profile such as ~/.bashrc 
      $ cd bin
      $ export GOBIN=`pwd`   # <-- Add this to your profile such as ~/.bashrc 
      $ go version
    
  • GIT

      $ git config --global --list
      $ git config --global user.email "xxx@ee.com"
      $ git config --global user.name "xx yyy"
      $ cat ~/.gitconfig 
          [user]
          email = xxx@yy.com
          name = xxx YYY
          signingkey = ASDF2320xXXX
    
  • Packer

      $ git clone https://github.com/hashicorp/packer.git
      $ cd packer
      $ go build -o bin/packer .     # <-- This will create ./bin/packer executable file
      $ ./bin/packer version
      $ sudo ln -s `pwd`/bin/packer /usr/local/bin/packer  # <-- Optional 
      $ packer --help
    

M

  • Mps-youtube

      $ git clone https://github.com/mps-youtube/mps-youtube.git
      $ vim  ~/.config/mps-youtube/config.json   # Be sure you are using the right API_KEY
      $ ./mpsyt
    

R

  • Ruby

    $ sudo apt install ruby-full $ ruby -v

  • Ranger

	$ git clone https://github.com/ranger/ranger.git 
	$ mkdir ~/.local/share/ranger
	$ touch~/.local/share/ranger/tagged
	$ ./setup.py build
	$ ./ranger.py

V

  • Vi File Manager

      $ mkdir temp
      $ cd temp
      $ git clone https://github.com/vifm/vifm.git
      $ cd vifm
      $ dpkg -l | grep libncursesw5-dev  # <-- be sure you have this package
      $ ./configure
      $ sudo make install
      $ vifm .  # <-- Enjoy vi File Manager
    
  • Vimium

      This extension is available in Google Chrome and Firefox. It provides keyboard shorcuts for navigation.
    

Z