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
- app-arch/rpm
- CramFS Support
- Loop device support
Installation
- First off, you'll need the rpm package:
# emerge app-arch/rpm
- Next, if not already enabled, enable support for CramFS in your kernel:
| Linux Kernel Configuration: Kernel Configuration |
File Systems --->
Miscellaneous Filesystems --->
[*] Compressed ROM file system support (cramfs)
|
- You also need to enable support for loop device, as stated here :
| Linux Kernel Configuration: Kernel Configuration |
Device Drivers --->
Block Devices --->
[*] Loopback device support --->
[*] Cryptoloop Support
|
- Recompile your kernel, copy it over, and reboot.
- You need to have the crypto-loop service running (very few klik programs would work without it...)
# /etc/init.d/crypto-loop start
- If you want crypto-loop to start automatically at boot :
# rc-update add crypto-loop default
- Go to klik website, download the klik script, run it and follow the on-screen instructions. Make sure the script edits /etc/fstab. At the end of your fstab, you should see something like this :
/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 =)
Created by NickStallman.net, Luxury Homes Australia
Real estate agents should be using interactive floor plans and real estate agent tools.
