Note to myself & other newbies resumé for getting package
Posted: 12. Jun 2011, 12:40
Summary of my understanding for getting packages to me & other newbies in none geek speak
On looking for a package first place to try is Gslapt package manager , from menu , system,
Gslapt Package Manager type name of package in search, and hit enter . if its there will show up, left click in square box, to install thats about it. As for as I understand Gslapt points to salix repo.
If the package isn't there e.g “apache tomcat” try sourcery , from menu, system, " sourcery slackbuild manager" (the funny RED HAT icon -thought that was another distro !) again put package name into text box and click magnifying icon. That should install package you want; you may get a glitch if for instance where sourcery is trying to get the package doesn't exit anymore or path to destination has been changed.
This is the current situation for apache tomcat
Another way to get a package is to go to http://www.slackbuild.org and download a compressed slackbuild file, and a source code file. For example on going to http://www.slackbuild.org the source code file for apache-tomcat is apache-tomcat-7.0.11.zip and the source code apache-tomcat.tar.gz
you need to uncompress the apache-tomcat.tar.gz ( an easy way by righ clicking mouse over file and choosing archive manager) on unpacking you get a folder called apache-tomcat. Put the file apache-tomcat-7.0.11.zip as it is into the unpacked apache-tomcat. Then from a terminal cd into apche-tomcat ,su in as root then # ./apache-tomcat.Slackbuild. This should build a package and you will find it somewhere in /tmp
(I found tomcat needs commons daemon, which needs apache-ant )
You can install the package created from a command line using #installpkg nameofpackage.txz
Another way to get a package is if you can get a directory with SLKBUILD, also containing source code, and support files. Here from a terminal cd into directory and run this command : $ fakeroot slkbuld -X
this creates a new package in the folder you just cd's into, which can be installed # installpkg packname.txz , or if you already have an older version of the package installed updated using #upgradepkg --reinstall --install-new package.txz ( see recent post by
djemos for clamav)
On looking for a package first place to try is Gslapt package manager , from menu , system,
Gslapt Package Manager type name of package in search, and hit enter . if its there will show up, left click in square box, to install thats about it. As for as I understand Gslapt points to salix repo.
If the package isn't there e.g “apache tomcat” try sourcery , from menu, system, " sourcery slackbuild manager" (the funny RED HAT icon -thought that was another distro !) again put package name into text box and click magnifying icon. That should install package you want; you may get a glitch if for instance where sourcery is trying to get the package doesn't exit anymore or path to destination has been changed.
This is the current situation for apache tomcat
Another way to get a package is to go to http://www.slackbuild.org and download a compressed slackbuild file, and a source code file. For example on going to http://www.slackbuild.org the source code file for apache-tomcat is apache-tomcat-7.0.11.zip and the source code apache-tomcat.tar.gz
you need to uncompress the apache-tomcat.tar.gz ( an easy way by righ clicking mouse over file and choosing archive manager) on unpacking you get a folder called apache-tomcat. Put the file apache-tomcat-7.0.11.zip as it is into the unpacked apache-tomcat. Then from a terminal cd into apche-tomcat ,su in as root then # ./apache-tomcat.Slackbuild. This should build a package and you will find it somewhere in /tmp
(I found tomcat needs commons daemon, which needs apache-ant )
You can install the package created from a command line using #installpkg nameofpackage.txz
Another way to get a package is if you can get a directory with SLKBUILD, also containing source code, and support files. Here from a terminal cd into directory and run this command : $ fakeroot slkbuld -X
this creates a new package in the folder you just cd's into, which can be installed # installpkg packname.txz , or if you already have an older version of the package installed updated using #upgradepkg --reinstall --install-new package.txz ( see recent post by
djemos for clamav)