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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The command "cp" is the copy command, for that you need a source and destination specified. You only have a source "/root/Desktop/firefox-3.6.8(2).tar.bz". The copy command will not update firefox from a tarball and this version of firefox is very much out of date.
What distribution are you using, perhaps there is a build in package manager or command like yum or apt-get to update a pre-compiled version of the current firefox?
Probably the best method is to use yum to update/install firefox.
Code:
# yum install firefox
as root will install firefox from the command line.
I also choose to live in the command line as much as possible, it is faster than trying to find known applications from a gui and more rewarding when something doesn't go terribly wrong.
Does that mean that you are running your desktop as root (logged in as root in the graphical login manager) and have downloaded the tar.gz file to your desktop via a browser? I'm asking because it is highly unusual to run GUI applications in whatever form or shape, be it a single program or a desktop environment, as root. From a security standpoint this is not recommended as far as I know. Please correct me somone in case I got this wrong. I do not mean to inconvenience you, it just looks strange, and as a complete newbie I have so far made many silly mistakes....
Someone could have told me
That won't work because you are not using windows. If you changed the destination to: /opt/firefox/ it should work. Check the link below for some simple instructions on extracting a tar.bz file:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.