You are not logged in.
I downloaded and installed the 5.0 cooking version of slitaz. I also downloaded the packages-cooking.iso. I have plenty of space on the flashdrive I burned the slitaz-5.0-rc2.iso to if I could extract it to a folder there somehow. Once I get it onto the system with slitaz running on it, how do I get it to come up in the package manager, or if it can't do that easily, how do I install packages from it via the terminal command line?
Of course, I looked in the handbook before I posted this and searched this forum, but perhaps I just wasn't looking for it correctly, so if instructions already exist, please just refer me to a link if you can, please.
BTW, your handbook is the first I found that gave actual almost working instructions for a "manual install". I only say almost because it might be a little dated and maybe rootfs.gz was once one file and the instructions never got changed when it was split into 4 files, but putting an asterisks in the commands worked once I saw what was there. My machine can't boot from DVD because its flaky, and the BIOS is too old to boot from USB, so I had to load it to USB and boot from floppy, and then do the install from the USB, which the installer didn't like. Anyway, I got it installed just fine, but now am looking to add packages and tazpkg doesn't show any...
Thanks for any help/hints...
Offline
To install packages from the DVD...
1. Start Tazpanel
2. Click Packages -> Administration
3. Scroll down to "Slitaz Packages DVD"
4. Click on install from DVD/USB key
Make sure the path of the mounted DVD is correctly listed.
If you want to use the terminal, you should be able to cd to the DVD and run tazpkg install <pkgname>. From memory, I think you need make sure the dependencies get installed as well.
Offline
Thanks for the reply.
I got the packages added to a folder on my flashdrive. so that part is done. I will probably just use the command line unless the gui method does more of the dependency checking for me, I suppose.
How can I find out the dependencies? Will it refuse to install a package if something it needs is missing? Or is there a way to list them?
Offline
Well, I got one package installed ok, but it had no dependencies.
So I tried to install a second package, and it had dependencies. It tried to fix the dependencies, but it was trying to download the files from mirror.slitaz.org and couldn't connect because it was getting timeout errors. Is there a source list somewhere that i could specify the locations of packages that I have locally first, and end it with a local mirror? Or how do you normally control it?
Thanks...
Offline
I'm using Slitaz 4.0 (stable) here with a local repository stored in /home/me/Disc on my HDD. Total disk usage for the local repository is about 3GB. Permissions for the repository packages are set at root:root 644. I stored my repository packages on my HDD, rather than on USB stick, because my machine is a Pentium III, and accessing the packages from the HDD is faster.
To add a local repository, do as su:
tazpkg add-undigest private /path/to/local/repository
as an example. I have named my local repository "private", whereas the online repository is shown as "public" in Package Manager. My path to the packages is /home/me/Disc. If you prefer storage on USB stick, just determine first the path to the USB stick, then use that as the path for the tazpkg add-undigest command. In Package Manager, you can then click on "private" and only your local repository will be used to install packages. Note that packages.list must be in the same directory (folder) as the packages.
My local repository is working perfectly.
Offline
Thanks for the reply, Skyhawk. That helped too.
I found the mirrors answer here:
Applications/Documentation/TazPkg manual
http://doc.slitaz.org/en:handbook:packages
http://hg.slitaz.org/tazpkg/raw-file/tip/doc/tazpkg.en.html
It seems to handle dependencies mostly. I was worried it wouldn't at all. I'll give it another go once I figure out what mirror to try.
Offline
Run Tazpanel, next click on Packages and then click in Administration, now scroll down to the end of that page and in the text box at the right of "Install from ISO image:" type the path to the iso file with all the packages inside, and finally click the Return key and wait until the response of Tazpanel sayin some about that all packages are available for tazpkg/tazpkgbox and now come to click on Categories / All (click in the word "all ") and all the packages inside the isofile are displayed and you can install or unistall from here what you want.
In my case the path to iso is:
/root/packages-4.0.iso
But you can put the isofile where you want...
Its now working. Because there are lots of packages and you can only install 1 at a time with the web interface, it takes a while, so I am just using the command line, and that works just fine.
Thanks to all...
Offline
"you can only install 1 at a time with the web interface"
Not really, you can install several at a time with package manager. Just click the box at the left for each one you want to install. Just don't do a bunch at a time. It tend to hang. I do 4 or 5 at the time and it works fine.
What it seems not working is the tazpkg option; install-list.
# tazpkg install-list sed gawk
#unable to find: sed.
If that is the proper way to call the program.
Offline
Yes, I did try checking the box on some, but didn't know how to make it execute the installs. Normally I would have expected an "Apply Selections" button or something. I never got the second screen showing dependencies and the package(s) being installed.
Perhaps I just wasn't doing it right...
Offline
tazpkg install-list package.lst
I don't think you read the syntax correctly. Try making a file called package.lst in the current directory containing 2 lines...
sed
gawk
Offline
Thriftee:
If you have internet connection my advise is to install packages from Slitaz website. It's easier
For example, If you want to see all the packages available in the repository click "all". To install, you only have to click in the box on the left hand side. You can select more than one packages if you wish. Packages that are installed already will be marked in green, other will not. Once you have made the selections, click "install" at the top. Tazpkg will install what you have selected, and will download and install any library that is needed. There is no need to take care of that, The program will do that for you.
If you list your packages after that, you will see that the packages you selected are there and market in green. That's all. To remove a package; mark the box again and at the top click "remove"
You might need to play around a little bit with it. Recharging the list, etc. Do some simple tests to get practice. You will get it after a while. Leave the command line for now.
Offline
I agree its better to just install from the website if you have a good internet connection, ie you are going to get the freshest code.
But actually installing is certainly quicker and easier using a terminal and mc to browse the packages.list file and then running tazpkg from the command line to install what I need as compared to trying to use the web interface. Perhaps something else was wrong but I just didn't have much success via the web.
Offline
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]