LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices



Reply
 
Search this Thread
Old 05-20-2005, 07:49 AM   #1
EliasAlucard
Member
 
Registered: Apr 2005
Distribution: Xubuntu 12.04 LTS amd64
Posts: 82

Rep: Reputation: 15
No extract in 10.2 LE


I just clean installed Mandriva LE 10.2 and this time around, there's no extract here option when right clicking a tar.gz file. Why? I chose full installation from the install without tinkering around with individual packages. I custom partitioned the E: to a 2.9 GB Journalised FS and that green colour drive, can't remember what it's called, anyway, that was 1 GB. Could this have had any affect? Because otherwise I always choose auto allocate. Thanks for any help I can get.
 
Old 05-20-2005, 06:58 PM   #2
sekelsenmat
Member
 
Registered: Apr 2005
Location: São Paulo - Brazil
Distribution: Mageia Linux 1
Posts: 353

Rep: Reputation: 30
Re: No extract in 10.2 LE

Quote:
Originally posted by EliasAlucard
I just clean installed Mandriva LE 10.2 and this time around, there's no extract here option when right clicking a tar.gz file. Why? I chose full installation from the install without tinkering around with individual packages. Because otherwise I always choose auto allocate. Thanks for any help I can get.
I checked my own konqueror and saw that I also don't have this option. There must be some way to configure konqueror into doing that.

What I do with my tar packages is use the command line:

tar -xvf <package>

More options are required depending on the compression system, but I prefer using the compressor. For a tar.bz2:

bunzip2 <pacote.tar.bz2>

Type: tar --help

for more help

It is hard to memorize all instructions at once, so I keep a Openoffice document in my desktop with the most used comand line instructions and personal notes about linux use.

Quote:
I custom partitioned the E: to a 2.9 GB Journalised FS and that green colour drive, can't remember what it's called, anyway, that was 1 GB. Could this have had any affect?
I doubt this could be related to the right clicking issue. This is a konqueror configuration problem.
 
Old 05-20-2005, 07:36 PM   #3
EliasAlucard
Member
 
Registered: Apr 2005
Distribution: Xubuntu 12.04 LTS amd64
Posts: 82

Original Poster
Rep: Reputation: 15
Okay, seriously, I know that these command lines are what make Linux a powerful and safe OS, but come on, I don't want to memorise all these command lines. Why aren't there more rpm packages for software? For some reason, the Firefox 1.0.4 installer shell script doesn't work with LE. I really want to convert completely to Linux from Windows, but if it's going to be a real hell just to install Firefox, then this seems like a bad choice of OS. I tried the exact instructions that were listed on the Firefox FAQ page (tar -xvf) and it didn't work. Since Mandrake is such a popular Linux distro, would it be too much to ask for an rpm Firefox?
 
Old 05-20-2005, 08:20 PM   #4
sekelsenmat
Member
 
Registered: Apr 2005
Location: São Paulo - Brazil
Distribution: Mageia Linux 1
Posts: 353

Rep: Reputation: 30
Now I understand your problem. When I first saw your question I thought you really wanted to extract tar files from whatever using right-click. I could not see you actually did not know you were asking the wrong question. The first thread in this forum is exactly about software installing, you should read it.

Just to make everything easier for you (Thought I found your answer a bit unpolite) I will copy here a post from Motub in that thread that can explain things much better then I could:

Quote:
Originally posted by Motub Could someone explain to me why everybody answers a Mandrake's user's questions about installing software without even mentioning urpmi or RPMDrake? Not just here, either. Sorry, but this is a pet peeve of mine.

Anyway... Mandrake specific instructions:

Now in general, Mandrake has perfectly fine documentation, but I really have to give it a rasberry given that so many new users have no idea how to find the Mandrake repositories and use RPMDrake to install software from them. Since RPMDrake is one of the centerpiece jewels of the distro, I consider this a serious problem.

But OK. I will explain this again, because I'm on a (minor) mission to save Mandrake from itself . Other than this really unnecessary problem for new migrators, it's a fab distro.

--------------------------------------------------------------------------------

The 1-3 CDs you downloaded/got from a magazine/whatever contain the base Mandrake software and many extras. However, there are thousands of applications and games available that aren't on those CDs, and that you usually get from the Internet. A piece of software is in general known as a package, but a package may come in one of two forms: source packages, and binary packages.

Source packages have to be compiled by the user; binary packages are precompiled, so they only need to be installed. Wherever possible, you want to install binary packages for your distribution. Herein lies the rub. Mandrake is an RPM distribution, which means that precompiled binaries will end in the file extension *.rpm. However, Mandrake is not the only RPM distro (SuSE and RedHat/Fedora come to mind as examples of 2.5 others)-- and RPMs compiled for SuSE or RedHat are not compatible with Mandrake, and vice-versa.

This is why there are repositories. These are collections of packages, mirrored all over the world, for each distribution. The Mandrake repositories have thousands of packages (I mean thousands), all ready to download and install. But first, you have to know where they are, and then you have to tell Mandrake where they are.

The fastest, easiest way to deal with this is to add repositories to your Software Media Manager. Go to Kicker/Foot=>Configuration=>Configure your computer; or just click the Mandrake Control Center icon on your panel, then go to Software Management and you will see the Software Media Manager. Unfortunately, it only contains the CDs you installed from as sources for additional software. That is still necessary, and can be useful, but you want to add external sources from the Internet.

Here's how:

Go to Easy URPMI, and follow the instructions there to add external repositories to your Software Sources Manager. If you're on dial-up, make sure to check the "Use compressed index, much smaller than normal, with less informations" checkbox.

The instruction "Type this in a terminal as root" is performed as follows:

1) Open a terminal.

2) Type su and hit enter.

3) Type the root password at the Password: prompt and hit Enter. The password will not be echoed to the screen, even with stars, so type carefully.

4) If the password was correctly typed, the prompt should change from a "$" which indicates user access, to a "#" which indicates root access. All commands typed into this terminal window from this point on will be performed as if root had requested them. If this does not work (and you have correctly entered the root password), the problem is that the user is not a member of the wheel group; go to the Mandrake User Management tool in the Mandrake Control Center and add the user to that group, then try steps 2 and 3 again.

5) Select and copy one line of output from the Easy URPMI page (from urpmi.addmedia to hdlist.cz or synthesis.hdlist.cz depending on whether you checked the "use compressed index" box) and paste that line into the root terminal using CTRL+Shift+V (Ctrl+Shift+V is the "Paste" keybinding for gnome-terminal; it's Shift+Insert if you use Konsole, and middle mouse button-- or right and left buttons together if you don't have a middle button or wheel/button-- in an xterm). You should see the repository being added before you are returned to the prompt. Repeat for all repositiores listed in the Easy URPMI Step 3 output.

You should now be able to open RPMDrake (Mandrake Control Center=>Software Management=>RPMDrake (Install Software) and see a great deal of software available for download and installation. You will see even more if you change the filter at the top of the dialog from "Mandrake Choices" (the default) to "All Software by...." (I usually use "by group", but you can choose from several options). And of course, if you know what you want to install, you can just type the program name (or a partial name) in the Search box to filter the list.

To install any program, check its checkbox, and the program and all dependencies will be downloaded (or pulled off the CDs, which will be requested by Mandrake complete with ejection of your CD tray) and installed. Be warned that large programs with many dependencies will obviously take a long time for you to download if you're on dialup, so keep an eye on the details before clicking the "install" button.

You can also use urpmi <program_name> to install programs from the command line with full dependency resolution (RPMDrake is a GUI front-end for URPMI).

If you are using Mandrake 9.2 or lower, you may also get alarming-looking messages telling you that there was "no public GPG key found", and asking if you want to install anyway; if you are installing from Mandrake mirrors, you can safely install, and get the GPG keys later to stop this message even coming up.

GPG signatures are encryptions on the RPMs to ensure that the file has not been tampered with. The packager signs the final RPM with a private key and with a public key, then makes the public key available to the public (you and me). RPMDrake compares the key on the RPM with the key on your GPG keyring (the little keyring in your system tray when you run the Mandrake Control Center), and gives this error message if the two do not conform (in this case, because you don't have the key on your keyring at all, so RPMDrake has nothing to compare the RPM's key with).

Mandrake's public GPG keys can be found in the /base/ folder of the Mandrake mirror that EasyURPMI gave you as output for Step 3; if you put the url (without the "with synthesis.hdlist.cz" part) into a browser, and go up a level in the FTP site that will be displayed, you will see the /base/ folder. Go into that folder and you will see 3 "pubkey" files; select them and right-click to download them to a safe location. The public key for the PLF repository is right in the folder given in the Easy URPMI output, so you will see it if you type that address into a browser. Download that, too.

Once you have downloaded the keys, open a terminal, su to root (as above) and then use the cd command to browse to the folder that you saved the files to. Then do an ls to display the names of the files in that folder for easy reference for the next step.

Type gpg --import <keyfile_one_name> <keyfile_two_name> <keyfile_three_name> <keyfile_four_name> (that's why we displayed the file list; you should be able to type in the names correctly since you can just look on the terminal screen to see what they are), and hit Enter.

The keys should be added to your keyring, and you should get no more key-related errors when installing software (unless there's really something wrong with the key).

This should save you from "dependency hell", which is chasing individual RPMs over half the world to try to resolve dependencies in the program you're actually trying to install.

Hope this helps.
 
Old 05-20-2005, 09:41 PM   #5
EliasAlucard
Member
 
Registered: Apr 2005
Distribution: Xubuntu 12.04 LTS amd64
Posts: 82

Original Poster
Rep: Reputation: 15
I'm sorry, I didn't mean to sound impolite. I'll try this in the morning. Thanks.
 
Old 05-20-2005, 09:52 PM   #6
sekelsenmat
Member
 
Registered: Apr 2005
Location: São Paulo - Brazil
Distribution: Mageia Linux 1
Posts: 353

Rep: Reputation: 30
I just noticed that the "easy urpmi" link will not appear. There is a link in first thread of this forum. But you can also type "easy urpmi" in google.
 
Old 05-21-2005, 02:20 PM   #7
abattoir
Member
 
Registered: Feb 2005
Distribution: Kubuntu 6.10
Posts: 313

Rep: Reputation: 30
If you mean the right-click ´Archive´ or ´Extract´ ark submenu in konqueror, you need to install a package(I dont remember the name, but open ark properties and tick konqueror integration, if the package i have mentioned isn´t already installed, its name will be mentioned there, use urpmi or rpmdrake to download and install it).
Hope that helps
 
Old 05-21-2005, 02:32 PM   #8
EliasAlucard
Member
 
Registered: Apr 2005
Distribution: Xubuntu 12.04 LTS amd64
Posts: 82

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by abattoir
If you mean the right-click ´Archive´ or ´Extract´ ark submenu in konqueror, you need to install a package(I dont remember the name, but open ark properties and tick konqueror integration, if the package i have mentioned isn´t already installed, its name will be mentioned there, use urpmi or rpmdrake to download and install it).
Hope that helps
I believe that in Mandrake 10.1 the option to extract was already there from the get-go. The Archive option is still there though in 10.2 but for some weird reason, the extract isn't. Anyway, that's not my biggest issue at the moment. I can extract. But why can't I install Firefox like usual from the shell script? That always worked with Suse, Xandros etc, even in Mandrake 10.1 but not in 10.2 LE.
 
Old 05-21-2005, 02:38 PM   #9
sekelsenmat
Member
 
Registered: Apr 2005
Location: São Paulo - Brazil
Distribution: Mageia Linux 1
Posts: 353

Rep: Reputation: 30
Quote:
Originally posted by EliasAlucard But why can't I install Firefox like usual from the shell script?[/B]
You would rather not. Installing stuff by script will only lead to problems. Scripts cannot be uninstalled and will give meaningless error messages when a prerequisite is not found. The problem should be the lack of a prerequisite.

The correct way is to get .rpm packages. The first place to look for is urpmi, using the instructions in the Easy URPMI website to get the mirrors and then use: "urpmi firefox" or something simililar. If you cannot find something there, use rpmfind.net that contains thousands of rpm packages.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
where to extract? Damon Spector Linux From Scratch 2 11-09-2005 09:08 PM
How to extract for display? edhan Programming 8 08-19-2005 05:58 PM
how to extract a .img? SlipAway172 Linux - Newbie 6 07-04-2005 04:45 PM
how to extract tgz Longinus Linux - Newbie 9 12-14-2003 10:11 PM
extract help emperor13 Linux - General 1 12-02-2001 12:07 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration