SliTaz SliTaz Forum

You are not logged in.

#1 2012-01-26 06:22:45

Guest
Guest

new to slitaz, some questions about install packages

Hi, i am a green-hand in linux, and new to slitaz. i use 3.0

i learnt that how to install a single package (just .tazpkg) , now i am want to install a Chinese input tool--fcitx4.1.2.tar.bz2 and firefox-latest.tar.bz2, but i am facing some questions.

first, how to build a compile environment? what packages do i need? can you give me a packages.list? because i  have learnt that i can use "tazpkg install-list packages.list" to install a lot of packages. i place the packages in /var/cache/tazpkg and wrote my packages.list like this:

atk-dev-1.26.0.tazpkg

autoconf-2.68.tazpkg

automake-1.11.1.tazpkg

but the answer is "Unable to find atk-dev-1.26.0.tazpkg", why?

second, i find some receipts in the .org , but how to use ? i did it as "tazwok cook **", but i failed......i wondering that is that because my short of compile environment?

tar -jxvf fcitx-4.1.2_all.tar.bz2, there are some files, the INSTALL is the following:

Basic Install

====================

mkdir build

cd build

cmake .. -DCMAKE_INSTALL_PREFIX=<installdir>

make

make install

Dependency

=====================

LibX11, Cairo-Xlib for GUI

Wget for download data file (if it a full tarball, no need for this)

Intltool for internationalize

Optional Dependency

=====================

pango-cairo for better font rendering (recommended)

opencc for new Simplified Chinese to Traditional Chinese engine

dbus for kimpanel support

doxygen for build doc

i have no idea what should i do...

the same way, i extract the firefox-latest.tar.bz2(chinese simple) , i can use it by execute ./firefox . but i cannot find it in the menu, maybe i did not install it.

thanks.

#2 2012-01-26 06:48:02

ms
Member
Registered: 2011-04-01
Posts: 90

Re: new to slitaz, some questions about install packages

To compile, you will need to install slitaz-toolchain and slitaz-dev-pkgs. See http://forum.slitaz.org/topic/installing-using-source-code#post-247. You can also check the guides at doc.slitaz.org (seems to be down at the moment).

To install packages, you need to do the following as root:

$tazpkg get-install <packagename>

Just type tazpkg in a terminal to see the various options. You can also scroll down to the links at the bottom of this forum and click on 'Packages' for a complete list of packages available in Slitaz.

Lastly, if you have to have a package not in Slitaz repository, the first step I usually follow is look for the package on Debian. If it's available, download it, use 'tazpkg convert <package.deb>' to create a .tazpkg out of it, then try if that works, before getting into compiling from source code.

Offline

#3 2012-01-26 07:40:09

Guest
Guest

Re: new to slitaz, some questions about install packages

thanx ms3811, i have install slitaz-toolchain and slitaz-dev-pkgs.

i will try to convert packages from .deb / .rpm .

but how to install a lot of packages with a packages.list? i have download some packages, i want to install the with "tazpkg install-list packages.list".

any solutions?

#4 2012-01-26 08:05:33

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Re: new to slitaz, some questions about install packages

Either you put your packages in the same directory using for launching tazpkg command,

or you give the full path of packages location in your list.

Unfortunately the server is down for now. There is a nice tazpkg manual.

Cheers.

Offline

#5 2012-01-26 08:42:29

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: new to slitaz, some questions about install packages

http://mirror.slitaz.org/hg/hgwebdir.py/tazpkg/raw-file/tip/doc/tazpkg.en.html

Offline

#6 2012-01-27 09:42:05

Guest
Guest

Re: new to slitaz, some questions about install packages

Thanx totoetsasoeur and Trixar_za,

but ... i still can not compile the fcitx. i use receipt , it reads that

DEPENDS=""

BUILD_DEPENDS="cmake intltool cairo-dev pango-dev gtk+-dev gcc"

and i install all the depends.

when i run "tazwok cook fcitx" , it download the fcitx-4.1.2-all.tar.bz2 , and it answers

Could NOT find Libkvm   (missing: LIBKVM_INCLUDE_DIR  LIBKVM_FOUND  )

Configuring done

Generating done

Build files have been written to : /home/slitaz/wok/fcitx/fcitx-4.1.2/build

3% ============until 84%

84% Generating pyPhrase.org

in/tar: invalid option -- 'm'

at the end ,

ke[2]: *** [data/pyPhrase.org] Error 1

ke[1]: ***[data/CMakeFiles/pinyin_data.dir/all] Errot 2

ke: *** [all] Error 2

====================================

mpilation failed. Please read the compiler output.

what should i do ? is there any packages do i need to install ?

#7 2012-01-27 09:49:00

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: new to slitaz, some questions about install packages

Try tazpkg convert with the package found at http://packages.debian.org/lenny/fcitx

It's more likely to work than the sid version.

Offline

#8 2012-01-27 10:27:25

Guest
Guest

Re: new to slitaz, some questions about install packages

Thanks Trixar_za, i will try to convert the package.

I think I should learn more before I can compile a package all by myself.

Thank you again.

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]