SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I'm using a new installation of Slackware 11 with the full, default install.
I tried to install Open Office last night and it didn't work too well.
I downloaded the "Linux" package from their web site, unpacked it, and it turned out to be a bunch of RMP packages. KDE has a package manager that opened when I clicked on one of the RMPs. So I dragged the rest of them to the package manager, hit "Intsall" and ... well ... nothing really happened.
I got an error that one of the core files needed /bin/sh (which is there) and nothing else seemed to happen.
So, short question: how do I install Open Office?
I could download the source and compile it, but I think that would take quite a while on my Pentium III computer (though I'm willing to try).
I've never actually done this, but there is a tool called 'rpm2tgz' which should convert the rpms to slackware packages, which you can then install with installpkg. Or, Slackware does come with the rpm tool so perhaps install it with that. rpm -i ***.rpm. Or use the slackware package from linuxpackages.net.
I think the best way to generate the best openoffice.org is to go to slackbuilds.org and download the openoffice.org slackbuild from there.
Put it in /tmp/OOo together with the archive downloaded from openoffice.org, "su root" and then run the slackbuild (chmod 700 *SlackBuild ; ./ooo.slackbuild)
That will generate a .tgz slackbuild that you install normally using installpkg and can easily upgrade later using upgradepkg.
The builds from slackbuilds.org are high quality and extensively tested, and the best part is you can check the buildscript yourself to verify exactly what it does to your package, so you can even tweak it to your liking.
I have forinstance written a small patch to the slackbuild that replaces all the foreign language dictionaries with a Norwegian one (which does not come default with openoffice)
The build from Slackbuilds.org worked perfectly! Thanks so much for your help.
Here's a quick, newbie, question: what does the ./ do at the beginning of the build script? In other words, I made the .SlackBuild script executable, but forgot to add the ./ before it when I tried to run it the first time. It didn't run and I think I got a Bash error saying that there's no such script. But as soon as I add the ./ everything works perfectly.
I have to use the ./ before configure too when I install from source. So, what's the ./ for?
The ./ is to fully qualify the path of the current directory. This is normally included because it's dangerous to have the current directory (./) in path of root as you may accidentally run a dangerous program.
Imagine if you have the slackbuild in /tmp/program.slackbuild and you want to run it from root's home /root. In order to run it, you'd type /tmp/program.slackbuild, and it'd start.
Same thing for running a program in current directory. instead of /tmp/program.slackbuild, you just type ./program.slackbuild. The dot is always current directory.
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
I was doing my own po-man's rpm2tgz script for prior releases of OO. For 2.1 rpm2tgz produces empty tarballs. I wonder if something in the rpm format they are using changed.
Anybody else experience a broken rpm2tgz or empty tarballs from these OO rpms?
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
Yeah, I tried rpm2tgz on some Oo RPMs that I had lying around. Didn't work for me either. Didn't have much time to see why etc. If you manage to get it working , tell me too!
I have FC5 installer lying arnd, which I want to use. I am on a screwed up net connection so can't download packages / Slackbuild.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.