LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   installing conky in slackware 13.37 (https://www.linuxquestions.org/questions/slackware-14/installing-conky-in-slackware-13-37-a-926250/)

TroN-0074 01-28-2012 08:12 PM

installing conky in slackware 13.37
 
Hi I had downloaded conky source but it the ./configure command said no package lua5.1 was found

so I downloaded the slackbuild instead now I have an untared directory with: conky.info, conky.SlackBuild, doinst.sh, README, slack-desc files

Can somebody please point out what the next step should be to have conky installed on the desktop?

The readme is a description and doesnt have much information on how to proceed with the installation.

I will appreciate it. Thank you.

Andersen 01-28-2012 08:41 PM

Ok, let's say you have all dependences installed. Next you should cd to conky directory, su and password to became a root, and execute conky.SlackBuild:

Code:

# ./conky.SlackBuild
When it's finished, your package will be in /tmp dir.

Sylvester Ink 01-28-2012 08:42 PM

I'm assuming you got the slackbuild from here:
http://slackbuilds.org/repository/13.37/system/conky/
in which case you would want to follow the instructions provided here:
http://slackbuilds.org/howto/

I've installed several packages using this method, and it's pretty simple once you get used to it, but can be a bit time consuming.
To make things easier, I recommend using the SBoPkg tool, which you can find here:
http://sbopkg.org/
To install it, download the prebuilt package:
http://sbopkg.org/downloads.php
And then use the installpkg command to install it. (As shown on that page. You need to be logged in as root.)
Once sbopkg is installed, just run it from the command line, synchronize with Slackbuilds.org, and search for the packages you want, adding them to your build queue. When done, process the build queue and sbopkg will build and install the packages for you. I definitely recommend reading the slackbuilds howto, so you can get an understanding about how a slackbuild works. Sbopkg simply streamlines the process, keeping things organized for you while still allowing you to maintain control over your system.

As for Conky, using that slackbuild you should be able to build and install it without any issue, but if you would like to add LUA support, you will need to install the required packages and their dependencies. First, once you have found conky, go down to the "Options" section in the menu and enter in "LUA=yes" (no quotes). Add it to your build queue, then add the dependencies as follows:
Conky with LUA support requires lua, imlib2, and tolua++, which you can add by searching for them using sbopkg.
tolua++ will require lua (which you've already added), and scons.
Once these packages have been added to the queue, from the Queue menu, sort them to make sure they are in the following order:
scons
lua
imlib2
tolua++
conky

This will ensure the dependencies are built first. Once done, process the queue, and you should be on your way!

Yes, this process can be somewhat involved, but installing conky is actually pretty good practice for figuring out how to manage dependencies in slackware and learn how to use sbopkg.

TroN-0074 01-28-2012 09:03 PM

Thank you. The installation went fine after you guys suggestion. I am new to SlackWare so like you said conky is a good practice for me.

Thank you.

pepe41695 03-22-2014 05:10 PM

Quote:

Originally Posted by TroN-0074 (Post 4587103)
Hi I had downloaded conky source but it the ./configure command said no package lua5.1 was found

so I downloaded the slackbuild instead now I have an untared directory with: conky.info, conky.SlackBuild, doinst.sh, README, slack-desc files

Can somebody please point out what the next step should be to have conky installed on the desktop?

The readme is a description and doesnt have much information on how to proceed with the installation.

I will appreciate it. Thank you.

1- write " su " and password.
2- chmod +x ....*.Slackbuild (whatever you want, conky, etc.).
3- ./....*.SlackBuild
4- installpkg /tmp/.......tgz
Finish..

TobiSGD 03-22-2014 08:18 PM

Quote:

Originally Posted by pepe41695 (Post 5139489)
1- write " su " and password.
2- chmod +x ....*.Slackbuild (whatever you want, conky, etc.).
3- ./....*.SlackBuild
4- installpkg /tmp/.......tgz
Finish..

For creating Slackware packages it is recommended to use
Code:

su -
to get a complete root environment.


All times are GMT -5. The time now is 10:15 AM.