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

Fix Ubuntu / Lubuntu ‘Hypernation Button Does Nothing’ Problem

# Step 0: find swap # Option A: root@kimlinux:/home/kim# cat /proc/swaps Filename Type Size Used…

Error: 502 Gateway Error

Explanation: 502 Gateway Error generally means connection problems with an upstream proxy. In this instance,…

Linux Networking: Manual Configurations

Ubuntu Systems /etc/resolv.conf specifies the nameservers for resolver lookups. The order of lookup is sequential…