Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For OpenOffice, it would be better if you installed from the rpms instead of the .src.rpm's.
If you have a source rpm, after installing it and CD'ing to the SPECS directory, you can run "sudo rpmbuild -bi <name>.spec" to compile and install from a source rpm.
If not, download the source tarball. Untar and unzip it (the man page will tell you how to do this - usually "tar -xvzf filename") and then see what it has in the way of "README" files.
Usually, it's as simple as (as your normal user): ./configure
make
And then (as root) make install
If it's not that simple, there should be either a README or a guide online to tell you what to do.
The above does presuppose that you have GCC and the requisite libraries and so on installed, of course..
Virtually every distro has a package manager - even LFS can have one if you really want. They just don't all use RPMs.
If you'd filled in your profile with what distro you use (hint hint) we'd be able to tell you exactly what package manager you had available and how to use it to install things.
Don't forget the all-important "dot slash" in front of the "configure" step - if you don't put "./configure" it won't work.
I had focused on the OP's mention of RPM and didn't check the disto in the profile.
If the distro uses source packages (.tgz) for installation, using your distro's package system and downloading the package meant for your distro will lead to the fewest problems. I'm sure the distro comes with documentation which includes instructions for installing software.
The tool is installpkg [small but important correction]
Basicly if you want least of worries I would suggest going with Debian or Debian-like systems as they have the best package manager out there. Every user has their opinions but apt-get that Debian's use is one of the greatest package managers in Linux world. I personally don't like RPM-based distros.... and yet I write this on RHEL5
installpkg doesn't compile them - the packages are already compiled, it just puts the files in the right places.
./configure generally checks that you've got all the vital things, checks which of the optional things you've got, and generates the relevant "make" file
make generally does the all the compiling
make install generally just moves the compiled files to the right places - which is why you need to be root to use it most of the time, as it moves them to system folders
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.