StarOffice 8 rmp2tgz question
Hi,
StarOffice 8 only has their packages in .rpm format. So, i need to convert to .tgz for Slackware. I've copied the RPMS folder from the CD-ROM to /home/user/RPMS. Is there some way of just telling rpm2tgz to just convert everything in that folder to the .tgz format? I tried /usr/bin/rmp2tgz /home/user/RMPS/* I hoped that the "*" would just be seen as a wild card. But, nothing happens. Or, do I need to manually convert each .rpm one at a time to .tgz? That's a lot of typing with those long file names. Thanks, -Joe |
If you have a program that you wish to run on multiple files, but that program only takes a single file on the command line, use a loop:
Code:
for f in /home/user/RMPS/*; do rpm2tgz $f; done Quote:
Code:
/usr/bin/rpm2tgz /home/user/RPMS/* |
Hi Zhangmaike!
It would seem that I have bigger problems than just spelling problems. (You are right.. I did mis-type.) I decided to try converting just one package from rpm to tgz. The following is cut and pasted from Konsole: root@localhost:~# /usr/bin/rpm2tgz /home/joegum/RPMS/jre-1_5_0_03-linux-i586.rpm root@localhost:~# After doing this, the file did not convert to .tgz. I did this about five times. If it created another version, I cannot find it, even with "Find Files/Folders" |
SOLVED!
My mistake. I assumed that in order for rmp2tgz to work, I needed to su - to root. Not so... When I was rmp2tgz as root, the files were going to root's home. So, even though I used the Find Files tool, root's home would be invisible to me since I was logged in as a user. When I tried rpm2tgz as just user, the .tgz conversions went to user's home and are now visible. Sorry 'bout that. -Joe |
Follow up...
All in all, it was hardly worth it. Though almost everything seems to work, SWriter has no ability to SAVE documents. I reinstalled, and I still cannot save. SWriter also brings up a menu when first starting "Filter Selection" that does not include any writer extensions... .txt, .swt, etc. I guess I'm going to have to figure out how to uninstall this mess. -Joe |
If you used tgz packages to install, uninstalling should be quite easy.
Just start a terminal and use pkgtool as root. |
Joegumbo,
Did you try running StarWriter as root? It might be a permissions issue. I had a similar problem with Sunbird calendar. A user couldn't create a calendar or any events, but root could. So it was a premissions thing - users couldn't write to the directory that Sunbird was saving stuff in. Dennisk |
Hi dennisk,
I tried as you suggested. This is the output: root@localhost:~# /opt/staroffice8/program/swriter /opt/staroffice8/program/soffice.bin X11 error: Can't open display: Set DISPLAY environment variable, use -display option or check permissions of your X-Server (See "man X" resp. "man xhost" for details) root@localhost:~# I was logged in as a regular user and tried this. I also tried "man x" but there were no entries for man x. I tried man xhost and there are man pages. I tried xhost + to try to let everyone ( me and root) access the xserver. It was unable to open. I tried chmod 666 xhost but i was told that xhost does not exist. -Joe |
As your normal user (the one you logged into X-window as), type xhost +localhost. Then su - root and then export DISPLAY=:0.0
Then try starting swriter again. On a different note - try downloading the openoffice.org slackbuild from www.slackbuilds.org and make changes to adapt it from openoffice to staroffice (a little search/replace) - then use that one to generate your own Slackware build .tgz. That should do the trick -Y1 |
Hi Yalla-One,
I did as you said. But, when I started SWriter, it's still giving me the same issues... It refuses to Save... The list of formats available to me don't seem to include any text-based ones. I'm given choices like RTF (StarOffice Calc), Star Math 3.0, etc. But, no MS Word, Lotus word, or anything else like this. I've successfully used this on a different pc with other flavors of Linux. But, I guess that SWriter might not be compatible with Slackware 10.2 or somehting got messed up during rpm2tgz. Thank you for trying, -Joe |
I'm not sure if I should post this here or if this should be a new thread.
To remove StarOffice, can I just go to /opt where SO installed itself and then just DELETE the SO folder, then manually edit the LAUNCH Menu. Or will I break something? Thanks, -Joe |
You installed using the package system. You should also uninstall using the package system. This is what it is designed for.
Use pkgtool as root. |
Hi Zhangmaike,
SO8 has been removed using pkgtool. Thank you, -Joe |
Follow up...
After uninstalling SO8, I thought I'd try going back and installing my copy of StarOffice 7 "Product Update 1". I used SO7's own installer... It seems to have gone on flawlessly. I can save from SWriter and all seems to work correctly. -Joe |
Actualy Slackware has rpm. I installed my OpenOffice rpm packages using rpm -i whateverpackage.rpm -nodeps For now everything works fine. The downside is you cannot use rpm -e to uninstall :-)
|
All times are GMT -5. The time now is 09:24 AM. |