SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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
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.
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.
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
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.