LinuxQuestions.org
Help answer threads with 0 replies.
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 05-29-2015, 05:19 PM   #16
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154

Quote:
Originally Posted by enorbet View Post
FWIW nvidia drivers are one of the last bastions of fundamental software that I don't use SlackBuilds for.
Same here.
 
Old 05-29-2015, 11:54 PM   #17
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by turboscrew View Post
The only downside that I come across every now and then are the different repos. They use different installing, and they have different pieces of SW. You can't practically select one installer to use, and the installers don't know about each other. You have to know which SW was installed with which installer.
I'm curious, with repos you mean third-party repositories? Different repos have different software packages, that's true. What do you mean with « installer/different installing »? A package manager? You can use as many package managers as you like, most are using pkgtools' installpkg/upgradepkg to do the installing of packages (except for spkg, I think), and packages are recorded in /var/log/packages as well as /var/log/removed_{packages,scripts}, so if you install a package with, say, slackpkg, and another one with slpkg, both will show up in /var/log/packages. There is not much a package could know about each other, some third-party repositories like slacky.eu have dependency information, but other than that, there is little information a Slackware package carries. Or maybe I misunderstood you.
 
Old 05-30-2015, 01:18 PM   #18
PhiloPolyMath
Member
 
Registered: Jul 2014
Distribution: Slackware64 current
Posts: 32

Rep: Reputation: Disabled
Thanks @ enorbet for letting me know that the nvidia installer works well for you. It seems AlienBob and the slackbuilds script are pulling the same version (346.59). If I check nvidia's website it seems they are up to 346.72 in their long lived branch. When I was on debian sid I would use smxi to pull in the latest kernel and nvidia drivers. Never saw a difference in performance. But I will think about using a newer version.
 
Old 05-30-2015, 02:32 PM   #19
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by hitest View Post
Exactly! Reading the documentation will ensure success.
Learning will ensure success.

I corrected for you, maybe because I see daily (in Real Life ) hundred examples of guys who read carefully (but with no demonstrated interest), and they still are at glorious level of ZERO point ONE, after several years of study...

Last edited by Darth Vader; 05-30-2015 at 02:36 PM.
 
1 members found this post helpful.
Old 05-30-2015, 02:39 PM   #20
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by Darth Vader View Post
Learning will ensure success.

I corrected for you, maybe because I see daily hundred examples of guys who read carefully (but with no demonstrated interest), and they still are at glorious level of ZERO point ONE, after several years of study...
Reading implies understanding. If you don't understand you're not really reading. I can read the words in a foreign language, but, if I don't speak the language I won't understand anything. I suppose I should have written read, and understand the documentation.
 
Old 05-31-2015, 10:38 AM   #21
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Rep: Reputation: 46
Quote:
Originally Posted by lems View Post
I'm curious, with repos you mean third-party repositories? Different repos have different software packages, that's true. What do you mean with installer/different installing ? A package manager? You can use as many package managers as you like, most are using pkgtools' installpkg/upgradepkg to do the installing of packages (except for spkg, I think), and packages are recorded in /var/log/packages as well as /var/log/removed_{packages,scripts}, so if you install a package with, say, slackpkg, and another one with slpkg, both will show up in /var/log/packages. There is not much a package could know about each other, some third-party repositories like slacky.eu have dependency information, but other than that, there is little information a Slackware package carries. Or maybe I misunderstood you.
Well, I don't remember which package it was, but sbopkg didn't know about it, and neither did slackpkg. I had to upgrade with upgradepkg.

At the moment:
Code:
bash-4.2# upgradepkg --dry-run cups
Cannot install cups:  file not found
bash-4.2# slackpkg info cups

PACKAGE NAME:  cups-1.5.4-i486-3.txz
PACKAGE LOCATION:  ./slackware/a
PACKAGE SIZE (compressed):  1856 K
PACKAGE SIZE (uncompressed):  10540 K
PACKAGE DESCRIPTION:
cups: CUPS (Common UNIX Printing System)
cups:
cups: The Common UNIX Printing System provides a portable printing layer for
cups: UNIX(R)-like operating systems. It has been developed by Easy Software
cups: Products to promote a standard printing solution for all UNIX vendors
cups: and users.  CUPS uses the Internet Printing Protocol ("IPP") as the
cups: basis for managing print jobs and queues.  The CUPS package includes
cups: System V and Berkeley command-line interfaces, a PostScript RIP
cups: package for supporting non-PostScript printer drivers, and tools for
cups: creating additional printer drivers and other CUPS services.
cups:


bash-4.2# ls /var/log/packages/cups*
/var/log/packages/cups-2.0.2-i486-3
/var/log/packages/cups-filters-1.0.68-i486-2
bash-4.2#
but
Click image for larger version

Name:	cups1.png
Views:	30
Size:	77.2 KB
ID:	18599

So I guess the policy is: if you install a package with sbopkg, you remove/upgrade that package with sbopkg. If you install a package with pkgtool, you upgrade/remove that package with pkgtool, and so on.

Last edited by turboscrew; 05-31-2015 at 10:43 AM.
 
Old 05-31-2015, 10:50 AM   #22
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Rep: Reputation: 46
Quote:
Originally Posted by hitest View Post
Reading implies understanding. If you don't understand you're not really reading. I can read the words in a foreign language, but, if I don't speak the language I won't understand anything. I suppose I should have written read, and understand the documentation.
Yes, but I too have encountered many people that read the documentation and get thigs to work. Then next week the same problem and again searching the documents. The read doesn't stick.
 
Old 06-01-2015, 12:45 AM   #23
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by turboscrew View Post
At the moment:
Code:
bash-4.2# upgradepkg --dry-run cups
Cannot install cups:  file not found
This won't work, upgradepkg expects a file. See /sbin/upgradepkg, it's just a shell script. Use something like slackpkg to upgrade the base system -- or upgrade it by hand using pkgtool/upgradepkg if you have the binary package ready.

Quote:
Originally Posted by turboscrew View Post
So I guess the policy is: if you install a package with sbopkg, you remove/upgrade that package with sbopkg. If you install a package with pkgtool, you upgrade/remove that package with pkgtool, and so on.
sbopkg is used to upgrade/install SlackBuilds from SlackBuilds.org. It will start the compilation of a SlackBuild and install the resulting binary package via upgradepkg. pkgtools/upgradepkg expect a path to a real existing binary package. You can also build SlackBuilds manually and install the resulting binary package (saved in /tmp by default) using pkgtool/upgradepkg.

sbopkg does not know about packages from Slackware's "series", and slackpkg does not know about SlackBuilds from SlackBuilds.org (though you can remove SBo packages using slackpkg).

removepkg will remove any package that has been installed with any tool. And in the case of removepkg, you can use the package's base name (like "removepkg cups") instead of giving the full package name.

Last edited by lems; 06-01-2015 at 12:46 AM.
 
2 members found this post helpful.
Old 06-02-2015, 02:23 AM   #24
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Rep: Reputation: 46
Funny, I didn't realize until now that installpkg and friends are totally local. They are not aware of any repos. You have to download the package "source" first. I assume upgradepkg -install-new is pretty much the same as installpkg with a new package. Upgradepkg just knows how to "overwrite" existing package stuff.

With the package "source" I mean the txz-file as opposed to the package in /var/log/packages.

Well, that still confirms what I said, except for the 'removepkg'. I guess it removes any package in the /var/log/packages.

You install with sbopkg, you manage with sbopkg. You install with pkgtool, you manage with pkgtool. You install with slackpkg, you manage with slackpkg. That's partly due to the repo where the package is found, but also due to the local txz-file location.

You probably CAN cross-use them, but that'd be making things difficult.
 
Old 06-02-2015, 05:22 AM   #25
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
The OP seems to have disappeared. I think we frightened him.
 
Old 06-02-2015, 07:49 AM   #26
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by turboscrew View Post
Funny, I didn't realize until now that installpkg and friends are totally local. They are not aware of any repos. You have to download the package "source" first. I assume upgradepkg -install-new is pretty much the same as installpkg with a new package. Upgradepkg just knows how to "overwrite" existing package stuff.

With the package "source" I mean the txz-file as opposed to the package in /var/log/packages.

Well, that still confirms what I said, except for the 'removepkg'. I guess it removes any package in the /var/log/packages.

You install with sbopkg, you manage with sbopkg. You install with pkgtool, you manage with pkgtool. You install with slackpkg, you manage with slackpkg. That's partly due to the repo where the package is found, but also due to the local txz-file location.

You probably CAN cross-use them, but that'd be making things difficult.
upgradepkg is pretty versatile. As you surmised, --install-new will essentially allow an app to be installed if it isn't already. That's why many script or command lines will include upgradepkg --install-new --reinstall *.t?z, because this will upgrade any old packages, reinstall packages that don't have different versions, and install new packages that weren't already present on the system.

And with those various tools you mentioned, you can use pkgtool to "manage" all of them, since all install packages that conform to standards pkgtool uses. But, as you mentioned, the stock Slackware tools (minus slackpkg) are all local only, so pkgtool will only be able to "manage" the programs by viewing the contents and removing the packages.
 
Old 06-03-2015, 03:50 PM   #27
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
Quote:
Originally Posted by kikinovak View Post
The OP seems to have disappeared. I think we frightened him.
That happens sometimes when people are told there is stuff to learn...
 
Old 06-03-2015, 04:29 PM   #28
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Member response

Hi,

Sad but true! Some want spoon feeding & hold their hand to do anything.
 
Old 06-03-2015, 05:05 PM   #29
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by ringwraith View Post
That happens sometimes when people are told there is stuff to learn...
Well looks like he is running Arch now... so long and thanks for all the fish... he should change his nick to IwannaRetch.
 
Old 06-03-2015, 08:39 PM   #30
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
Gone are the days where learning was a requirement to use Linux. Seems like all these new trendy distributions, and even some of the older established distributions (Debian, what happened to you), want to provide a Desktop experience that requires no knowledge of the Operating System. To a certain extent this is good, but it has gotten out of hand IMHO. When I first started using Linux (this is what enticed me to migrate from Windows), the more you knew, the more empowered you became by your Operating System.

I registered on this forum again after having lost my account credentials that I used to use in the early 2000's. I joined this forum originally back in ~2002 because of the wealth of information available regarding Linux topics, not to be spoon fed information. The reason I registered was so I could partake in the Slackware forums.

Since coming back to LQ, I've noticed that when you browse the rest of LQ (most, not all), it seems like every other post is someone asking to be told exactly what command or exactly what to do to accomplish whatever remedial task(s) they can come up with. No one wants to read documentation or attempt to at least try to figure out their own solution. Tell them they need to use the command line or that they won't have a GUI until they edit a few text files etc, and they jump distributions. Worse, they go back to Windows.
 
3 members found this post helpful.
  


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
unable to get default ip address for interface connected back to back chakka.lokesh Linux - Networking 5 08-25-2014 03:02 AM
LXer: Back In Time, Automatic Back-Up Tool For Linux LXer Syndicated Linux News 0 12-12-2011 09:21 AM
Minicom not working I connected linux machines back-to-back Prabhunath Linux - Networking 2 06-30-2010 04:39 AM
Can't log back in after changing runlevels from init 3 to 1 back to 3 manwichmakesameal Slackware 5 06-29-2009 11:36 AM
Connecting 2 linux computer back to back with cross cable. michalng Linux - Networking 8 02-11-2009 07:00 AM

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

All times are GMT -5. The time now is 11:05 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
Open Source Consulting | Domain Registration