Help answer threads with 0 replies.
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 08-30-2004, 04:44 PM   #1
LQ Newbie
Registered: Jul 2004
Location: Twin Cities, Minnesota
Distribution: Slackware 10.0, SUSE 9.1
Posts: 7

Rep: Reputation: 0
Really bad n00b question... (How do you install software?)

OK, I know this is a dumb question, but I'm used to RPM-Based distros, like Red Hat and Fedora, and now I'm running Slackware 10.0. Can anyone provide a COMPLETE walk-through of how to compile and/or install software, kernel patches, etc.?
Old 08-30-2004, 04:52 PM   #2
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
there is a guide for installing from source here

other options include, slackware pakages, designed to run w/slacks package manager


if you do happen to have the need to install an rpm, you'll need to use


man pkgtool
man rpm2tgz

for more info. hope that helps.
good luck.

<edit>sorry i missed this the first go round, here is a guide to compiling the kernel

and here is a guide to patching a kernel

again, sorry i missed it the first time. good luck.</edit>

Last edited by Peacedog; 08-30-2004 at 05:15 PM.
Old 08-30-2004, 04:54 PM   #3
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
kernel patches i don't know, im afraid to do it lol
but software: for regular tarballs (*.tar.gz) use this method (usually, read the README):

untar using this
$ tar -xzvf packagename.tar.gz
cd to the created directory
$ cd packagename
run the configure and make scripts
$ ./configure
$ make
go to root - you'll have to supply your password
$ su
now that you're root, install the package
# make install
and that's (usually) it
as for slackpacks (*.tgz) use this:
installpkg package.tgz
Old 08-30-2004, 05:09 PM   #4
Registered: May 2003
Location: UK
Distribution: Gentoo
Posts: 141

Rep: Reputation: 15
when running ./configure make sure you use
./configure --prefix=/usr
or installation may end up in wrong place.

Also I reccomend using checkinstall, this enables you to create a slack package and install that rather than using make install (hence making much easier to uninstall).
Old 08-30-2004, 05:19 PM   #5
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
For kernel patches, put the patch into your kernel source directory and then do:

patch -p1 < name_of_patch

and it should apply. Then recompile your kernel.
Old 08-31-2004, 06:36 AM   #6
Registered: Oct 2003
Location: spain
Distribution: fc2, fc3
Posts: 54

Rep: Reputation: 16
I don't recomend to use the configure/make/make isntall method because if you don't keep the build directory you wouldn't be able to uninstall it. That's so bad when upgrading. And you have to solve any dependencies by hand.
I have sometimes found myself dowloading ten differents tar.gz files to install one app.

Use, whenever you can, packaging utils that will keep your system running healthly and you will spend less headaches resolving dependencies and compiling issues by hand (it's called the dependency hell).

I use an apt version for redhat's rpms and it saves me for buying tons of painkillers
Old 08-31-2004, 07:30 AM   #7
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 417Reputation: 417Reputation: 417Reputation: 417Reputation: 417
I don't recomend to use the configure/make/make isntall method because if you don't keep the build directory you wouldn't be able to uninstall it.
This is exactly why geniarse suggested using checkinstall. If you use configure/make/checkinstall, it will create a slackware package (or rpm or debian package) that you can then uninstall with the usual tools. No need to keep the build directory.


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
Install software question hitest Slackware 1 10-02-2005 11:21 PM
n00b question re: install from source as root Ricochet Linux - Newbie 4 01-11-2005 07:38 PM
n00b question - Installing software on a single user/stand alone tehkgi Linux - Software 1 09-30-2004 10:59 PM
newbie software install question jasonmantey Linux - Newbie 4 02-26-2004 08:52 PM
A question with install software ! iamthewind Linux - Software 4 10-23-2003 01:39 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:47 PM.

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