LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Installing .rpm and .tar.gz (https://www.linuxquestions.org/questions/mandriva-30/installing-rpm-and-tar-gz-203939/)

motub 11-23-2004 06:10 AM

Well, you are still ontopic, so you don't so much need to start another thread.

What would actually be useful in answering this question is to tell us:

1) What is the complete filename of the file you are trying to open (is it a tar, tar.gz or tar.bz2)

2) What is the exact command you used?

3) What is the text of the error you receive when running this command?

4) Also, what browser are you using... I was under the impression that current versions of many browsers install the Flash Plugin automatically under Mandrake to avoid this very problem, but I could be wrong about that.

mostwanted 11-23-2004 09:53 AM

1). install_flash_player_7_linux.tar.gz

2). tar -zxvf install_flash_player_7_linux.tar.gz

3). [cannot remember at this point, away from MDK machine. I post later]

4). mozzila

do you think that a newer version of mozzila (firefox) would have this program? I am using MDK 10.0

motub 11-23-2004 10:41 AM

Well, of course, we still don't know what the problem actually is ;) , but no, you probably don't need to install another version of mozilla (although you could type about:plugins in the address bar and see if the Flash plugin actually got installed).

But I can probably figure out what's going on here, having installed the Flash plugin often enough.

OK, starting from the beginning:

tar -zxvf install_flash_player_7_linux.tar.gz would be the correct command to unpack the tarball. If this fails, it's because you either do not have write permission to the directory where you are unpacking (which is unlikely if you are the same user who downloaded the file), or you are trying to unpack the file while in a different directory than the tarball (in which case you would need to do tar -zxvf /full/path/to/install_flash_player_7_linux.tar.gz to unpack it).

So we will assume that the unpacking went OK. This should result in a script being unpacked (plus possibly some other files, but I don't have time atm to actually download this tarball again and look at it). The first thing you would have to do is chmod +x the script file (whatever_it_is.sh), as scripts packed in tarballs are traditionally not set executable, so you won't be able to run it as-is.

Once you have the script set as executable, you most likely want to open a terminal (the Flash plugin install script must be run from a terminal, because you must accept the licence before it will install, and the licence is displayed in standard terminal output, not a cute popup GUI dialog), then su to root, cd to the directory containing the script, and run the script (./script_name.sh).

IIrc, I also had to create a directory-- /usr/lib/nsbrowser/plugins -- for the plugin to install. It's a bit behind the times, apparently; it seems that older versions of Mozilla/Firefox did create some shell Netscape directories, whether or not you had the Netscape browser installed, but current versions do not. However, the stupid Flash plugin is living in some past paradise where the standalone Netscape browser still is relevant. Don't ask me. In any case, this old version didn't seem to recognize /usr/lib/mozilla/plugins as a valid directory (much less /usr/lib/MozillaFirefox/plugins), so I gave it what it wanted. However, both Mozilla and Firefox have this folder set as a default plugin search path, so the plugin should be properly found once installed.

Hope this helps, despite not having the actual error output (though of course you are certainly welcome to provide it, if I've guessed wrong).

faada 12-01-2004 02:59 PM

motub, i read your second post on this thread and almost stood up and clapped :) I was completely frustrated after being told not to d/l and install tar.gz files, and to use the software manager instead.

I googled for software repositories forever and was about to give up when I had to ask a buddy of mine who knows linux.

I was shocked at the lack of info in these repositories on mandrake's sites.

What you said captured my frustrations so precisely.

Oh, and thank for hte how-to post as well :D :D

motub 12-01-2004 03:16 PM

:D

(You're welcome, glad to help.)

faada 12-01-2004 03:16 PM

I have a related question, I originally had 2 CD drives in my pc on the second controller, I removed the primary drive (hdc) and upon trying to install a piece of software I was prompted to insert mandrake cd2 into hdd, I did so but somehow the installation would not accept it.

I then shut down and switched the jumper to make the remaining cd drive primary, tried some stuff, including editing the installation CD2 URL in the software manager but had problems when I saved the changes.

I eventually set the jumper back to slave and used the drive as HDD tried to set the url for cd2 in software manager back to what it was before but i'm having no luck.

Currently the entries for cd2 (which is not working) are

URL: removable://mnt/cdrom/media/main2
Relative path...: ../../media/media_info/hdlist2.cz

for cd3, (which seems to be ok, i haven't touched this one)

URL: removable://mnt/cdrom/media/main3
Relative path...: ../../media/media_info/hdlist3.cz

Can anyone help here?

thanks much

motub 12-01-2004 03:22 PM

OK, as stupid as this sounds, have you checked the CD itself (i.e., is it perfectly clean)? If CD3 is OK when it uses exactly the same entry as CD2, that suggests that the CD itself is not readable, which suggests that it is physically dirty.

You'd be surprised how many such errors can be solved with a little warm water/dishwashing liquid+warm water/glass cleaner (just make sure you dry the CD completely before use).

faada 12-01-2004 09:01 PM

yep, checked it and it seems to be fine.

ben_build#2.1.0 12-02-2004 12:22 PM

time for me to jump in here. thank you for giving this tutorial, and I tried adding one server to my urpmi list. This went fine. I tried adding the /devel/10.1/ server, but the list file it downloads is 25 MB large. As some of you know, I am on dialup and it would take me 3.5 hours to download that list. Can anybody point me to a website where I can download the list on?

Also, can anybody tell me how I could transfer the list (from a USB flash drive to the Linux box)?

motub 12-02-2004 12:34 PM

Does the server you are trying to add not have a synthesis.hdlist.cz (in addition to the hdlist.cz)? The synthesis.hdlist.cz is the same info but a smaller file, suitable for dial-up users. If you're using Easy URPMI (which website can now be found at http://easyurpmi.zarb.org/ ), there is a checkbox to output the server commands using the synthesis list rather than the "full service" list.

Sorry, no USB drives, so I couldn't reliably help you with that.

I'll change the Easy URPMI link in the original post to avoid confusion.

Hope this helps.

ben_build#2.1.0 12-02-2004 12:43 PM

sweetness. Thanks. I will try using that option tonight.

(now we don't have to worry about transferring files to and from my USB flash drive


**update: thank you again. I'm currently installing gcc-c++ (which was missing in my devel isos. :) :) :) )


bmagnois 12-15-2004 12:16 AM

Need Help Mandrake 10.1 RPM install bind-9.3.0
 
Hi there,

Can you please help me why I am getting this error message on an RPM install? I have Linux Mandrake 10.1 running under VMWare version 4.5.2 and SSH Secure Shell version 3.2.9. My PC is running Windows XP/SP2 as main OS (virtual machine). Trying to install bind-9.3.0 via rpm or urpmi. Appreciate your help...

BobM
Here are details of my problem:

[root@localhost downloads]#
[root@localhost downloads]# ls -l
total 16812
-rw-r--r-- 1 bmagnois bmagnois 4341525 Dec 14 2004 bind-9.2.3-6mdk.i586.rpm
-rw-r--r-- 1 bmagnois bmagnois 3982775 Dec 14 2004 bind-9.3.0-3mdk.i586.rpm
-rw-r--r-- 1 root root 8854208 Dec 13 22:42 webmin-1.170-1.noarch.rpm
[root@localhost downloads]#
[root@localhost downloads]# urpmi bind-9.3.0-3mdk.i586.rpm
error: bind-9.3.0-3mdk.i586.rpm: MD5 digest: BAD Expected(4ebd7624d4cde29de38f8ed54bca1a3c) !=

(47d709684fd6ca4cec4cde254cb132a0)
unable to register rpm file
Everything already installed
[root@localhost downloads]#

reddazz 12-15-2004 12:21 AM

It means there is a bad checksum on your rpm. Try downloading it again or using an official Mandrake repository via urpmi. The instruction are available at the easyurpmi website.

bmagnois 12-15-2004 12:23 AM

Problem with RPM install in Mandrake 10.1
 
Please provide help if anyone has a solution to this error/problem (bind-9.3.0 rpm install under Mandrake 10.1):

[root@localhost downloads]#
[root@localhost downloads]# ls -l
total 16812
-rw-r--r-- 1 bmagnois bmagnois 4341525 Dec 14 2004 bind-9.2.3-6mdk.i586.rpm
-rw-r--r-- 1 bmagnois bmagnois 3982775 Dec 14 2004 bind-9.3.0-3mdk.i586.rpm
-rw-r--r-- 1 root root 8854208 Dec 13 22:42 webmin-1.170-1.noarch.rpm
[root@localhost downloads]#
[root@localhost downloads]# urpmi bind-9.3.0-3mdk.i586.rpm
error: bind-9.3.0-3mdk.i586.rpm: MD5 digest: BAD Expected(4ebd7624d4cde29de38f8ed54bca1a3c) !=

(47d709684fd6ca4cec4cde254cb132a0)
unable to register rpm file
Everything already installed
[root@localhost downloads]#

reddazz 12-15-2004 03:52 AM

Did you understand my post? Your rpm is somehow corrupt, hence the bad (checksum) so you need to download it again or try and install it using urpmi. Also to make sure that it's not already installed as your error report is implying, do

$rpm -qa | grep -i bind

This will print the version of bind thats currently installed on your system.

To forcefully install it (which I wouldn't recommend since it seems corrupt) you can do

$rpm -Uvh --force packagname.rpm


All times are GMT -5. The time now is 03:55 AM.