LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-29-2010, 09:55 AM   #1
junglerat
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Rep: Reputation: 0
installing clish on ubuntu


hi all

i need to install clish:http://clish.sourceforge.net/
on ubuntu, and i can't understand how.

i tried using the terminal and write the following:

me@me-desktop:~$ sudo apt-get install clish
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package clish

and it can't find the package.
i tried downloading it and install it but i just cant find how to do so
can someone please help me ?

thanks
newbie
 
Old 03-29-2010, 04:41 PM   #2
junglerat
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Original Poster
Rep: Reputation: 0
can anyone help me with clish - i will be really greatfull for some tips
thank you
jungle
 
Old 03-30-2010, 02:28 AM   #3
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,251

Rep: Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684
Quote:
me@me-desktop:~$ sudo apt-get install clish
This only works when clish is part of the install database of known packages.

As per the link you provided, download the file - clish-0.7.3.tar.gz
Once extracted, follow the INSTALL or README instructions on installation.

Assuming this has to be compiled, you may also have to install the C compiler (gcc).
This can be done via Synaptic Manager. Remember to install the dev (gcc-dev, i think) as well
 
Old 03-30-2010, 02:37 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Code:
wget http://prdownloads.sourceforge.net/clish/clish-0.7.3.tar.gz
tar xzf clish-0.7.3.tar.gz
cd clish-0.7.3
./configure
make
sudo make install
If there are errors from the "./configure" step then you are missing some dependencies. If this is the case, do not follow the remaining steps. You will first need to install the dependences (they should be available with apt-get). If you can't work out how to do this, please post the exact error messages from "./configure" here on the forum.

The "sudo" in the last step is needed if your user does not have write permission to /usr/local

Cheers,

Evo2.

Last edited by evo2; 03-30-2010 at 02:38 AM. Reason: wget
 
Old 03-30-2010, 04:28 PM   #5
junglerat
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by evo2 View Post
Code:
wget http://prdownloads.sourceforge.net/clish/clish-0.7.3.tar.gz
tar xzf clish-0.7.3.tar.gz
cd clish-0.7.3
./configure
make
sudo make install
If there are errors from the "./configure" step then you are missing some dependencies. If this is the case, do not follow the remaining steps. You will first need to install the dependences (they should be available with apt-get). If you can't work out how to do this, please post the exact error messages from "./configure" here on the forum.

The "sudo" in the last step is needed if your user does not have write permission to /usr/local

Cheers,

Evo2.
thanks allot evo2 , i think it worked (no errors).
now that i have it installed i need to study clish, but i can't find any tutorials about it on the web.nothing about it but a 1 page document. do you have any tutorials?. any tips will be great as well.
thanks X2
jungle

Last edited by junglerat; 03-30-2010 at 04:29 PM.
 
Old 03-30-2010, 05:18 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
i need to study clish, but i can't find any tutorials about it on the web.
I just did a search.

167 pages found. It seems to be redundant and obsolete. The last update to the source was in 2008.

So, why did you want to install clish, if you don't know what it is, what it does, or how to use it?
 
Old 04-02-2010, 06:00 AM   #7
junglerat
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tredegar View Post
I just did a search.

167 pages found. It seems to be redundant and obsolete. The last update to the source was in 2008.

So, why did you want to install clish, if you don't know what it is, what it does, or how to use it?

i need to install clish in order to implement it to our API
- the idea is to take our API and to generate prints and premmisions according to user groups - this is what clish does - if i ever manage to understand what i need to do next in order for it to work.

Last edited by junglerat; 04-04-2010 at 03:52 AM.
 
Old 04-04-2010, 04:00 AM   #8
junglerat
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Original Poster
Rep: Reputation: 0
hi all - i have read the clish documentation over again and it says i need to set the enviorment param CLISH_PATH to the current folder and then to run clish. i am not sure how to do this.

for the path settting i have tried : set CLISH_PATH /home/me/clish-0.7.3/xml-examples
(is this the same as setenv? from where should i run this?)

and when i try to run the clish.cpp : ./clish

i get the following:
me@me-desktop:~/clish-0.7.3/bin$ ./clish
*** Failed to open '/etc/clish' directory
*** Failed to open '/home/me/.clish' directory
lt-clish: clish/shell/shell_startup.c:14: clish_shell_startup: Assertion `this->startup' failed.
Aborted

does anyone have any idea what i should do ?
thanks allot
jungle

Last edited by junglerat; 04-04-2010 at 04:02 AM.
 
Old 04-04-2010, 06:35 AM   #9
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,251

Rep: Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684
try:

Code:
export CLISH_PATH=/home/me/clish-0.7.3/xml-examples
 
Old 04-05-2010, 06:11 PM   #10
junglerat
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Original Poster
Rep: Reputation: 0
THANK YOU VERY MUCH !!!

this is so great it actually worked
problem solved!

again thanks all
jungle.
 
Old 04-05-2010, 09:27 PM   #11
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,251

Rep: Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684
Glad it is up and running, don't forget to mark as SOLVED.
 
Old 08-22-2010, 03:14 AM   #12
nima0102
Member
 
Registered: Nov 2006
Posts: 209

Rep: Reputation: 30
Hi
I have same issue, after reading this topic, the problem is solved
Thanks a lot to all you.
Is there any cli such clish??
In addition to, one person started Klish, that is fork of clish with some bug fix and new features.

Thanks again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i use the prefix option in clish avi_al Linux - Newbie 1 04-08-2009 05:38 AM
how do i use the prefix option in clish avi_al Linux - Software 1 11-13-2008 05:29 AM
Problem in installing CLIsh: Configure script unable to find pthread_create function avinash_ag1985 Linux - Kernel 3 07-22-2008 03:47 PM
LXer: Installing Xen On An Ubuntu 7.10 (Gutsy Gibbon) Server From The Ubuntu Reposito LXer Syndicated Linux News 0 11-06-2007 09:50 PM


All times are GMT -5. The time now is 08:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration