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.
Package managements need roots privilege. You can use either "sudo" or "kdesu" for running the application. For example: kdesu slackpack. You will then need to provide the root's password.
To install or remove something, sure.. but if all you want to do is look through the package database, it really should be able to do so without becoming superuser. I personally just open up a text editor to the appropriate file in /var/log/packages, but YMMV.
MysticalGroovy: perhaps you can think about using src2pkg as a backend for the .deb and .rpm conversions, since it's gained a lot of knowledge on how to make sure the conversion creates a valid package with files conforming to Slackware conventions.
@tommcd:
probably not in the next few months m8, I currently not have the time or the knowledge to port Slackpack to 64bit slackware
Ill add it as a feature request on Slackpack sourceforge site so i wont forget it
@mostlyharmless
Slackpack 1.1.5 is written on Qt4, so the latest Slackware 13.0(using KDE4/Qt4) is required to run Slackpack 1.1.5, theoretically speaking Slackpack 1.1.5 could run on an oldest version of Slackware if you have Qt4.5 installed.
@bgeddy:
currently you cannot use regular expressions on the search box but ill add it as a feature request in sourceforge project site so i wont forget to implement to the next slackpack release
(btw the search box is currently a bit beta as a feature)
thank you all for your answers ,
recently I got an email and a nice fellow called mr. Robby Workmanwho contributed alot to the Slackware community and he suggested me to add a source code control system for Slackpack, so basically Im working on it right now Ill post here for updates
To install or remove something, sure.. but if all you want to do is look through the package database, it really should be able to do so without becoming superuser. I personally just open up a text editor to the appropriate file in /var/log/packages, but YMMV.
You're completely right. I was talking about the installation and remove part of the process.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Quote:
To install or remove something, sure.. but if all you want to do is look through the package database, it really should be able to do so without becoming superuser.
Yes - I agree with this. The application could check if the user is root when he requests an operation requiring root privileges or perhaps disable such options when the user is not root. As it is the app checks on entry for root status and exits if not found.
@MysticalGroovy : I know this may be a pain but the above mentioned functionality change would be very useful. It's nice to be able to browse packages as a normal user.
good morning m8
yeah i think it should be possible to browse the packages without becoming a superuser and i can implement it too in Slackpack, but do you really think its necessary?
I mean that the usage of a package manager is to update/install/remove etc packages from the system, to do this in slackware you need root access, if you cant get root access why do you want to use Slackpack for? you wont be able to process packages, you'll be able to only see the installed packages on the system, and if you cant process the installed packages, why you would want to..see them?
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
@MysticalGroovy: Thanks for the quick reply. Your English is great BTW - no problems !
Quote:
yeah i think it should be possible to browse the packages without becoming a superuser and i can implement it too in Slackpack, but do you really think its necessary?
This is possibly me just being lazy. I always operate as a normal user (not root) and don't like going to root unless neccesary. I'm used to using Kpackage in KDE3 which allows me to browse the installed packages list and look at what files are in a package without being root. In that application it's not till I want to do something that needs root privileges that I have to give the root password.
This is just a small observation and not really a "make or break" aspect of the application - just a little convenience.
I'm really appreciative of your work on this and think the application is great ! Good work.
....Kpackage in KDE3 which allows me to browse the installed packages list and look at what files are in a package without being root.....
not a bad idea!
I should implement a feature where the user will be able to see files in the selected package like in KPackage! (yes, without being root )
I downloaded the source, and after editing the makefile, I recompiled the source to work in Slackware64. That said, it has no package afterwards to install. However, I can run the binary in the bin directory using kdesu. It came up clean and seems ready to go. The app looks very nice with a straightforward ui that is very user friendly.
I'm going to create a menu entry to make it easier to call up by kdesu. I sure wish I knew more on how to write code!
I downloaded the source, and after editing the makefile, I recompiled the source to work in Slackware64. That said, it has no package afterwards to install. However, I can run the binary in the bin directory using kdesu. It came up clean and seems ready to go. The app looks very nice with a straightforward ui that is very user friendly.
I'm going to create a menu entry to make it easier to call up by kdesu. I sure wish I knew more on how to write code!
Thanks, MysticalGroovy - well done!
I have included the makefile for others to see and comment.
Last edited by mlangdn; 10-02-2009 at 10:59 AM.
Reason: I uploaded the edited makefile for perusal by others
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.