RPM, that Redhat package manager?
See I remember this compiling bit sort of, I remember that being very complicated. What program do I need to install programs?
The distro will come with the package manager pre-installed.
If it's RedHat or SUSE based:
"rpm" installs/removes/manages packages.
"yum" will accept a the name of a package, work out the dependencies, download all the packages from the repo and have rpm install them.
"up2date" is like yum but is found in RHEL.
"YaST" on SUSE is like yum but it has a graphical interface.
If you use Fedora you will end up using PackageKit, which is very clever.
If you have a distro that's Debian based:
"apt" is the package manager.
"dpkg" does the installing and such.
"apt-get" is the command line thing to solve deps and download and install packages.
"Synaptic" is a GUI for installing packages like apt-get does.
You may also find yourself using PackageKit to a lesser extent if you have Ubuntu.
Compiling from source is a pain because:
-You have to manually make sure you have the dependencies.
-You have to have a compiler (probably gcc).
-You need to have all the necessary header files.
-Sometimes you need to alter/patch the source to get it to compile.
-There is almost never an un-installer, and things on linux aren't installed to a single folder somewhere.
You may want to look into "checkinstall", which will try to insert things you compile into the package manager. Normally you would compile by going:
Code:
./configure
make
# become root
make install
But with checkinstall you:
Code:
./configure
make
# become root
checkinstall make install
This will do the "make install" part in a sandbox and watch what it does, then it makes a deb or rpm file, then it installs that file with the package manager.