How to install new packages?

QuestionsQuestions8 SkillsProYour First Linux LabAug, 28 2025
0157

To install new packages on a Debian-based Linux system (like Ubuntu), you can use the apt package manager. Here’s how to do it:

Step 1: Update Package Index

Before installing new packages, it's a good practice to update the package index:

sudo apt update

Step 2: Install the Package

Use the following command to install a specific package:

sudo apt install package-name

Replace package-name with the name of the package you want to install.

Example:

To install the curl package, you would run:

sudo apt install curl

Step 3: Confirm Installation

After running the install command, you may be prompted to confirm the installation. Type Y and press Enter to proceed.

If you have any further questions or need assistance with specific packages, feel free to ask!

0 Comments

no data
Be the first to share your comment!