WhatsApp is a popular messaging app that allows you to send and receive messages, photos, and videos with your friends and family. While WhatsApp doesn’t offer an official desktop app for Linux, you can still use it on your Ubuntu system by installing it through the command line.
Step 1: Add the Whatsapp repository
First, you need to add the WhatsApp repository to your system’s list of package sources. This will allow you to download and install the WhatsApp package.
To do this, open a terminal and run the following command:
sudo add-apt-repository "deb https://download.whatsapp.com/linux/repo/debian stable main"
Step 2: Import the repository’s GPG key
Next, you need to import the GPG key for the WhatsApp repository. This key is used to verify the authenticity and integrity of the packages downloaded from the repository.
To import the key, run the following command in the terminal:
curl -sL "https://download.whatsapp.com/linux/repo/key_whatsapp.pub.asc" | sudo apt-key add -
Step 3: Update your package list
To update your package list, run the following command in the terminal:
sudo apt update
Step 4: Install the WhatsApp package
Now that the WhatsApp repository is added and the package list is updated, you can install the WhatsApp package.
To install WhatsApp, run the following command in the terminal:
sudo apt install whatsapp-for-linux
After the installation is complete, WhatsApp should be available on your Ubuntu system. You can launch it from the terminal by typing “whatsapp-for-linux” or by searching for “WhatsApp” in the Ubuntu application menu.