In Mandrake there are still a lot of programs I want to install, like Open Office 2.0 and Wine .9. Unfortunately I can't figure out what on earth to do. With OpenOffice I downloaded the tar file, then extracted in in ARK. From there I was able to see all the files. I navigated to the RPMS, and then to Desktop Integration. From there I chose the Mandriva installation. I clicked on "Install," typed in my root, and got this message: I click ok to continue, and it says it installed, but no new Open Office. Basically, same exact thing with Wine. I tried installing both through Urpmi as well, OpenOffice it tells me is already installed (yeah, 1.4), and Wine doesn't work either. Is there a way to update my Urpmi repositories so I can just go from there?
First, remove the old repositories. As root, type Code: urpmi.removemedia -a Then, go to either of these sites : http://easyurpmi.zarb.org/ or http://addmedia.seerofsouls.com/ Select your version (i.e. 2005 LE or 2006) and your architecture (x86_64 for 64 bit OS and i586 for 32-bit OS). Next, select your mirrors from the list and make sure you put a check mark beside the ones you're going to use. You can ignore Jpackage. As far as the mirrors, I would use something in Europe. Personally, I usually use something in Norway or the Netherlands. When you proceed to step 3, it will give you a small list... looking something like this Code: urpmi.addmedia main [url]ftp://ftp.uio.no/linux/Mandrakelinux/official/2005/i586/media/main[/url] with media_info/hdlist.cz urpmi.addmedia contrib [url]ftp://ftp.uio.no/linux/Mandrakelinux/official/2005/i586/media/contrib[/url] with media_info/hdlist.cz urpmi.addmedia --update updates [url]ftp://ftp.uninett.no/pub/unix/Linux/Mandrakelinux/official/updates/LE2005/main_updates/[/url] with media_info/hdlist.cz urpmi.addmedia plf-free [url]ftp://plf.time4t.net/pub/plf/mandrake/free/10.2[/url] with hdlist.cz urpmi.addmedia plf-nonfree [url]ftp://plf.time4t.net/pub/plf/mandrake/non-free/10.2[/url] with hdlist.cz Copy and paste the text into a console while you are root (You can just highlight it and middle click while focused on a console). To make them run one after another, type "&&" (without quotes) in between each command. When it updates all of your repositories, you can either specifically look for a program by typing Code: urpmi openoffice or, if there are multiple programs containing the same word/name, you can type Code: urpmi --fuzzy openoffice *note* this works with ANY program, not just open office (obviously). Hope this helps, let me know.
Okay, did all that. I got to the "urpmi openoffice" bit. I tried to do that, and it said no package found. Tried it with wine and firefox, and same thing.
Try this: Code: su - root urpmi mozilla-firefox wine openoffice.org ...although IIRC, everything but WINE is included in the default installation of Mandriva. If you just want to freshen your packages, do this: Code: urpmi.update -a && urpmi --auto-select --auto ...everything before the '&&' will check the mirrors for updated packages, the latter part will apply those updates if applicable.
Okay, finally getting a chance to play with this again. I've had major amounts of school work, so I have been living in windows world, since there is no way I could get everything done and learn an OS too. Anyways, I digress. I'm updating my files right now. 131 updates are being applied. Wow, that was needed. I hope O 2.0 is included.
Sorry, OOo 2.0 isn't included, as Mandriva 2006 standardized on 1.1.5. As a result they will continue to patch 1.1.5 on that distro until the support cycle runs out a few years down the road. If you want OOo 2.0, you'll have to follow these directions from openoffice.org: ________________________________________________ Linux RPM-based Installation Prerequisites If you want Java integration, you want to make sure you have the latest JRE installed. It should be at least JRE 1.4. You can find the JRE for Linux at the Java JRE for Linux download site. Alternatively, it might be included on the installation media of your distro as part of a complete Java development environment. Installation Steps Unpack the downloaded image into a directory. For example, currently, the following command would unpack into the current directory: Code: tar xvzf OOo_2.0.0_LinuxIntel_install.tar.gz Su to root, if necessary. cd into the directory with the unpacked image. This could be RPMS. Delete any rpm files that do not apply to your system. For example, on a Fedora Core 3 system, delete any rpms specific to another distribution such as openofficeorg-suse-menus-1.9.79-1.noarch.rpm. Then execute: Code: rpm -Uvih *rpm ________________________________________________ Oh yeah, and though their walkthrough doesn't mention it, it's a good idea to dump all of the RPMs in one directory before you do what they suggest. So my digested version of their walkthrough: download & install Java for Linux download OpenOffice.org 2.0 from their website untar the contents of the OpenOffice installer into a temp directory move all of the RPM files into a central locale delete any RPMs that mention a distro other than the one you're running open a shell as root, and browse to the folder containing your OOo RPMs run the following command: rpm -Uvih *rpm Clean up your installation mess by deleting all of the temporary files created during the installation
Is step 7 what they mean by CD'ing to the directory? Because I saw those directions on O, and got confused by that step.
I don't know which directory "that directory" is as you haven't told me yet, so I cannot give you specific instructions. But the command to change directories is Code: cd /somedirectory/anotherfolder/stuff/ To go leave the directory you are currently in and "back out" one directory, you'd type: Code: cd .. [/code] You can learn more about interacting with your filesystem through the CLI from here. Reading at least from section 2.5 to 2.10 will probably help you out a lot.
Sorry, but I dont think anybody is going to be able to help you with the way you're asking questions. Saying things like "which directory it went to" is pretty vague. And "to that directory" - We dont know what "it" and "that" is. I'm sure AT could help you a lot more effectively if you could specify what you are meaning. And I will certainly try to help you the best I can, but as of now, it is impossible with the wording that you are using. And if you're asking how you know what directory when you type something like "cd /usr/share/games" - it is usually pretty obvious because you just typed it, but aside from that, it will look something like this is the shell Code: [fred@thedomain games]# As you can see, the first object in the line is the user, next is the domain name and lastly is the directory that you are in. So... if you changed directories- Code: [fred@thedomain games]# cd /home/fred/Documents/ It would now look like this Code: [fred@thedomain Documents]# I dont know if that is what you were asking, but I hope it helps.
Basically, if I'm understanding you correctly, you need to know where you put the files in question? Surely you would know better than us where you put your files. But if you simply downloaded open office and you don't know where it went once you'd downloaded it, could you at least specify which browser you used to download it? We might be able to surmise the location by knowing which browser you used.
Okay, I know my phrasing is bad, but basically what I am trying to ask is, I know I have to download the openoffice install files, then I have to extract them. I'm fine with these parts. Then the instructions say to CD to the directory that the install files are it. I know understand CD is the code for changing directories, but I need to know how I find out which directories I extracted to. Does that make more sense?
Ok, let's see if I can get this right for ya :x: Let's say you download the open office file from a website, and you download it to the directory "/home/someone/Downloads" When you extract the files, you are probably going to extract them to "/home/someone/Downloads/ "also. So once they're extracted, I believe you are supposed to [cd] to Code: cd /home/someone/Downloads/ *OR WHEREVER YOU EXTRACTED THE FILES TO And then follow the rest of the directions from there. Sound about right, AT?
A brief look at directory structure Yes it makes perfect sense, what I'm wondering is how you could manage to actually download a file and extract its contents somewhere without knowing where. I usually extract files which I will only be working with for a short while, such as installation files, to my /home/anti-trend/tmp directory. When I'm done doing what I need to do, I just nuke the contents of the entire folder: Code: rm -rf /home/anti-trend/tmp/* ...then again, perhaps I can think of a way you might have managed to extract the files without knowing where they went. If the OOo walkthrough you were following explained how to extract the installation archive from the CLI, they probably would have had you type something like this: Code: tar xzvf OOoArchiveName2.0.tar.gz ...am I right? In that case, that's like telling the system "I want you to extract the contents of this archive right into the directory I am currently typing this from." It also means that if the contents of the archive contained folders, those were extracted too. So what I'm basically saying is that the files you are looking for may be contained in a directory inside whatever directory where you extracted everything. Let me present a generic example: A brief look at directory structure First of all, please think of browsing a directory structure as if you're there, moving from inside one directory to another. You are in your home directory, which in our example is /home/Someone28624 and contains a compressed archive called testdummy.tar.gz .* The testdummy.tar.gz archive contains a program we want to install, Test Dummy Pro 2.0. The installation files are contained within the archive, so first we must uncompress its contents. We run the command: Code: tar xzvf testdummy.tar.gz ...since we are currently 'located' in /home/Someone28624/ and we did not specify a location to extract the files, the files are extracted right into the directory with us. Now we want to see what files we've uncompressed, so we 'list' the contents of our current directory with the list command: Code: ls The system obliges and gives us some verbosity: Code: Documents/ letter_to_aunt_ruth.txt testdummyinstaller/ tmp/ If you will notice, the directory 'Documents' has a forward-slash ( / ) immediately after it, but the regular file 'letter_to_aunt_ruth.txt' does not. This helps us tell the difference between a directory and a regular file at a glance. Also, there is a new directory, testdummyinstaller/ inside your /home/Someone28624/ directory. Since there are no installation files in the directory with us, just our Documents and that stray letter to Aunt Ruth we never finished, we can assume the files are probably inside that new directory that just came into being (/home/Someone28624/testdummyinstaller/). Let's go into that directory: Code: cd testdummyinstaller Now that we're inside /home/Someone28624/testdummyinstaller/ we can take a look around: Code: ls Again the system obliges our request and gives us a list of all the files in the directory with us: Code: test_dummy_install_file_01.rpm test_dummy_install_file_02.rpm test_dummy_install_file_03.rpm test_dummy_install_file_04.rpm test_dummy_install_file_05.rpm Yep, it looks like our install files alright. (Yes, it's weird that the installer is broken up into so many seperate parts, much like that of OOo *hint*hint*, but keep in mind that not everybody that works with software has the same amount of talent.) Anyway, this is a generic example with a lot of made up info, but I hope I have adequately explained a bit about how directories work, at least enough to get you back on track. * tar.gz is more or less the UNIX equivilent of a zip file.
Additional reading on directories and basic commands: http://anti-trend.homelinux.org/literature/rute/node5.html#SECTION005100000000000000000