Search:  
Gentoo Wiki

HOWTO_klik

Contents

Klik On Gentoo

Introduction

Portage has many great applications, but sometimes you just want to test something new out without involving portage or any package manager. Enter klik, a program using compressed application "bundles" (AppDirs) to allow for one-click running of programs with no required installation.

Requirements

Installation

# emerge app-arch/rpm
Linux Kernel Configuration: Kernel Configuration
File Systems  --->
    Miscellaneous Filesystems ---> 
         [*] Compressed ROM file system support (cramfs)
Linux Kernel Configuration: Kernel Configuration
Device Drivers  --->
    Block Devices ---> 
         [*] Loopback device support ---> 
              [*] Cryptoloop Support
# /etc/init.d/crypto-loop start
# rc-update add crypto-loop default
/tmp/app/1/image /tmp/app/1 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/2/image /tmp/app/2 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/3/image /tmp/app/3 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/4/image /tmp/app/4 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/5/image /tmp/app/5 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/6/image /tmp/app/6 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/7/image /tmp/app/7 cramfs,iso9660 user,noauto,ro,loop,exec 0 0

if you don't, add those lines manually.

Usage

Head over to klik.atekon.de and find a software you want to test (beware, some software may be large). Once loaded, all should go well.

If you get a libstdc++ warning, all it does is slows down your file loading. Here's a quick fix for you guys. WARNING: Apply this only if necessary, and if the symlink isn't already present:

# su
# ln -s /usr/lib/libstdc++-v3/libstdc++.so.5.* /usr/lib/libstdc++.so.5

This will "trick" klik into finding it. Beware also that many packages are still experimental and may not function, but should cause no harm to your system. Happy testing =)

Retrieved from "http://www.gentoo-wiki.info/HOWTO_klik"

Last modified: Fri, 05 Sep 2008 06:25:00 +0000 Hits: 2,096