Can anyone explain me in how many ways can we install the applications in Linux os.
And which is the better way to install ?
Can anyone explain me in how many ways can we install the applications in Linux os.
And which is the better way to install ?
There are many possible ways:
Some languages or software distributions bring there own management with them:
But usually you will just stick with whatever comes with your distribution:
You can install application with anything, that knows how to copy files :)
The best way is to use packages provided by your Linux distribution with installation tool provided by your Linux distribution.
Generally:
This is an example for Debian (and Debian-based systems like Ubuntu) - as you haven't given the Linux OS you want this for.
If you are on such a system, you can use:
sudo apt-get install {package name}
Example, if you want to install gcc
, you will do this:
sudo apt-get install gcc
And if you want to update the OS, you may want to do this:
sudo apt-get update
sudo apt-get upgrade
Check out this link (for Ubuntu).