Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some lit files I want to convert from Microsoft reader files to something my other devices can read. My friend says I should have clit, in

$ which clit
/usr/bin/clit

but I cannot find it. I tried locate clit but the results are unrelated. So then I tried sudo apt-get install clit but it says package not found. Is clit a standard package? where can I find it?

share|improve this question
3  
Hiya folks! I'd just like to remind everyone that when we use the site, we have to follow the Ubuntu Code of Conduct, and that we need to be respectful and considerate with what we do and say. – James Feb 29 at 22:43
3  
such hysteria on those codes of conducts everywhere is definitely making internet and floss community in particular unfunny place – actionless Mar 10 at 23:53
up vote 72 down vote accepted

Download Calibre - this will read your LIT format files, and also be able to convert them to other formats.

OR

you can install the clit program by sudo apt-get install convlit

share|improve this answer

The general solution to the question “Which package provides file X?” is to use the in-packages search feature of the official site's Ubuntu Packages Search page.

Scroll down to Search the contents of packages (the second search form on the page — using the first is an easy mistake and will give frustrating results).

Enter your desired filename in the search field and hit Search, and there it is:

Screenshot of the Ubuntu Package Search page results, for a search of package contents containing "clit", showing the convlit package

share|improve this answer
7  
apt-file sometimes can be even better: it has more features and searches all the sources you have enabled in /etc/sources.list, i.e. also third-party sources, which package.ubuntu.com wouldn't search (which is a downside if you don't have all the standard sources enabled, but you can still set apt-file to sync with another custom sources.list which has all of them enabled). – kos Feb 29 at 19:12
    
Even more easy way to find out which package in repositories contains your non-existing command is to run it. I entered clit in the terminal and got an answer that it is not installed and I should run sudo apt-get install convlit. Easy, right? This feature is provided by the package command-not-found which exists in Ubuntu right out of the box. – whtyger Mar 3 at 11:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.