Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-25-2013, 06:02 AM   #1
Registered: Oct 2012
Distribution: Slackware 14.0 86x
Posts: 43

Rep: Reputation: Disabled
Packages and distros -- what difference ? (Help Me!! URGENT)

I'm still confused about packages.
When I download for example package which is made for Ubuntu and extract it and manually 'mv' files to correct places e.g. /usr/bin/someprogram, program seems to work just fine.

But what is difference in the end? Is it that different distros might have different folder structures and might have different programs for managing something and around which they are built ?
Programs are same for distor but metadata is different so it can satisfy management programs, slackwares pkgtool needs entries in /var/log/packages so package(s) can be uninstalled in future.

So for example, does slackbuild scripts just extract packages, maybe compile and just put files into slackware like folder structure and create slackware package? (I have read slackbuild script, but didn't understand anything)
Old 06-25-2013, 06:33 AM   #2
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
Slackware packages are ready-to-install (you use the installpkg utility for initial installation and the upgradepkg utility to upgrade a previously-installed package with a newer version).

SlackBuilds are the directions for constructing an installable/upgradeable package from source code. SlackBuilds are executed to perform the entire process (except for the actual install/upgrade which you do when you're ready to).

When you installed Slackware, you were installing packages built with SlackBuilds. When you download and upgrade packages from the patches directory at a Slackware mirror site, you are upgrading packages built with SlackBuilds.

Your distribution media -- CD-ROM/DVD -- has all the source code for every package (plus some extras in the extra directory on the media. If you look in the source tree and look in the directories located there, you'll find a SlackBuild in every directory containing source code (usually, the source is in a .tar.gz archive (or one of the other commonly-used archive/compression utilities).

The distribution, on the other hand, is the entire system that you installed. Slackware is a distribution as are Ubuntu, Debian, etc. Different distribution take different road to get to the same place (an installed working Linux system); Slackware does that with SlackBuilds.

Hope this helps some.

Last edited by tronayne; 06-25-2013 at 06:34 AM.


distro, packages, pkgtool, slackware

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between different Distros? mirchichamu Linux - Newbie 5 08-22-2010 12:49 PM
What's the difference between distros? TUXUK Linux - General 12 03-19-2006 12:38 PM
Various Distros - What is the difference? iOsiris Linux - Distributions 1 09-16-2005 05:21 PM
Difference between these Distros ... Triple5 Linux - Distributions 29 12-12-2004 09:03 PM
What's the difference between these distros? enigma Z Linux - Distributions 14 09-27-2003 06:52 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration