[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
slackware:faq [2012/09/01 04:11 (UTC)] – Who are the people behind Slackware vharishankarslackware:faq [2017/08/13 14:30 (UTC)] – Can Slackware be recompiled from scratch? alienbob
Line 7: Line 7:
  
 If the answer is too long to fit comfortably into two or three paragraphs, consider adding a link in the answer to an existing page that answers the question or create a new page if one doesn't exist on the topic and the question is important enough to justify a page. If the answer is too long to fit comfortably into two or three paragraphs, consider adding a link in the answer to an existing page that answers the question or create a new page if one doesn't exist on the topic and the question is important enough to justify a page.
 +
  
 ===== General Slackware ===== ===== General Slackware =====
Line 20: Line 21:
 ==== Can I buy copies of Slackware Linux? ==== ==== Can I buy copies of Slackware Linux? ====
  
-Absolutely, just go here [[http://store.slackware.com/cgi-bin/store]]+Absolutely, just go to the [[http://store.slackware.com/cgi-bin/store|Slackware Store]].
  
 ==== Can I buy Slackware gear? ==== ==== Can I buy Slackware gear? ====
  
-You bet, just go here [[http://store.slackware.com/cgi-bin/store]]+You bet, just go to the [[http://store.slackware.com/cgi-bin/store|Slackware Store]].
  
 ==== Why spend money if I can download Slackware Linux for free? ==== ==== Why spend money if I can download Slackware Linux for free? ====
Line 32: Line 33:
 ==== Who are the people behind Slackware Linux? ==== ==== Who are the people behind Slackware Linux? ====
  
-Patrick Volkerding is the founder and chief maintainer of Slackware Linux. He is also know informally as BDFL (Benevolent Dictator for Life). Several active contributors also help Patrick maintain the distribution. +Patrick Volkerding is the founder, project co-ordinator and chief maintainer of Slackware Linux. He is also known as BDFL (Benevolent Dictator for Life). Several active contributors also help Patrick maintain the distribution. 
  
-LinuxQuestions.org did an [[http://www.linuxquestions.org/questions/interviews-28/interview-with-patrick-volkerding-of-slackware-949029/|interview with Patrick Volkerding]] recently. That interview covers a lot of ground, including mentions of past and present contributors, their involvement, and a brief history of Slackware Linux. +LinuxQuestions.org did an [[http://www.linuxquestions.org/questions/interviews-28/interview-with-patrick-volkerding-of-slackware-949029/|interview with Patrick Volkerding]] recently. That interview covers a lot of ground, including mentions of past and present contributors, their involvement, and a brief history of Slackware Linux. 
-==== What are the different versions? ====+
  
-Slackware basically comes in two flavorsstable and current+Present contributors include [[wiki:user:alienbob|Eric Hameleers]] (aka AlienBOB), Robby Workman (aka rworkman), Stuart Winter (aka MoZes), Eric Jan Tromp (aka alphageek), Alan Hicks, Mark Post, Fred Emmott, Vincent Batts, Heinz Wiesinger (aka pprkut) and several more.
  
-Stable versions are numbered releases (12, 12.1, 13, etc.) and are supported for a number of years after release, by way of security updates. The "current" branch is a "rolling" system with relatively frequent and potentially disruptive updates to the system. New users and users looking for a stable system for production use should //always// use a (fairly recent) stable release.+==== What is this talk about stable and current versions? ====
  
-  * Stable is built on rock-solid components, with well tested software. This recommended version will fit your desktop or server needs. +Slackware basically comes in two flavors: stable and "current"
-  * Current is the testing ground for the upcoming release. The software you will find there will often be [[wp>Upstream_%28software_development%29|upstream]]'s latest version. For more information on current, please visit the [[slackware:current|dedicated page]].+ 
 +Stable versions are the numbered releases (12, 12.1, 13, 13.37, 14.0, 14.1 etc.). They are supported for a number of years after release, by way of security updates. Security updates are added to the the "''/patches/packages/''" subdirectory of a Slackware release tree on every public mirror. Functional updates are not added to past releases. 
 + 
 +The "current" branch on the other hand, is a //development tree// which is always split-off from a recently released stable Slackware directory tree. Usually this split-off happens some weeks after the stable release. \\ It marks the start of a new development cycle towards the //next// stable release. At the end of a development cycle, a Slackware release is created by renaming the top-level "//slackware-current//" directory to "//slackware-NEWVERSION//". Slackware-current is known to cause relatively frequent and potentially disruptive updates to the system. New users and users looking for a stable system for production use should //always// use a (fairly recent) stable release. The Slackware developers assume that anyone running slackware-current realizes that he/she is in essence, //a beta tester//. 
 + 
 +To sum it up: 
 + 
 +  //Stable// is built on rock-solid components, with well tested software. This recommended version will fit your desktop or server needs. 
 +  * //Current// is the testing ground for the upcoming release. The software you will find there will often be [[wp>Upstream_%28software_development%29|upstream]]'s latest version. For more information on current, please visit the [[slackware:current|dedicated page]]
 + 
 +If you want to know when the next version will be released (at time of writing the most recent stable release is 14.1), it will be ready... when it's ready! There are no fixed release dates, as the Slackware goal is to deliver the most stable Linux experience. 
 + 
 + 
 +==== Can Slackware be recompiled from scratch? ==== 
 + 
 +Short answer: no.\\ Several other distros (including [[http://www.linuxfromscratch.org/|Linux From Scratch]]) are capable of being rebuilt from scratch using the publicly available sources and scripts. Fedora habitually recompiles itself completely from time to time. Slackware is //not// like those other distros: there is no "master build script". The Slackware distribution grows and evolves "organically" and the utmost care is taken that all software in the distro is in working condition. Slackware does not need "rebuild from scratch" in order to achieve that goal. To the contrary: recompiling an older package may introduce new bugs or incompatibilities when the recompiled package picks up undesired new dependencies and/or functionality. 
 + 
 +That does not make Slackware a "binary distribution", not does this philosophy violate any license. In order to comply with Open Source licenses such as the GPL (and also because, why not?), Slackware makes the complete source code and build scripts available for all the packages that are part of the distro. You will find these sources in the ''./source'', ''./extra/source'', ''./pasture/source'' and ''./patches/source'' subdirectories of any release. These sources and scripts are exactly what was used to build the accompanying package at the time of its release - no more and no less. 
 + 
 +Note: It is essential that you understand these sources and scripts have produced a package using the system libraries available at the time of its creation. Over time, with all the library updates and introduction of new packages, the source code of any package may lose the capability of being re-compiled into that same package successfully. But that is perfectly normal: a Slackware package will //never// be recompiled unless its binaries stop working (due to dynamic library conflicts for instance) or because that package is upgraded to a new version. Only then, the sources and scripts for any package are re-evaluated. If patches are required at this time - to make the sources compile successfully or to make the resulting binaries work correctly - then patches will be added.
  
-If you want to know when the next version will be released (at time of writing the most recent stable release is 13.37), it will be ready... when it will be ready! There are no fixed release dates, as the Slackware goal is to deliver the most stable Linux experience. 
  
 ===== Installation and Support ===== ===== Installation and Support =====
Line 63: Line 81:
 </code> </code>
 This message (''gpg: Good signature'') means that the ISO file is the same file which was cryptographically signed by Patrick Volkerding. This message (''gpg: Good signature'') means that the ISO file is the same file which was cryptographically signed by Patrick Volkerding.
 +
  
 ==== How do I install Slackware Linux? ==== ==== How do I install Slackware Linux? ====
  
 Read the [[slackware:install|installation guide]]. Read the [[slackware:install|installation guide]].
 +
 +==== During network installation I only see the "A" package series ====
 +
 +You are attempting an installation of Slackware from a HTTP or FTP server. After entering the server's hostname and the Slackware package directory, you see the usual messages like "''INITIALIZING PACKAGE TREE''", but then during the "''PACKAGE SERIES SELECTION''", you can only select "''A - BASE LINUX SYSTEM''". Where are all the other package series?
 +
 +You will experience this scenario when you are using a **32-bit** bootable installer image to install a **64-bit** Slackware from a webserver, or //vice versa// ((the other way round)): you attempt an installation of **32-bit** Slackware using a **64-bit** installation image.
 +
 +Solution: use the same architecture for the installer image and for the architecture of the Slackware release that you want to install from a webserver.
 +
 +==== The package installation took 3 seconds and now what? ====
 +
 +Installing more than 1000 packages should take between 10 and 45 minutes, depending on the computer you are installing them on. If the installer claims it is finished after only a few seconds, that means it did in fact not install anything at all. So what happened here? \\ This kind of issue occurs when you are not installing from the DVD or CD you booted from, but selected one of the alternative installation methods: a pre-mounted directory, or a loop-mounted ISO, //etcetera//. In all those cases, you have to enter a directory path to the location where the subdirectories representing the Slackware package sets can be found (the 'a', 'ap', 'd', ..., 'y' directories). \\ If you enter the wrong directory there, then the installer will not complain about your error. It will pretend that it installs packages when in fact it is not. Look at this message closely: \\ {{ :slackware:inshd.png |}}
  
 ==== How do I upgrade an existing Slackware Linux installation without re-installing? ==== ==== How do I upgrade an existing Slackware Linux installation without re-installing? ====
Line 75: Line 106:
  
 If you wish to perform a major upgrade from an earlier release to the latest stable version, you should read and follow the instructions in ''UPGRADE.TXT'' and ''CHANGES_AND_HINTS.TXT'' files provided in the official Slackware CD/DVD or internet mirror for the appropriate version (that is, the latest version). If you wish to perform a major upgrade from an earlier release to the latest stable version, you should read and follow the instructions in ''UPGRADE.TXT'' and ''CHANGES_AND_HINTS.TXT'' files provided in the official Slackware CD/DVD or internet mirror for the appropriate version (that is, the latest version).
-<note important>Before upgrading the system, it is recommended that you always take a complete backup of your data.</note>+<note important>Before upgrading the system, it is recommended that you always make a complete backup of your data.</note>
 ==== Where do I get more information on Slackware Linux online? ==== ==== Where do I get more information on Slackware Linux online? ====
  
Line 102: Line 133:
   * For webcams, and USB video class devices, [[http://www.ideasonboard.org/uvc/|Linux UVC drivers & tools]] can help.   * For webcams, and USB video class devices, [[http://www.ideasonboard.org/uvc/|Linux UVC drivers & tools]] can help.
   * Linux supports several models of Wacom pen tablets and devices. See the [[http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Main_Page|linuxwacom]] project for more information. Many non-wacom tablets are supported by the [[https://launchpad.net/wizardpen|Wizardpen]] driver.   * Linux supports several models of Wacom pen tablets and devices. See the [[http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Main_Page|linuxwacom]] project for more information. Many non-wacom tablets are supported by the [[https://launchpad.net/wizardpen|Wizardpen]] driver.
 +
  
 ===== Software and Package Management ===== ===== Software and Package Management =====
Line 107: Line 139:
 ==== How do I install/upgrade/remove software in Slackware Linux? ==== ==== How do I install/upgrade/remove software in Slackware Linux? ====
  
-Slackware Linux comes with its own package management tools, namely ''pkgtool'', ''installpkg'', ''upgradepkg'' and ''removepkg'' for installing, upgrading and removing software packages. ''makepkg'' can be used to create packages. See also [[slackware:slackpkg]] and the page on [[howtos:how_to_use_slackware_installing_software|installing software]].+Slackware Linux comes with its own package management tools, namely ''pkgtool'', ''installpkg'', ''upgradepkg'' and ''removepkg'' for installing, upgrading and removing software packages. ''makepkg'' can be used to create packages. See also [[slackware:slackpkg]] and the page on [[howtos:slackware_admin:how_to_use_slackware_installing_software|installing software]].
 ==== Why doesn't Slackware Linux have my favourite "XYZ" software included in the CD/DVD? ==== ==== Why doesn't Slackware Linux have my favourite "XYZ" software included in the CD/DVD? ====
  
Line 114: Line 146:
 Other sources for obtaining software not found in the Slackware CD/DVD (both in source and binary form):  <note warning>Note that the licensing of some software may only permit redistribution in source form. Please do not redistribute or make available online any binary packages of software you compile from source unless you are sure the license permits it. Also avoid packaging and redistributing proprietary software without the creator's permission.</note> Other sources for obtaining software not found in the Slackware CD/DVD (both in source and binary form):  <note warning>Note that the licensing of some software may only permit redistribution in source form. Please do not redistribute or make available online any binary packages of software you compile from source unless you are sure the license permits it. Also avoid packaging and redistributing proprietary software without the creator's permission.</note>
  
-  * There are quite a few trusted and well-respected individual Slackware contributors who make their SlackBuild scripts and binary packages available online. One source is http://slackware.com/~alien/ and another is http://rlworkman.net/pkgs/ +  * There are quite a few trusted and well-respected individual Slackware contributors who make their SlackBuild scripts and binary packages available online. One source is [[http://slackware.com/~alien/|AlienBOB's repository]] and another is [[http://rlworkman.net/pkgs/|Robby Workman's packages]]. 
-  * http://www.slackbuilds.org/ is a community source of high quality and tested build scripts that make it easy to install third-party software on Slackware, and sbopkg, from http://www.sbopkg.org, makes processing SlackBuilds easier.  +  * [[http://www.slackbuilds.org/|SlackBuilds.org]] is a community source of high quality and tested build scripts that make it easy to install third-party software on Slackware, and [[http://www.sbopkg.org|sbopkg]], makes processing SlackBuilds easier.  
-  * Another option is to use binary packages from http://slacky.eu or other binary Slackware package sources. Note that packages are contributed by the community and the quality of packaging may vary from person to person. +  * Another option is to use binary packages from [[http://slacky.eu|Slacky.eu]] or other binary Slackware package sources. Note that packages are contributed by the community and the quality of packaging may vary from person to person. 
   * Still another option is to convert rpm packages to Slackware packages by using the tool [[slackware:rpm2tgz|rpm2tgz]].    * Still another option is to convert rpm packages to Slackware packages by using the tool [[slackware:rpm2tgz|rpm2tgz]]. 
-  * src2pkg, from http://distro.ibiblio.org/amigolinux/download/src2pkg/can be used to build packages from source, and to convert other package formats (.deb, .rpm) to Slackware packages. The [[http://software.jaos.org/#cpan2tgz|cpan2tgz]] program is able to build Perl modules into packages.+  * [[http://distro.ibiblio.org/amigolinux/download/src2pkg/|src2pkg]] can be used to build packages from source, and to convert other package formats (.deb, .rpm) to Slackware packages. The [[http://software.jaos.org/#cpan2tgz|cpan2tgz]] program is able to build Perl modules into packages.
   * Last but not the least, intermediate to advanced users generally prefer to compile from upstream sources or write their own [[slackware:SlackBuild_scripts|SlackBuild scripts]].   * Last but not the least, intermediate to advanced users generally prefer to compile from upstream sources or write their own [[slackware:SlackBuild_scripts|SlackBuild scripts]].
  
Line 127: Line 159:
   * Automatic dependency handling requires constant manual developer maintenance, and adds potential for dependency hell.   * Automatic dependency handling requires constant manual developer maintenance, and adds potential for dependency hell.
   * The official Slackware Linux distribution is anyway meant to act as a cohesive whole. Hence, dependency management is largely moot as installing the entire distribution (the recommended way) takes care of most dependency problems.   * The official Slackware Linux distribution is anyway meant to act as a cohesive whole. Hence, dependency management is largely moot as installing the entire distribution (the recommended way) takes care of most dependency problems.
-  * A significant number of Open Source software can be compiled with different dependencies based on compile-time configuration switches. This makes dependency handling harder and more error-prone for binary redistribution of third party software.   +  * Several popular Open Source applications can be compiled with different dependencies based on compile-time configuration switches. This makes dependency handling harder and more error-prone for binary redistribution of third party software.   
   * Slackware Linux official distribution does not have the resources or manpower to manage dependency handling for third party software, which is a complex undertaking, requiring a lot of testing and is prone to errors as already noted above.   * Slackware Linux official distribution does not have the resources or manpower to manage dependency handling for third party software, which is a complex undertaking, requiring a lot of testing and is prone to errors as already noted above.
  
-However, there are still solutions for third-party software automatic dependency handling for those who want it. [[slackware:slapt-get|slapt-get]] is a package manager that adds dependency handling for third party package sources like http://www.linuxpackages.net and http://www.slacky.eu. +However, there are still solutions for third-party software automatic dependency handling for those who want it. [[slackware:slapt-get|slapt-get]] is a package manager that adds dependency handling for third party package sources like [[http://www.linuxpackages.net|LinuxPackages.net]] and [[http://www.slacky.eu|Slacky.eu]]
  
-Salix OS is a Slackware derived distribution that incorporates dependency handling. Website can be found here: http://www.salixos.org/+[[http://www.salixos.org/|Salix OS]] is a Slackware derived distribution that incorporates dependency handling.
  
 ==== Distro X and Y does package management with dependency handling and... ==== ==== Distro X and Y does package management with dependency handling and... ====
Line 139: Line 171:
  
 Some may call it a bug, others may call it a feature. Be it so, Slackware remains committed to its core principles and this issue is one aspect of its core principles. Some may call it a bug, others may call it a feature. Be it so, Slackware remains committed to its core principles and this issue is one aspect of its core principles.
 +
 +
 ===== Miscellaneous ===== ===== Miscellaneous =====
  
Line 157: Line 191:
 {{ :slackware:servises-2.png?nolink |}} {{ :slackware:servises-2.png?nolink |}}
 Finally, select ''Exit'' end press ''Enter''. Finally, select ''Exit'' end press ''Enter''.
 +
 +Additionally, if you use LILO, Slackware's default boot loader, you can add the ''compact'' option to ''/etc/lilo.conf'' to speed up the boot process by merging read requests from adjacent sectors:
 +
 +<code># LILO configuration file
 +# generated by 'liloconfig'
 +#
 +# Start LILO global section
 +# Append any additional kernel parameters:
 +append=" vt.default_utf8=1"
 +boot = /dev/sda
 +compact</code>
  
 Also, Slackware runs a bunch of X/GTK related scripts at startup for multiuser runlevels (''fc-cache'', ''update-mime-database'', ''gtk-update-icon-cache'', ''update-gtk-immodules'', ''update-gdk-pixbuf-loaders'' , ''update-pango-querymodules'' etc.). These may be disabled manually by commenting out those lines which refer to them in the file ''/etc/rc.M'' but don't disable anything unless you're absolutely sure you know what you are doing! These scripts are essential for GTK applications to render fonts and icons properly. Also, Slackware runs a bunch of X/GTK related scripts at startup for multiuser runlevels (''fc-cache'', ''update-mime-database'', ''gtk-update-icon-cache'', ''update-gtk-immodules'', ''update-gdk-pixbuf-loaders'' , ''update-pango-querymodules'' etc.). These may be disabled manually by commenting out those lines which refer to them in the file ''/etc/rc.M'' but don't disable anything unless you're absolutely sure you know what you are doing! These scripts are essential for GTK applications to render fonts and icons properly.
 <note warning>Unless you are a fairly advanced user and know what you are doing, do not attempt to modify or disable any of the boot scripts. Does a few extra seconds gained while booting really make a big difference?</note> <note warning>Unless you are a fairly advanced user and know what you are doing, do not attempt to modify or disable any of the boot scripts. Does a few extra seconds gained while booting really make a big difference?</note>
 +
 ==== Slackware Linux has a reputation for being tough for newbies. Is this true? ==== ==== Slackware Linux has a reputation for being tough for newbies. Is this true? ====
  
Line 167: Line 213:
  
   * Slackware has a text-menu based (ncurses) installer and requires several technical decisions to be made at install-time, some of which can be potentially destructive to the data on the hard disk. In other words, when in doubt, don't perform any potentially destructive actions and //do// consult the help documentation.   * Slackware has a text-menu based (ncurses) installer and requires several technical decisions to be made at install-time, some of which can be potentially destructive to the data on the hard disk. In other words, when in doubt, don't perform any potentially destructive actions and //do// consult the help documentation.
-  * A new Slackware installation initially boots into a text console by default and can be configured to boot into a GUI later, as opposed to desktop-based distributions that boot into a GUI login screen by default.+  * A new Slackware installation initially boots into a text console by default and can be [[http://docs.slackware.com/slackware:install?&#configuring_graphical_logins|configured to boot into a GUI]] later, as opposed to desktop-based distributions that boot into a GUI login screen by default.
   * Basic knowledge of standard shell (bash) commands and a text-mode editor such as vim is necessary to start using Slackware comfortably.   * Basic knowledge of standard shell (bash) commands and a text-mode editor such as vim is necessary to start using Slackware comfortably.
   * Some knowledge of the locations of commonly used configuration files and scripts found in *nix-like systems would make things much more comfortable.   * Some knowledge of the locations of commonly used configuration files and scripts found in *nix-like systems would make things much more comfortable.
 slackware:faq ()