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.
hi all,
first of all.. i'm a newbie in slackware.. b4 this i used fedora then decided to switch to slackware. fyi, i didnt install windows manager like kde or gnome etc. just using console... to learn more about linux.
so my problem is , i forgot to install man in my slackware. can anybody here teach me how?
Put Slackware's CD 1. Mount it to someplace like /mnt/cdrom, then use: installpkg /mnt/cdrom/slackware/ap/man*
That will install man and man-pages packages, they're matched with the wildcard in the command.
A good book to read if you haven't yet: http://slackbook.org
Also, I'd personally recommend you to do a full install or you'll have to satisfy a lot of dependencies.
thanks a lot....
i'll try to installpkg the man from cd... but unfortunately my cd drive cannot read it due to the scratch on all over the cd's surface.
i have other questions here. when installing some package or s/ware in slackware.. should i copy it to my /usr/src directory? and after install that package from there? like the case of my man installation, should i copy all the man* package into that directory? because i once tried to install slocate package to my slackware before (from /usr/src/) suddenly, it created other directory in the /usr/src/ for example /bin/ , /sbin, /etc.
can anyone explain to me where should i install a software/package from. should i copy the package to the /usr/src or other directories?
You can install a package from wherever you want and you don't need to keep the package (the .tgz file) after installed.
Basically a package is a tar/gzip file which contains the directory structure the program needs, plus some install scripts, like:
usr/
usr/bin/program
usr/man/program.1
install/doinst.sh
installpkg uncompress it under root directory (/) so the files are placed where they should, /usr/bin/program in this example. It also runs the install script provided in the package and updates the packages "database" under /var/log/packages where it stores which files are used by the package.
I guess you ended with those directories when trying to install slocate because you untarred the package under /usr/src, you shouldn't do that, if it's a Slackware package, use installpkg/upgradepkg/removepkg or simply pkgtool.
As I said, if you've time read the Slackware book to get more familiar with this.
Edit: By the way, the commands I put in the other post should be exactly the ones you need to type to download & install man and man-pages packages. You could use pkgtool instead of installpkg if you want a menu-based install, but probably you'll find faster installpkg just to install two packages.
you were right about how i install slocate.. i unzip the package from cd...hehehe
i already have the slackbook... but i think the book is not much detail...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.