LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   licq/sim (https://www.linuxquestions.org/questions/slackware-14/licq-sim-369908/)

erikash 10-05-2005 03:13 AM

licq/sim
 
sorry for all the questions in the last few days guys... just trying to learn slackware a bit...
now, i want to install sim/licq
and i did "swaret --install licq/sim" and it didn't find it... i went to the package browser in
"slackware.org" and browsed through the packages and i didn't find it...

how can i get it installed guys?

thanks in advance,
erik! :D

gbonvehi 10-05-2005 03:31 AM

It's not a default Slackware package so you won't find it on the Slackware mirrors.
You can find third-party packages in sites like http://linuxpackages.net ( http://www.linuxpackages.net/search_...=licq&ver=10.1 this package is for 10.1, but should work on 10.2 without problems )
Or you can grab the source of licq and compile it: http://www.licq.org/

erikash 10-05-2005 03:58 AM

thanks gbonvehi!
i've decided to compile it myself... just for the fun... :)
hmmm but i also want to make a slackware package from it... so i will be able to
remove it without problems... how can i do that?

KingOfDreams 10-05-2005 04:19 AM

well,

install the checkinstall package from the extra directory

when you compile, after make type checkinstall, instead of make install. Checkinstall creates a package in the directory you are compiling and installs. Then removing becomes easy. :)

gbonvehi 10-05-2005 04:20 AM

You can use a tool called checkinstall (there's a official Slackware package for it) that will create a package from your compilating. After compiling, instead of running make install, you've to run checkinstall. You can find more info on it's documents.
Another alternative is to install to a specific directory and make a package from the files there using makepkg. This technique is the one used to build Slackware packages. If you browse some Slackware mirror, you can see under the sources/ directory, that every package has a pkgname.SlackBuild file. That SlackBuild is the one in charge of compiling/installing programs to a directory and call makepkg, they're just bash scripts. Take a look at their source to find out how to make yours.

erikash 10-05-2005 04:36 AM

thanks! i've downloaded checkinstall... i'll use it for a while... :D

shilo 10-06-2005 02:48 AM

While your using checkinstall, make sure to follow gbonvehi's advice. Learning to write your own SlackBuild scripts is not only educational, it can also work in cases that checkinstall does not.

One example is FFMpeg. Use checkinstall to install it. Then, check out the package that you just installed (/var/log/packages). Sure, FFMpeg works, but not because of the package that you installed. FFMpeg actually installs most of itself right into your filesystem (not into your package). That means removepkg won't work for you.


All times are GMT -5. The time now is 06:32 AM.