Posted On February 5, 2021

Linux Bash Shell Command to Download and Install an App

kimconnect 0 comments
blog.KimConnect.com >> Linux >> Linux Bash Shell Command to Download and Install an App
# Set file path variable
vagrantFile=https://releases.hashicorp.com/vagrant/2.2.14/vagrant_2.2.14_x86_64.deb

# Download and install a Debian based file
fileName="${vagrantFile##*/}"
curl -O $vagrantFile
sudo apt install ./$fileName

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Linux: Bash Shell Script To Move/Archive Old Files

# create a script to move files (notice the regex escape for special chars) sudo…

Quick Note on Tomcat with NGINX

Below is a quick short-hand note to remind oneself to setup proxying properly between Tomcat…

How To Configure Alternative Storage for a Kubernetes (K8s) Worker Node

The below illustration is assuming that one has a local RAID mount being added to…