LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-01-2005, 11:45 PM   #16
android1654
Member
 
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:
1.
Search for the software you want on http://www.linuxpackages.net/ 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.

2.
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)

3.
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).

4.
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.

5.
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
Member
 
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
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
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
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
Quote:
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
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
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
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
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:

http://www.linuxquestions.org/questi...hreadid=294701

gargamel
 
Old 03-04-2005, 08:59 PM   #22
tormented_one
Member
 
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 linuxpackages.net 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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:26 PM.

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