LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-15-2018, 09:49 PM   #1
globetrotterdk
Member
 
Registered: Nov 2006
Posts: 205

Rep: Reputation: 14
Slackware newbie - where are all of the install packages? Basic install and upgrade concepts lacking.


I have a new Slackware64 14.2 vanilla install on a laptop. I am confused about basic install and upgrade concepts for Slackware. After having read a number of SlackDocs and searched around, I still don't understand what the normal way is to get more programs on a Slackware install. Does everything have to be compiled?

Last time I tried Slackware, I used a third party package manager with dependency control. That was basically an experience like working with Debian or Ubuntu. This time, I am trying to do things the Slackware way. As I understand it there are three basic ways to install programs on Slackware: installpkg, slackpkg and sbopkg, or alternatively run scripts manually. installpkg and sbopkg have very clear roles, however slackpkg, is more unclear to me. Programs or environments like Java, LibreOffice, microcode-intel, pepperflash-plugin, SimpleNote, etc. seem either to be only in sbopkg or not exist. slackpkg doesn't appear to be very useful at all.

Likewise, there appear to be four basic commands when upgrading:
Code:
# slackpkg upgrade slackpkg
# slackpkg install-new
# slackpkg upgrade-all
# slackpkg clean-system
but these appear to be reserved mainly for upgrading from one version of Slackware to another, while it is recommended to install the new version directly rather than upgrade???

Am I understanding this correctly?
 
Old 03-16-2018, 08:41 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,229

Rep: Reputation: 711Reputation: 711Reputation: 711Reputation: 711Reputation: 711Reputation: 711Reputation: 711
slackpkg will update only slackware packages from official distribution, not third party
To use it, you have to uncomment a line corresponding to the mirror site you want to use in
Code:
/etc/slackpkg/mirrors
(take care of using 14.2 mirror, not current)

Then
Code:
slackpkg update
slackpkg upgrade-all
For installing other softwares, I use mainly sboinstall program from sbotools
Code:
sboinstall <package name>
This will download, compile and install <package name> from SlackBuildd.org package list
https://slackbuilds.org/repository/14.2/

You can update any sbo installed program
Code:
sbocheck
sboupgrade <package name>
 
Old 03-16-2018, 09:27 AM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro
Posts: 6,616

Rep: Reputation: 1333Reputation: 1333Reputation: 1333Reputation: 1333Reputation: 1333Reputation: 1333Reputation: 1333Reputation: 1333Reputation: 1333Reputation: 1333
I use "installpkg" after running a slackBuilds script to compile and build the install tar file.

whereas "slackpkg clean-system" is not an upgrade tool at all. It is a get everything in your system that is not part of its original install out of it tool. That can be used with its listings to pick and choose what one wants to be removed or just a run it and clean everything out with no questions asked too.

as far as "normal every day" upgrading of the system with its updates.
as stated.
Code:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
get on about what you where doing.

I also use sbotools, with its sboinstall, sboupgrade, sboremove, etc.. it pulls from slackbuilds.org (or where every you tell it to) and does the dependencies resolves for you, installing everything in the list.

and yes ./compile make make install can still be used. but this is not part of upgrading. to find what you have installed by using the provided methods to install a properly formed Slackware tar.

Code:
ls /var/log/packages | grep <package name, or part of it>

Last edited by BW-userx; 03-16-2018 at 09:28 AM.
 
Old 03-16-2018, 09:38 AM   #4
globetrotterdk
Member
 
Registered: Nov 2006
Posts: 205

Original Poster
Rep: Reputation: 14
Thanks for the replies. I just borked my system, so I will reinstall and return. It seems to me that in my short experience, the more complex a program, with more dependencies, such as libreoffice, the more difficulty there is in avoiding some unexpected result (newbie pov). I assume that is why there seems to be so much interest in non-official Slackware repos for KDE 5, LibreOffice, etc.

Last edited by globetrotterdk; 03-16-2018 at 09:40 AM.
 
Old 03-16-2018, 09:42 AM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro
Posts: 6,616

Rep: Reputation: 1333Reputation: 1333Reputation: 1333Reputation: 1333Reputation: 1333Reputation: 1333Reputation: 1333Reputation: 1333Reputation: 1333Reputation: 1333
Quote:
Originally Posted by globetrotterdk View Post
Thanks for the replies. I just borked my system, so I will reinstall and return. It seems to me that in my short experience, the more complex a program, with more dependencies, such as libreoffice, the more difficulty there is in avoiding some unexpected result (newbie pov). I assume that is why there seems to be so much interest in non-official Slackware repos for KDE 5, LibreOffice, etc.
Alien BoB tars he got LibraOffice already setup for install.
some of his sights.
https://alien.slackbook.org/blog/
http://www.slackware.com/~alien/
http://www.slackware.com/~alien/slackbuilds/
 
Old 03-18-2018, 04:34 AM   #6
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: OpenSUSE
Posts: 1,399
Blog Entries: 7

Rep: Reputation: 167Reputation: 167
I once booted up the Slackware install dvd and was greeted with a daunting black welcome screen that required me to type a command to begin the installer. Intimidated i rebooted immediately. Conveniently i was listening to a series of Linux podcasts at the time called Linux Reality. The creator of said podcast happened to be a Slackware user and made two episodes about Slackware detailing how to install things and why he likes Slackware. After listening to his Podcasts i was able to overcome the installer, get the system installed and setup the basics. I highly recommend these two episodes of Linux Reality to any noobs curious about Slackware.
http://podbay.fm/show/125849458/e/11...04?autostart=1 -Special Episode 001 - Slackware
http://podbay.fm/show/125849458/e/12...48?autostart=1 -Episode 099 - Slackware Revisited
 
1 members found this post helpful.
  


Reply

Tags
maintainence, packages, slackware 14.2


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
Basic KDE Slackware install rng Slackware 19 11-16-2015 10:57 AM
How to install all packages in the install CD slackware vitalstrike82 Slackware 2 12-13-2013 03:51 AM
[SOLVED] New to Fedora... Can I clean-install upgrade and keep all my packages? Claudee Fleming Fedora 3 06-25-2012 09:29 PM
Install all Packages from Basic server install stuartornum Linux - General 2 02-24-2006 07:14 AM
new slackware install, basic questions true_atlantis Linux - Newbie 9 12-09-2003 11:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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