LinuxQuestions.org
Help answer threads with 0 replies.
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 09-21-2008, 03:26 AM   #1
kcynice
Member
 
Registered: Sep 2008
Posts: 121

Rep: Reputation: 21
How to install new software using slapt-get?


I am a beginner of slackware. When i want to install a new software i have to install the installation packages from some webpages such as linuxpackages.net. But i really want to do it much easier than before, so slapt-get should be a perfect choice. Unfortunately, after i installed slapt-get successfully, i used slapt-get --search *** command and got nothing. Of course i can't use slapt-get to install any software. What's the problem and how to fix it?
Thanks
 
Old 09-21-2008, 06:19 AM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
If you want a system with a package manager I would strongly advise you to steer away from slackware. I do however recommend using slackpkg for updates/upgrades to a clean slackware system. Just my thoughts!
 
Old 09-21-2008, 08:01 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
After installing slapt-get, go into the config file (/etc/slapt-get/slapt-getrc) and make sure there is at least one valid entry for a repository. Then run "slapt-get --update" to get the repository database.

If you are trying to install something that is not in the standard Slackware release, then you have to put another repository in slapt-getrc
 
Old 09-21-2008, 08:12 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
What will slapt-get give you that slackpkg won't?
 
Old 09-21-2008, 10:46 AM   #5
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 215

Rep: Reputation: 65
Quote:
Originally Posted by XavierP View Post
What will slapt-get give you that slackpkg won't?
Possibly a broken system.

slackpkg comes on the Slackware DVD (in /extra),
syncs only to an official Slackware mirror,
and can be used to update the latest release to -current
or can keep a Slackware release fully patched.

slapt-get will sync to any Slackware "repo" on the net,
supposedly does dependency resolution
(if the author of the package includes them all),
occasionally misses an official package update
(e.g. the recent links browser update),
and in general has a fair chance of borking your install.

I say use slackpkg to keep you system up to date,
use SlackBuilds for any other package you need,
and resolve dependencies for yourself (you are better at it
than any package manager will ever be).
Besides, It's the "Slackware way".
 
Old 09-21-2008, 11:39 AM   #6
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Rep: Reputation: 32
After reading this thread I think I will start using slackpkg instead of slapt-get.

Besides that, Is there a way to delete uneeded files after upgrading through slackpkg upgrade-all? This if slackpkg leaves residual files after upgrading (I am not sure it does)

Thanks,
Glore2002.-
 
Old 09-21-2008, 11:40 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
Quote:
Originally Posted by wadsworth View Post
Possibly a broken system.

slapt-get will sync to any Slackware "repo" on the net,
I'm a rank novice with Slackware, but I have learned that Slapt-Get syncs ONLY to the repos that you tell it to. If you sync it only to the "official" sources, then how can it hurt you?
 
Old 09-21-2008, 01:21 PM   #8
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 215

Rep: Reputation: 65
Yes, if slapt-get is pointing only to an official Slackware mirror
the only way it can hurt you is by missing updates.
I already provided one example of a security update that slapt-get
doesn't detect.

Slackpkg is designed to sync to an official mirror, and no other.
And it won't miss any upgraded (or downgraded) packages.
 
Old 09-21-2008, 01:27 PM   #9
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
To remove, use slackpkg --remove <packagename> - man slackpkg to get a full list of options. You could also run pkgtool to get a more visual idea of what's on your system and the option to remove packages.
 
Old 09-21-2008, 01:38 PM   #10
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 6,120

Rep: Reputation: 2334Reputation: 2334Reputation: 2334Reputation: 2334Reputation: 2334Reputation: 2334Reputation: 2334Reputation: 2334Reputation: 2334Reputation: 2334Reputation: 2334
I prefer to manually download, install software from the official Slackware site or I use Robby and Eric's build scripts.
 
Old 09-21-2008, 02:11 PM   #11
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 14.2 & -current
Posts: 692

Rep: Reputation: 40
Quote:
Originally Posted by wadsworth View Post
Possibly a broken system.

slackpkg comes on the Slackware DVD (in /extra),
syncs only to an official Slackware mirror,
and can be used to update the latest release to -current
or can keep a Slackware release fully patched.

slapt-get will sync to any Slackware "repo" on the net,
supposedly does dependency resolution
(if the author of the package includes them all),
occasionally misses an official package update
(e.g. the recent links browser update),
and in general has a fair chance of borking your install.

I say use slackpkg to keep you system up to date,
use SlackBuilds for any other package you need,
and resolve dependencies for yourself (you are better at it
than any package manager will ever be).
Besides, It's the "Slackware way".
Agreed.

If you want to install software that isn't available at SlackBuilds.org, Alien Bob's or Robby Workman's sites you can use src2pkg to make a Slackware package.
And of course, there's always LinuxPackages.net and Slacky-eu for ready-to-go-packages (mind you, the quality of the packages is not always as it should/could).
 
Old 09-21-2008, 06:10 PM   #12
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
Quote:
Originally Posted by adriv
And of course, there's always LinuxPackages.net and Slacky-eu for ready-to-go-packages (mind you, the quality of the packages is not always as it should/could).
I find that slacky.eu has pretty good packages and always includes a SlackBuild so you can modify the build options and create your own package. linuxpackages.net *sometimes* has build scripts, but not always -- and the packages are not always of the highest quality. If you use linuxpackages.net, you should stick to packages made by packagers known to make good packages (that's a little tough to identify without experience though).
 
Old 09-21-2008, 07:18 PM   #13
kcynice
Member
 
Registered: Sep 2008
Posts: 121

Original Poster
Rep: Reputation: 21
Yes, i have added a entry to linuxpackages.net. Although it doesn't work with slapt-get command, i think there might be no problem now just because i read all the replies and advise above. I think i will learn to use slackware more deeply although i am a newbie for it. All of your help encourage me to work with much more confidence. In addition, i don't know if someones usually use irc to discuss and get help, i find two usefull irc channel about slackware, they are #slackware in EFnet and #slackware in FreeNode. I think all of us can get what we want quickly there.
Regards.

Last edited by kcynice; 09-21-2008 at 07:18 PM. Reason: add more
 
  


Reply


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
slapt-get --install kernel freakolowsky Slackware 4 09-11-2007 07:45 PM
slapt get install problem itzig Linux - Software 4 01-29-2006 10:46 PM
slapt-get: Can't connect to software.jaos.org hussar Slackware 4 01-26-2006 03:24 PM
slapt-get -install kopete ?? Not working ! ALInux Slackware 5 12-13-2005 06:01 PM
/etc/slapt-getrc modification fails to influence slapt-get timsch75 Slackware 1 04-07-2004 08:48 AM

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

All times are GMT -5. The time now is 07:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration