Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-11-2004, 05:05 AM   #1
Registered: Jan 2004
Location: California
Distribution: Slackware 10.1
Posts: 190

Rep: Reputation: 30
Installing software

Where does everybody install their software? /bin, /usr/bin, etc... What kind of software do you put where? And do you keep the source?
Old 03-11-2004, 05:12 AM   #2
Registered: Aug 2003
Distribution: Slackware, Evil Entity
Posts: 63

Rep: Reputation: 15
software that is install via installpkg ot pkgtool is installed into /usr/bin /bin and /opt

software that is compiled from source code should normally be placed in /usr/local/bin or /opt

personally i have created a folder /build where i keep downloads and the source code when i am building packages from source.

this way i can just go in /build and delete the things that did not compile or a dont need to keep every so oftern so that my system does not get filled up with junk.
Old 03-11-2004, 07:44 AM   #3
LQ Newbie
Registered: Mar 2004
Location: Canada
Distribution: SLACKWARE LINUX - Since 1993
Posts: 15

Rep: Reputation: 0

It depends on how you install your software. As stated below, you can use "installpkg" to install a slackware specefic filename.tgz file and files will go in different places. Configuration files may end up in /etc/ and binaries usually are in /bin/ /sbin/ /usr/bin/ /usr/sbin /usr/local/bin /usr/local/sbin/ all depends on the software really.

If you compile from source (the best way to install software IMO) then
I like to place all my installed software in /usr/,

read up on installpkg man page to learn how to pass some arguments to installpkg to allow it to show you where the files would be installed. Kind of like a test, it does not run the installation, but tells you what will go where.

also read up on linux partitioning and how it works, and how you should
lay out your system (/usr for software, /boot for kernel, /var for email and logging, /tmp for temporary files, /home for user home directores ) etc.

I like to keep the sources because if you need to recomplie your software to add a new feature, the source is already there and you dont have to go and download it again.
Old 03-12-2004, 01:16 AM   #4
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
You may also be interested in checkinstall. It replaces the 'make install' step when installing from source and creates a Slack (or Redhat or Debian) package, which makes it really easy to uninstall. This is a lot more reliable than most 'make uninstall' procedures and allows you to delete the build directory.

You can also find checkinstall on the Slackware site, but I don't recall where they put it. Search around, it's definitely a worthwhile utility.

--- Cerbere


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
installing software ceborame Linux - Newbie 3 08-07-2005 02:00 PM
Installing software NomadABC Linux - Software 5 12-24-2004 02:14 PM
installing software spiky001 Linux - Software 5 09-11-2004 09:58 PM
Question on installing software and starting software rootlinux Linux - Newbie 5 01-19-2002 11:40 AM
Installing software Darki Linux - Newbie 3 12-16-2001 06:33 PM

All times are GMT -5. The time now is 10:50 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