SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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?
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.
Last edited by KingOfDreams; 10-05-2005 at 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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.