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 02-28-2005, 05:43 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Slack have a package manager?


Since I have installed Slack, I have been using everything I installed Slack with but I was wondering if Slack has something I can use to install packages with like YUM or APT-GET?

Thanks for any info.
 
Old 02-28-2005, 05:55 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Yes, pkgtool, installpkg, removepkg and upgradepkg. You can read the man pages for them if you want to. Pkgtool is a text-mode app to handle packages while the others are just to use in the command-line.

If you want a tool to upgrade packages you've slackpkg, slapt-get, swaret and others.

By the way, all the packages information are available on /var/log/packages.
 
Old 02-28-2005, 06:01 PM   #3
cavalier
Member
 
Registered: Feb 2005
Location: Denver, CO
Distribution: Slack 12, tweaked just so (though I'm also a fan of Ubuntu)
Posts: 198
Blog Entries: 1

Rep: Reputation: 30
I was about to say all the same things that gbonvehi did, but let me just add that if you do decide to use the Holy Trinity of installpkg, upgradepkg and removepkg, linuxpackages.net will be your very best friend.
 
Old 02-28-2005, 07:38 PM   #4
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
I don't understand...

Lets say I wanted to install the Firefox browser on Slack10.1, what would be the command from the terminal window?

I know is Debian, I would just say:
Code:
apt-get install firefox
 
Old 02-28-2005, 08:13 PM   #5
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
It would consist of a rsync or wget from the server of your choice. Then installpkg/upgradepkg the package of choice. I use swaret or rsync to update my slackboxes. I usually compile firefox and most of the other software I install. So I can't say anything for slap-get.
 
Old 02-28-2005, 08:32 PM   #6
cavalier
Member
 
Registered: Feb 2005
Location: Denver, CO
Distribution: Slack 12, tweaked just so (though I'm also a fan of Ubuntu)
Posts: 198
Blog Entries: 1

Rep: Reputation: 30
Quote:
Originally posted by carlwill
I don't understand...

Lets say I wanted to install the Firefox browser on Slack10.1, what would be the command from the terminal window?

I know is Debian, I would just say:
Code:
apt-get install firefox
I imagine it's possible to do this with a single command in Debian, but how I did it was to download the package from linuxpackages.net, and then install it from the command line using the command
Code:
installpkg mozillafirefox-x.x-ixxx.tgz
Where the "x.x" and "ixxx" are replaced by the correct filename based on what you download.
 
Old 02-28-2005, 10:36 PM   #7
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
So I don't need to install this utilty, right? I already have this running in Slack10.1 and just need to download the file and give that command?
 
Old 02-28-2005, 10:38 PM   #8
cavalier
Member
 
Registered: Feb 2005
Location: Denver, CO
Distribution: Slack 12, tweaked just so (though I'm also a fan of Ubuntu)
Posts: 198
Blog Entries: 1

Rep: Reputation: 30
Quote:
Originally posted by carlwill
So I don't need to install this utilty, right? I already have this running in Slack10.1 and just need to download the file and give that command?
The installpkg program? Yes, it's a required package installed in Slackware. You should have all of the necessary package tools installed by default.
 
Old 02-28-2005, 10:53 PM   #9
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
Quote:
Lets say I wanted to install the Firefox browser on Slack10.1, what would be the command from the terminal window?
download firefox from mozilla.org
extract
run firefox-installer script
 
Old 03-01-2005, 12:00 AM   #10
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
^
Your missing the context of my question. I know how to download Firefox and install using the installer but I am asking about package manager in Slack.
 
Old 03-01-2005, 12:07 AM   #11
Smokey
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 313

Rep: Reputation: 30
no, slackware does not act similiar to debian's apt-get. pkgtool, slackware's package manager does not download anything from the internet.

You do that manually or via a script like slackpkg, and it only downloads things that can be found on any of the slackware mirrors.

Slackware does not download 3rd party programs. Firefox is considered third party because it does not come with a base installation of Slackware.

There are many slackware packages on linuxpackages.net for various software, including firefox.
 
Old 03-01-2005, 12:18 AM   #12
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
my point:
1) check for an official slackware package
2) check for an official release from developer
3) compile your own from source
4) as a last resort...use a third-party package

but yes...that context with a different example the commands would be:
$installpkg <package name>
$removepkg <package name>
$upgradepkg <package name>
or
$pkgtool

or for swaret:
$swaret --update
$swaret --install
$swaret --remove
$swaret --upgrade
 
Old 03-01-2005, 12:47 AM   #13
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
There are third party tools that are similar to what you want. There is swaret and slapt-get. I have only ever used swaret and it works fine for me. If you end up using swaret make sure that you read the documentation and understand what you are doing.
 
Old 03-01-2005, 05:19 AM   #14
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Something you should also know:
installpkg, upgradepkg, and removepkg do not do dependency resolution. They simply install. It's simpler that way.
 
Old 03-01-2005, 03:23 PM   #15
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
I find myself downloading sources and compiling myself, then using checkinstall to make the package and install it. I keep my custom optimized packages so if I reinstall I have the *custom* package I made. Comes in real handy when enabling compositor in xfce. No more spending a day compiling all of xfce or KDE, it helps me do it once and have a package to install in the future.
 
  


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
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 12:15 AM.

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