-
understanding klik
How do applications work together e.g. all the components of the TeX package ?
As I understand, each app is a CMG file, no longer installed into the home directory.
Can I access apps via command line e.g. latex?
thanks
rol
-
Senior Member
registered user
Re: understanding klik

Originally Posted by
rol
Can I access apps via command line e.g. latex?
Yes you can, but instead of running "latex" you run "~/.zAppRun ~/Desktop/latex.cmg latex" and add arguments to latex as normal.
What happens is zApprun mounts the cmg file and runs the wrapper script inside it which in turn runs the program name you supplied from within the cmg.
One other thing you can do is make a simple script like
Code:
#!/bin/sh
CMG="~/Desktop/latex.cmg"
~/.zAppRun $CMG $0 $@
Make a directory called ~/klik.bin and put this file in there as latex.run
Make a smylink for each program in the latex.cmg that you want to run from the command line so to run latex and latexfoo from the latex.cmg you would do:
Code:
cd ~/klik.bin
ln -s latex.run latex
ln -s latex.run latexfoo
Finally you need to add ~/klik.bin to your path e.g.
Code:
PATH=~/klik.bin:$PATH
Now from the command line you should be able to run latex or latexfoo. If you want to use the same technique on more cmg files, you need to make a copy of the latex.run and change the CMG= line to reflect the correct cmg to use and then make the symlinks to this file for any programs you want to be able to run from the cmg.
Hope this helps.
Similar Threads
-
By toecutter in forum Klik
Replies: 3
Last Post: 12-10-2006, 09:45 PM
-
Replies: 7
Last Post: 03-14-2006, 12:04 AM
-
Replies: 210
Last Post: 12-04-2004, 03:04 PM
-
Replies: 0
Last Post: 11-28-2004, 08:59 PM
-
By Sgeo in forum General Support
Replies: 1
Last Post: 11-25-2004, 04:20 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1625.00

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed
$94.95

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99