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.
I inadvertly removed the package that contains 'removepkg,installpkg,makepkg' commands.
I would like to reinstall it but :
1) I don't know which package(s).
2) I cannot use 'installpkg' anymore because it is removed.
This is just a thought, but it should work (I'm not gonna remove pkgtools to try it on my system, tho)
The package that you want is pkgtools-9.0.0-i386-1.tgz (assuming you're running slack 9). Mount your install disk and cp pkgtools-9.0.0-i386-1.tgz to a temporary directory, then cd to that temporary directory. Extract it with 'tar xzvf pkgtools-9.0.0-i386-1.tgz', then try this command:
./sbin/installpkg pkgtools-9.0.0-i386-1.tgz
You will have to do this last step as root. Don't forget the leading period, since you're trying to execute the installpkg file that you've just extracted. Then try pkgtool to see if it worked. Be sure to let us know if it does.
No need to do so. you can do what installpkg does by yourself.
copy the archive to /
then extract with tar xzvf.
All the necessary files will be copied to their positions, and there will be one extra folder ( install/ I think ) there. Execute the script inside that directory. (do it from the root directory, like './install/doinst.sh' ) and you are set.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.