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-01-2005, 11:45 PM   #16
Registered: Jan 2003
Location: Baltimore
Distribution: Slackware,peanut linux
Posts: 30

Rep: Reputation: 15

It looks like no one has given you a clear simple "talk to me like im a 2 year old" answer, so ill give it a try.

There is no good apt like downloader/installer combo for slackware. Things like slapt-get exist but are very....lacking.. and pretty much not worth the time because its easier the other way. Here are your other options:

Method One:
Search for the software you want on and download the .tgz file to your harddrive. The short explanation is that this site hosts pre-compiled software by other slackware users, so you dont have to compile it yourself, which we'll get to next.

After you have downloaded it to your hard drive open up a terminal and "cd" to the directory that you saved the package to. (I like to put all my .tgz files in a single directory /opt/installed packages, but you don't have to do that)

Now on the command line type "installpkg packagename.tgz" this installs the software to your system in its appropriate directories (which can be almost anywhere).

You can now run your software almost always by typing the name of the program or some small variation of it, usually if you type the first 3 letters than hit "tab" it will pop up for you.

To get a list of all the installed packages on your system run "pkgtool", or if you want a nicer looking version install the program Slackins

Method 2: Compiling from source

1. Almost all the software you want on linux gives away its source code. If you go to their site and find the source code you can then save it to your computer, usually as a compressed file.

2. open that compressed file (there are a lot of ways to do this, look it up or ask) and go into the directory.

3. usually in this directory there will be a file called INSTALL or README which will tell you how to install/compile it. if not you are on your own, below i will outline the typical steps you go through for ~75% of the programs you probly want.

4. type "./configure" (sometimes this step is skipped)

5. type "make" this compiles your software

6. The final step is the most important! You can now probably type "make install" but DONT DO THAT. it installs the software all over your system and you usually loose track of what you did, so instead we want to use a utility called checkinstall.

7. if you dont already have checkinstall, (nothing happens when you type checkinstall on the command line) go to linuxpackages and get it.

8. once you have checkinstall installed when you are done running "make" for the package you were doing before type "checkinstall", almost always the default options are fine, just keep hitting enter until checkinstall prompts you to give a description. At this point i just type in the package name and hit enter twice.

9. Once checkinstall is done your software should be installed, and checkinstall automatically registers the package with pkgtool so it is in your installed package list.

to remove packages use pkgtool, slackins, or just removepkg packagename
Old 03-02-2005, 02:53 AM   #17
Glock Shooter
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Rep: Reputation: 30
I would have to agree with tormented_one and android. If there is not an official package, then just compile from source and use checkinstall. Then later you can remove it like a package. Extremely usefull, espicially for things compiled from source that don't have a make uninstall available.

Last edited by Glock Shooter; 03-02-2005 at 02:54 AM.
Old 03-02-2005, 10:25 AM   #18
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel
Posts: 320

Rep: Reputation: 30
i do the same thing.

although, what i would like to know is: is there a way to get at least the LIST of available upgrades of packages installed on the system? guess not...
Old 03-02-2005, 10:39 AM   #19
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
although, what i would like to know is: is there a way to get at least the LIST of available upgrades of packages installed on the system? guess not...
swaret --list -u
Old 03-02-2005, 10:50 AM   #20
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel
Posts: 320

Rep: Reputation: 30
tx i'll guess i need to install swaret... even though it seems that this tool is less nice than the one shipped with slack 10.1, but only very popular...
Old 03-04-2005, 04:38 PM   #21
Senior Member
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,724

Rep: Reputation: 184Reputation: 184
There are quite a few threads on LQ discussing the subject of package management in Slackware and the advantages and disadvantages of tools like slapt-get and swaret. A recent thread that might be of interest for you is this one:

Old 03-04-2005, 08:59 PM   #22
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
Checkinstall is in /extra on the slack tree. Don't use when you can get an offical version. I have to admit that I have tried all three you guys are talking about and a few more. I honestly prefer swaret to any of the others. (When I use auto-updater) The main thing is READ the DOCUMENTATION! You see it all over the forums, Swaret killed my slack........, did you read the docs?....................... no, that is the problem. Also in the -current the udev is messed up, I reinstalled and updated and got some crazy errors due to the udev pkg, so I went to 10.1 and downloaded the udev from there and works like a charm. Also update the configs after using swaret. Easiest way is: find /etc -name *.new Had to add my opinion. Sorry


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
latex2e package unavailable in package manager or apt-get cesine Debian 2 07-11-2006 02:31 PM
Is there any other package manager?? rafias Fedora 7 11-17-2005 03:55 AM
Is there any package manager available? bngrhl Linux - Newbie 8 08-06-2004 08:35 PM
Slack package manager johntramp Slackware 4 05-19-2004 05:42 AM
Package Manager in RH 8 u4113072 Linux - Software 4 10-28-2002 07:33 PM > Forums > Linux Forums > Linux - Distributions > Slackware

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