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

How to expand volume of a linux virtual machine residing in a ESXi host

1. Power off VM2. Expand volume size3. Power on VM4. Confirm new volume size# fdisk…

How to Setup Software RAID on Ubuntu 20.04

Step 1: prepare to configure RAID by checking the system In the below example, we're…

LAMPP: Change Apache Listening Port

Change Apache listening port:vim /opt/lampp/etc/httpd.confEdit line:Listen 80 (change to 8888)OPEN port 8888:vim /etc/sysconfig/iptables-A RH-Firewall-1-INPUT -m…
Other project: DragonCoin.com