This book aims to provide an introduction to slackware linux. By default, your linux os is set to look at just its. Package utilities the revised slackware book project. Lastly, if you are having trouble locating a slackware package, but have been able to find a equivilent rpm, you can convert that rpm to a slackware package which you can use with the installpkg and removepkg commands.
Slackware linux comes with many precompiled boot disks to use during the installation process. How to install and run slackware make tech easier. Slackware package management is minimalistic and dependencies are not automatically resolved by default. You may also want to buy a printed copy, in that case please visit the slackware store. Great tool for inspecting an rpm package and reading the package documentation before you decide to install the package.
Selecting a boot disk slackware linux comes with many precompiled boot disks to use during the installation process. A slackware package is essentially a compressed tarball of the files associated with an application, a file containing a short description of the application. Slackwares packaging system uses ordinary compressed tar files. Before learning the utilities, you should become familiar with the format of a slackware package. While the above issues may put you off, you should note these clear advantages before giving up. If you want to keeps alien from changing the version number use the following command. Rpmerizor is a 3rd party toolscript that you can install which will repackage source files into a corresponding rpm. Despite slackwares longevity, many application developers dont supply a slackware package. The usage of this script is accessible here, titled. Building your own slackware packages is outside the scope of this chapter.
Nowadays slackpkg comes as part of slackware, but if you do not have it installed, the latest version can be downloaded from and installed with installpkg. Every piece of software included by slackware, along with many thirdparty tools are distributed as source code that can be compiled, but compiling all those thousands of different applications and libraries is tedious and time consuming. Another method which includes all correctly installed packages is as follows. Converts an rpm redhat package manager to a slackware compatible package. In case you ever run across the need to obtain something that is only in rpm format, this program may come in handy. I user slackware, when i download vmware a rpm pakage. Some people were asking us to make small tutorial about how to install slackware. Slackpkg is an automated tool to manage local packages and to install new package over a network. Slackwares package management system, collectively known as pkgtools, can administer pkgtool, install installpkg, upgrade upgradepkg, and remove removepkg packages from local sources. There are three basic ways to install software in slackware. Package management slackware documentation project. Installing new slackware packages should be safe, but remember that slackware doesnt back up your old configu ration files. It addresses people who have little or no gnu linux experience, and covers the slackware linux installation, basic gnulinux commands and the configuration of slackware linux. It can also uncompress explodepkg and create makepkg packages.
The philosophy behind slackware is to keep the system as unixlike as possible. The rpm2tgz program will create a slackware package with a. Like all slackware package management tools, it assumes that you. Uninstall any earlier installations of the java packages. We provide a program that will convert rpm packages to our native. This book contains many real life examples derived from the authors experience as a linux system and network administrator. After alot of googling i found some simple solutions.
A copy of the package will remain in the source directory. In this example, we verify the new package name with the ls command. This will allow you to extract the package perhaps with explodepkg to a temporary directory and examine its contents. The way puppy is designed, if you use a frugal type install, software can be installed as an sfs squash file system package. Slackware package management the revised slackware book project. Some maintainers put notes in the readme file about optional dependencies, available build options, warning about potential conflict with slackware packages, steps to be taken before building the package and after installing the package, and many other things that relates to the script. Rpmerizor is a 3rd party toolscript that you can install which will re package source files into a corresponding rpm. Next, we execute the rpm installation with the following command. Ubuntu software centre shows how easy it is to download and install software in linux. Then we will run an rpm query to see if the package we want to install exists in the rpm database, rpm q package name. This is a book about the red hat package manager, or rpm package manager, known to its friends as simply rpm.
But despite that and because of it, slackware is a superb linux experience. There are many different distributions flavours of linux, as demonstrated in chapter 3. If you need to compile a program from source code, making it into your own package is easy and useful. You want to choose one that best fits your hardware. Slackware has always included a package manager, even before redhat existed. I have successfully installed this package the same exact rpm file on suse. Not all programs comes in debian package format and still that are comes in standard rpm format. Jan 21, 2010 install install a specific package remove remove a package search find keyword in package lists. The official tool to update slackware over a network or the internet is slackpkg.
Then we will run an rpm query to see if the package we want to install exists in the rpm database, rpm q. In addition to debian, a number of other prominent distributions of gnulinux are derived from the debian system, most notably the ubuntu family of distributions. Once you have decided to install slackware, you will want to choose the software sets you want to install. Just like dpkg, it can query, install, verify, upgrade, and remove packages, and is more frequently used by fedorabased distributions, such as rhel and centos. Nov 15, 20 some people were asking us to make small tutorial about how to install slackware. Slackware package manager how to install applications. Packages are built to be extracted in the root directory. When installing rpm packages on slackware, you may need to use the nodeps and force options. The official guide to slackware linux, the slackware linux essentials, has been recently revised.
Many times i have needed a tgz package for my slackware server only. Some of us, however, install additional programs from a number of sources eg. Rpmerizor is a script that allows you to create an rpm package from installed files. List of slackwarerelated external links mentioned in the article. It includes databases in varlib rpm and the rpm commandline interface. Package management is an essential part of any linux distribution. The history of rpm is inextricably linked to the history of gnulinux, so a bit of gnulinux history may be in order. Installing software slackware documentation project. Many times i have needed a tgz package for my slackware server only to find that it is only available in. Pretty much all linux distributions use rpm for package management, except for debian and its derivatives like ubuntu, plus slackware, where you use tar and take very notes. It is not too easy to maintain, specially because most linux users now a day me included are accustomed to package manager tools that take care of dependency resolution. Theres not a lot of automatic configuration and you wont find many. Puppy also has the capability of installing deb, rpm and tgztxz packages from debian family, red hat family and slackware family of linux operating systems.
The debapt system is very popular, and is found on many systems other than debian, including ubuntu, linux mint and more. Slackpkg is a good package manager for slackware that help the user to keep updated its installation. Slackbuilds, which are not taken into account by slackpkg. The only difference to other distro is that slackware is installed in text mode. Alien is a program that converts between the rpm, dpkg, stampede slp, and slackware tgz file formats.
The two commands yum found on most rpmbased distributions and urpmi found on mageia and other mandrake derivatives are highlevel wrappers around rpm, giving it the. If you have an rpm file for a package you wish to install, and if you cannot find a. Mar 27, 2017 demonstration of the package source, package selection method, and package installation steps in the slackware linux installer. Installing programs from source code linux cookbook book. Manually building and installing packages from source is apparently so daunting a task for some linux users that they have embraced the popular rpm and deb or the newer stampede slp package formats. Log in as root, or use the su command to change to the root user at the workstation on which you want to install the software. Jun 01, 2018 the debian package management system, based on a tool called dpkg with the very popular apt system, is a powerful, popular, and useful method of package management. While it may be the case that an rpm install normally runs as smoothly and as fast as a software install in a certain other. In that case you have two options, either build the application from source or use its rpm package if its available.
While not as fullfeatured or as ubiquitous as rpm or for that matter deb, pkgtool and its associated programs are every bit as good at installing packages as rpm. Installing using an rpm file september 23, 2005 posted by carthik in administration, applications, ubuntu. Slackware checks for shared files before deleting a package to avoid breaking anothers, but once you start installing rpm pack ages slackware has no knowledge of the files they use. Rpm files contain information on the packages name, version, other file dependency information if applicable, platform such as intel or alpha, etc. Slackware is a registered trademark of slackware linux, inc.
A former coworker once told me if you want to learn debian, install debian. While these methods will convert the data as you need, be aware that the packages have been built for an alternative distribution and may not work as expected. Each distribution of linux handles the installation of software slightly differently, however, they all use one of three main packaging types, so they rarely vary in drastic ways. In slackware, a package is simply a tar archive file that has been compressed with gzip. It might be a better idea to see if there is a slackbuild at sbo for the program you want to install, that way you could build a native slackware package. Installing programs from source code linux cookbook. In its simplest form, installpkg simply takes a list of packages to install. It is important to read the readme before building any script. The debian package management system is a very well made software packaging model. How to build an rpm package from the installed files. The easiest solution i found is to first install the deb2tgz utility which.
Security advisories faq book general info get slack install help. Describes the license terms under which slackware linux and this book can be. Use rpm in linux to install software knowledge base. The system allows you to keep track of the packages you install, making it easy to upgrade or. Demonstration of the package source, package selection method, and package installation steps in the slackware linux installer. For example, epel serves red hat enterprise linux and centos, rpmfusion serves fedora, ubuntu has various levels of support as well as a personal package archive ppa network, packman provides extra software for opensuse, and provides community build scripts for slackware. How to install uninstall program in linux using package managers apt, dpkg, yum, rpm duration. Installing new software debian, red hat, slackware. Slackware comes with a handy utility called oddly enough rpm2tgz. Linux package management with yum, rpm, apt, dpkg, aptitude. October 19, 2010 slackware is the oldest linux still being maintained, it is light, simple, and stable. Jan 16, 2016 in ubuntu linux, installation of software can be done on using ubuntu software center or synaptic package manager or aptget command line mode.
If you want to be able to read it online, you may want to visit the slackbook website. This package includes the utillinux package from ftp. The rpm utility was first developed by red hat and provided as an open source product as is common in the linux community. This circumvents the need to create your own slackware package but grants you the benefit of being able to remove. If would you like to install the rpm on ubuntu linux, you need alien program. Before installing any binary package, its wise to examine it to. To make use of an rpm package it has to be first converted into slackwares package format. Converts an rpm redhat package manager to a slackwarecompatible package. Extract a single file with path from the rpm package to the local directory. If you run into any trouble, check out the revised slackware book project.
1385 1455 946 19 1389 416 1432 262 1517 81 847 459 734 126 197 633 460 1016 1368 546 1493 1160 1301 638 971 573 53 1395 39 1393 207 1476 152