How to install Okular

BOOBALAN.V
5StarLounger
Posts: 737
Joined: 24 Aug 2017, 07:43

How to install Okular

Post by BOOBALAN.V »

Dear Community,

I am trying to download and install the okular PDF reader in kali linux OS. But in official website they've posted some command lines for download and install. I tried that command lines in terminal. one of the following command is not found. Now how to install.

~/okular/build# cmake -DCMAKE_INSTALL_PREFIX=/path/to/your/install/dir
bash: cmake: command not found

over all commands posted in https://okular.kde.org/download.php is
git clone git://anongit.kde.org/okular" onclick="window.open(this.href);return false;
cd okular
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/path/to/your/install/dir ..
make
make install

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: How to install Okular

Post by Rudi »

    
Have you tried...:

sudo apt-get install okular

...in the command prompt window?
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

BOOBALAN.V
5StarLounger
Posts: 737
Joined: 24 Aug 2017, 07:43

Re: How to install Okular

Post by BOOBALAN.V »

Dear sir sorry for late reply. This above command you recommend is not working sir. It shows that unable to locate the package okular. Now what to do sir.

BOOBALAN.V
5StarLounger
Posts: 737
Joined: 24 Aug 2017, 07:43

Re: How to install Okular

Post by BOOBALAN.V »

Dear sir i think the problem was the package wasn't listed in source.list file. I just edited that source.list file. then i could install. Thank you so much sir.

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: How to install Okular

Post by Rudi »

Thanks for the feedback and glad you came right. :thumbup:
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

Fluffyone
NewLounger
Posts: 13
Joined: 17 Oct 2019, 06:54

Re: How to install Okular

Post by Fluffyone »

Few steps to install Okular on Linux :
1. Launch a terminal window and run the following command to update APT package manager repositories.
sudo apt-get update
2. As soon as the update process completes, run the following command to install the latest version for this application.
sudo apt-get install Okular
3. Universal document viewer ocular is up and running on your Ubuntu system now. Launch it from Applications >> okular option.
4. Start using this wonderful app on Ubuntu