.AppImage, .deb, and .rpm files are common package formats used in Linux-based operating systems to distribute and install software applications, each with their own unique features and advantages for users and developers
AppImage
AppImage is a universal software package format. It is a format for distributing portable software on Linux without needing superuser permissions to install the application.
To Run:
- Download .AppImage package
- Make it executable and just run it.
chmod +x filename.AppImage
./filename.AppImage
To remove: Just delete the associated .AppImage file and your app will removed from the system.
deb
Download the DEB file using the wget command and you can install using both apt and dpkg.
Using apt
If you want to use the apt command for installing deb files:
sudo apt install ./filename.deb
To get list of installed packages:
apt list --installed
To find out exact app installed:
apt list --installed | grep [package-name]
To remove:
sudo apt remove filename.deb
Using dpkg
dpkg is used to install, remove, and provide information about .deb packages.
- dpkg (Debian Package) itself is a low-level tool.
- APT (Advanced Package Tool), a higher-level tool, is more commonly used than dpkg.
To install a .deb package:
sudo dpkg -i filename.deb
where filename.deb is the name of the Debian package (such as pkgname_x.xx-x_amd64.deb).
The list of installed packages can be obtained with:
dpkg -l
To find out exact app installed:
dpkg -l | grep [package-name]
To remove:
sudo dpkg -r filename.deb
rpm
To install a .rpm package:
sudo rpm -i filename.rpm
The list of installed packages can be obtained with:
rpm -l
To find out exact app installed:
rpm -l | grep [package-name]
To remove:
sudo rpm -e filename.deb