To install software on Linux, you can use a package manager. The specific package manager you use will depend on the Linux distribution you are using. Here are some common Linux distributions and their respective package managers:
- Debian and Ubuntu: APT (Advanced Packaging Tool)
- Red Hat, CentOS, and Fedora: YUM (Yellowdog Updater Modified) or DNF (Dandified YUM)
- Arch Linux: Pacman
To install a package using a package manager, you can use the following command:
sudo <package manager> install <package name>
For example, to install the "gimp" image editing software using APT on Ubuntu, you would use the following command:
sudo apt install gimp
To remove a package, you can use the following command:
sudo <package manager> remove <package name>
For example, to remove the "gimp" package that was installed using APT on Ubuntu, you would use the following command:
sudo apt remove gimp
It's worth noting that the package manager may have additional options and commands available for managing packages, such as updating packages, searching for packages, and listing installed packages. It's a good idea to consult the documentation for your specific package manager for more information on how to use it.
And for Debian package
sudo dpkg -i <package name>