A few newbie questions (openSUSE 10.1 and general.)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Once again, G_F to the rescue! (Honestly, you guysm ust be sick to death of me by now.)
id you place a link to the program on your desktop or did you copy the binary there?
Copied the binary, which explains why it wont run. So, how does one place a link to it then?
For the restarting I'd assume that this be gone if you place/edit the firefox symlink in /usr/bin to point to your firefox 2 binary (and maybe uninstall ff 1.5, this might be an issue because if firefox 1.5 is in the PATH and if you try to restart ff 2 it runs ff 1.5 noticing this is a different binary and thus stopping.
Not quite sure what you mean. I had a look under my "Bin" (as in the Stepen\Bin), but there seems to be nothing there. Theres stuff in the... err, main bin (not sure what to call it), but thats lots of stuff, and I see nothing abotu firefox symlink. As for uninstalling the original Firefox, ive got to find it first - where does openSUSE actually keep its original programs???
EDIT: I found a bin under usr - is this it? It has a firefox link thing, but wont let me edit it; probably need to be root to do so. However, since thios is a learning thing, can the terminal be used to make me root and do this, without having to log in as it?
Last edited by ediblespread; 03-25-2007 at 09:07 AM.
I found a bin under usr - is this it? It has a firefox link thing, but wont let me edit it; probably need to be root to do so. However, since thios is a learning thing, can the terminal be used to make me root and do this, without having to log in as it?
Yeah that's it. To become root just type
and enter your root password.
Btw the bin directories (/bin, /usr/bin, maybe also /usr/local/bin and /sbin, /usr/sbin and maybe /usr/local/sbin are the directories for the binaries, thus the name bin.
if Yast asks for the CD/DVD when you're trying to install software, it's because you didn't disable CD/DVD as a software source (I did mention this). If you take a look at the list of software sources in Yast, you'll see that CD/DVD status is "on" while it should be "off"; turn if off and Yast has no choice but to get everything from the net.
You should be able to remove your older firefox by unchecking the item in Yast. This will not remove the newer one since you installed it manually; Yast can only remove stuff it installed itself. Just have a closer a look at the firefox item in Yast, that should show its version number as well; and at the bottom of the page, there is a version tab which shows all available versions. If there is a 2.0, you can install it by selecting that version, then checking the firefox box again.
One more remark: use yast whenever possible; installing things manually is a very very bad option and shouldnt' even be considered unless you're absolutely certain that a package is not available from any of the repositories. This firefox should be OK but any other package may create a complete mess that you'll never be able to sort out again...
Jay, thanks. Im trying that now. One thing then: you did mention disabling it, but I cannot find out how to - only where I see anything mentioning CD/DVD is when you are actually trying to add a repositary...
Only thing left then:
How do I re-write the symlink to target somewhere else? Failing that, I assume I can just move my firefox folder into the usr/lib folder now?
Yes, the cd/dvd should be disabled where you add your software repositories. I've forgotten all about Suse 10.1 by now but Suse 10.2 has a button at the bottom right corner of the add software window which allows checking/unchecking software sources.
I've also found an explanation why you may not be able to find an update to firefox in yast: Suse apparently does not offer any "major updates": you may be able to update from 1.5 to, say, 1.5.1 or 1.6 while using Suse 10.1 - but if you want to upgrade to firefox 2, you'd have to get Suse 10.2 instead.
As or editing symlinks, you should be very very careful. Symlinks string together bits of software so if you break one, you may find that several things suddenly stop functioning. Figuring out just why can be a major source of headaches. If you do want to make the symlink you need to do this (as root):
You can also avoid all the symlinking by doing this:
launch alacarte (just type it into a terminal; you may need to install it first)
select the Internet section and Add New Item
in the box that pops up your specify name (firefox 2) and command (/path/to/firefox/firefox - e.g. if firefox is in /usr/local, you need /usr/local/firefox/firefox). You may also want to give it a menu icon by pressing the "no icon" button and browsing for the firefox icon; I imagine it has to be under /usr/share/pixmaps.
Firefox should now appear on your menu; if you want a shortcut, you can place it on the taskbar by right-clicking the desktop, selecting "add to panel" and "choose application from menu". This will add a neat small icon to the taskbar instead of the desktop - but well that's just what I like, I'm none too fond of having my desktop cluttered with all sorts of icons. Your preferences may vary of course.
I got so fed up of mucking around with stuff, I decided to re-try the update through YaST way, by using a repository that I found floating about somewhere on the web. I stuck that in, turned off the only repository i could find that had CD in it (I assume this was the whole CD issue), and hit accept. And it froze... well, half froze - it refused to acknowledge that it was finished. So, it was terminal --> xkill... Yet, when I loaded it back up for another go, there was the repository sitting there, looking very smug!
So, I went to software manager and tried updating it. Twenty minutes later it claimed to have finished, but refused to do anything - everything but abort was greyed out, and even that didnt actually do anything when you clicked on it. So, I tried to get a terminal up, but couldnt, so I just shut it down, deciding I was defeated.
Anyway, when I booted it back up, I ran firefox (the old version, I had deleted all content of 188.8.131.52, and what did it say? "Beagel 0.5 isn't compatible with your new version of Firefox". Heart in mouth, I choose to ignore this and loaded it up. And amazingly, it has updated itself to 184.108.40.206!
So, thanks guys, you've been great.
Moral of the story? YaST is a bug-filled piece of s***, that I do not look forward to working with. It is too soon to see if it will ruin my Linux experience however.
One remark, though. I do think Yast is quite reliable but I also see a lot of newcomers complaining about it. The main reason, from what I can see, is that those people haven't figured out the logic of it all.
Linux relies on a complex set of connections between various packages, with one requiring another to function properly, and that other one probably requiring other packages yet itself. Now if you're not careful, you can introduce package versions that none of the other software packages know how to handle; consequence: dependency errors and/or broken software. I imagine this is why beagle started complaining about being unable to support firefox 2: that specific version of beagle was written for firefox 1.5 (which may go for other packages as well), not firefox 2. So you should now have to update beagle too; and if other packages rely on beagle, those need to be updated as well and on and on and on.
That's why you should always stick to the updates that are available from the repositories for your release (10.1); install from 10.0 or 10.2 repositories and you're well on your way to dependency hell. So: either stick with what you can get for your specific release or do a full system upgrade to a later release.
I'm just spelling out what you may have already unleashed by installing firefox from just any repository. I hope I'm wrong.
If you don't like yast, you can always install smart (+smartgui if you want a graphical frontend). It does largely the same, in fact, it's far more convenient. Not sure whether that was already available for 10.1,though.
jay73: I remember yast in console mode (ncurses or something, suse 6, dunno if they still have it?) and even back then it was just as ediblespread describes. And additionally: dependency hell... That's one point why I like slackware so much