Need help to install firefox-4.0.1.tar.bz2 Do not know how to un-compress it.
Or do I need to use the convert command?
Downloaded firefox as tux user and it is located at /home/tux
Also, get error Unable to find: /root/firefox
I used su and the Command line:
tazpkg install /mnt/hda8/home/tux/downloads/firefox
Seems like when I use tazpkg install /path/to/firefox
commandline returns the error Unable to find: /root/firefox
Any help is appreciated. My syntax is probably wrong
Many thanks

help install local packages and compressed package downloads
(9 posts) (5 voices)-
Posted 13 years ago #
-
You can extract it by right clicking it and clicking the Extract here item in the menu that pops up.
Or you could try the package I made for it a couple of months ago ;) : http://www.box.net/shared/j9kcfueb9a
Posted 13 years ago # -
@Chris
Always use tazpkg to install software.
Otherwise there is a very good chance the program is not going to run until you figure out/install the tazpkgs containing the shared objects and libraries it depends on.
Tazpkg auto-installs them for you.
Open xterm as root:
#tazpkg recharge
#tazpkg search firefox
#tazpkg -gi firefoxApplications/System Tools/SliTaz Panel/Packages is the new gui for tazpkg.
You can search/install/remove every program in the entire repository.
Cooking has over 3000 tazpkgs.
More info on console version here:
Applications/Documentation/Tazpkg manualPosted 13 years ago # -
Thanks Mojo and Trixar_za.
It is nice to get all the dependencies with the program!
But I got hung up with a firefox beta "Tumucumaque" version downloaded using tazpkg.
I did not recharge first, so may be that's my mistake.
Downloaded upgrade directly from mozilla, which is subject of this topic.
I will actually use midori most of the time since I like it.
Firefox can stay "as is".
From now on, I do not intend to try stuff like convert, etc.
Will just enjoy this nice distro, also "as is".Posted 13 years ago # -
IMHO you have to keep track of what packages/programs you add to your system not using tazpkg.
You may do so but 1.) as mojo pointed out, you may have to keep track of the dependencies on your own, 2.) may keep lots of trash on uninstallation since there is no automatism and 3.) may break other things already running on overwriting existing (e.g.) libraries...You may as well compile programs yourself, using the known steps compile/make/make install, where an make uninstall often deletes the remainders (but who knows...).
As far as I can see, mozilla products (speaking of firefox, thunderbird as well as seamonkey) are quite a good exception since the .tar.bz2 packages (being extracted by "tar xjf [name]" or by right click as trixar_za explained) dont need any additional files on MY system.
In fact, I extract the latest firefox.tar.bz2 every time my frugal install is booted, just to have a) a fast boot, b) the latest firefox and 3) an easy upgrade possibility.
If you extracted firefox to a directory, you just start it with /[path]/firefox/firefox or by changing to that directory and typing ./firefox. ("firefox" without leading ./ is only sufficient, if the firefox directory is in your $PATH variable...)
Posted 13 years ago # -
Ok I am a newbie at all of this, so much of this goes over my head. So I downloaded and extracted as described above, now what would be the next steps? When I used the xterm instuctions above, it only came up with the version of fire fox I already have, is there a way to upgrade by downloading it from a website and installing it with tazpkg after you do. And please remember, I know next to nothing about these things. Thank you.
Posted 13 years ago # -
Ok, from the beginning:
Theoretically, you could put together your own collection of programs under linux, downloading the source code of each one and compiling it "from scratch", e.g. starting out of nowhere.
What distributions - like Slitaz, SuSE, RedHat, Mandriva, Slackware, ... - do is taking lots of pain from you by collecting all those programs together and creating packages you can simply install by a small command, checking dependecies automatically and shipping configurations so everything runs smoothly.
That is why I propose to use the shipped packages, like the .tazpkg files for Slitaz. If you use the Package Manager GUI or the command line tazpkg get-install [pkg], you dont even have to bother where to download the package, since the correct servers or mirrors are already in your system.
So it is the EASY and SAFE way to use the distributions repository.
Often you have the choice of a STABLE flavour (which for Slitaz is 3.0, for debian is "squeeze" at the moment) or a very recent flavour ("cooking" for Slitaz or "wheezy" for debian), which might have some more bugs and instabilities.
If you are using the stable version of for example Slitaz you wont be able to install the latest browser automatically. The "cooking" version of firefox will be quite recent but MIGHT have dependencies in cooking, that the stable version cant resolve.
Coming to the point:
If you run Slitaz stable (3.0) and want to use the latest firefox, you may try the following:
1.) download latest firefox.tar.bz2
2.) change to root account (su -> password "root")
3.) change to /usr/lib
4.) tar xjf [path]/firefox.tar.bz2 (-> latest firefox is unpacked to /usr/lib/firefox)
5.) rm /usr/bin/firefox (removes the link to old firefox)
6.) ln -s /usr/lib/firefox/firefox /usr/bin/firefox (symbolic link to new firefox)if you want to use flash-plugin (thats installed in /usr/share/flash/libflashplayer.so)
7.) mkdir /usr/lib/firefox/plugins
8.) ln -s /usr/share/flash/libflashplayer.so /usr/lib/firefox/plugins/libflashplayer.soif you want to clean up your system and remove old firefox be aware that the start menu entries located in /usr/share/applications and the menu icon in /usr/share/pixmaps will be removed too (as well as the symbolic link in /usr/bin). You might do:
9.) cp /usr/share/applications/firefox.desktop /usr/share/applications/firefox_new.desktop
10.) cp /usr/share/pixmaps/firefox.png /usr/share/pixmaps/firefox_.png
11.) tazpkg remove firefox
you may remove libfirefox too, but may keep flash-plugin...
12.) mv /usr/share/pixmaps/firefox_.png /usr/share/pixmaps/firefox.png
13.) ln -s /usr/lib/firefox/firefox /usr/bin/firefoxThen a click on the firefox menu icon should fire up the latest firefox...
Seems complicated, but thats the point why using the distribution repositories is the easier way...
P.S.: if typing "firefox" fires up your "old" firefox version, then you probably forgot about the $PATH thing...
Try [path where you unpacked the new firefox]/firefox, the the new one should be started...Good luck...
Posted 13 years ago # -
when I try to enter into /usr/lib it says permission denied even after su and password enter correctly and accepted. What is going on with that?! I was all pyched to try this. :(
Posted 13 years ago # -
Are you trying to enter /usr/lib with pcmanfm after su'ing to root in the terminal? If you are, then it won't work. Maybe try typing pcmanfm after su'ing to root. It should bring up a pcmanfm with root privileges which will allow you to browse to and enter the directory.
Another way to deal with it, is to alter the permissions of the directory. Try using chmod 777 /usr/lib after you su to root. It should change the permission so you can enter it as any user.
Posted 13 years ago #
Reply
You must log in to post.