Installing software on your Linux VPS is a key part of server management. Here's how to do it based on your operating system (Ubuntu/Debian or CentOS/RHEL).
For Debian/Ubuntu-Based Systems
Step 1: Update Your Package List
sudo apt update
This ensures you're getting the latest versions.
Step 2: Install the Software
For example, to install Apache web server:
sudo apt install apache2
sudo apt install nginx mysql-server php
Step 3: Confirm Installation
Check version:
apache2 -v
For CentOS/RHEL-Based Systems
Step 1: Update Your Packages
sudo yum update
sudo dnf update
Step 2: Install the Software
Example: Install Apache (called httpd):
sudo yum install httpd
Or for newer versions:
sudo dnf install httpd
Step 3: Start and Enable the Service
sudo systemctl start httpd
sudo systemctl enable httpd
 Install from .deb or .rpm Files
You can also install software from files downloaded manually:
.deb (Debian/Ubuntu):
sudo dpkg -i package-name.deb
sudo apt -f install
.rpm (CentOS/Fedora):
sudo rpm -ivh package-name.rpm
Tips:
- 
Always use sudoto install system-level packages
- 
Use --helpormanto learn more about a command
man apt
Need Help?
Our support team is here for you 24/7.
Contact Support
