Guide To Install Basic Linux Packages (sudo, curl, & bash)

In Debian and Ubuntu


To install sudo:
apt update
apt install sudo -y

To install curl:
sudo apt-get update
sudo apt install curl

To install bash:
sudo apt-get update
sudo apt-get -y install bash

 

In Centos


To install sudo:
yum update
yum install sudo

To install curl:
sudo yum update
sudo yum install curl

To install bash:
sudo yum update
sudo reboot (run this command if you have kernel updates)
sudo yum install curl
sudo yum install bash-completion or yum install bash-completion bash-completion-extras

Was this answer helpful? 132 Users Found This Useful (699 Votes)