Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
10-24-2003, 03:29 PM
|
#1
|
Member
Registered: May 2002
Location: Lebanon
Distribution: PCLinuxOS
Posts: 80
Rep:
|
Installed Software in Slackware 9.1 and disabling network service
Hi all!
I'm rather new to Linux, and I just moved, after a couple of months with RH9, to Slackware 9.1.
I'm quite happy with it: much faster, simpler yet full, nothing to complain about! I think I'll stick to it and remove RH9 from my desktop (this one is on the laptop).
A question, though: I have installed a few things (LyX 1.3.3, xforms, xpm) from source (./configure, ./make, ./make install) and, to my surprise, they were automatically installed on the root folder (so now I have /lyx-1.3.3, /xforms, etc.). Is this normal? Under RH9 they were tucked somewhere else.
Another question: How do I temporarily disable the network service at startup (slowing things down) and avoid the quite long "broadcasting DHCP - Discover" process? I tried pkgtool/netconfig but I still get it.
Thanks a lot!
odin
|
|
|
10-24-2003, 03:55 PM
|
#2
|
LQ Newbie
Registered: Jun 2001
Distribution: Redhat
Posts: 18
Rep:
|
I think a Slackware package normally will install packages in the root folder, but most Slackware packages also have a script that runs at the conclusion of the install process that places all the files inside the new directory to where you would normally store them (man pages are sent to manpage directories, binaries to bin directories, etc.) Usually the temporary package stored in / is removed during this process. You can specify the directory you want it installed to by using the -root flag. You'd probably want to do something like:
installpkg - root /opt foo.tgz
or something similar.
Networking is controlled by the /etc/rc.d/rc.inet1 and /etc/rc.d/rc.inet2 files. Comment out the services you want disabled and then restart.
|
|
|
10-24-2003, 04:06 PM
|
#3
|
Member
Registered: May 2002
Location: Lebanon
Distribution: PCLinuxOS
Posts: 80
Original Poster
Rep:
|
Thanks, Randy,
Will keep in mind the root flag next time I do an install.
Checked the LyX folder and it seems that, other than the one I have in / (35 Mb), there's another one in /usr/share (11.5 Mb).
I'll try to rename the / one to something else and see if LyX runs. If it does, then I'll safely delete it.
What do you think?
|
|
|
10-24-2003, 04:11 PM
|
#4
|
Member
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310
Rep:
|
Re: Installed Software in Slackware 9.1 and disabling network service
Quote:
Originally posted by odin123
Hi all!
I'm rather new to Linux, and I just moved, after a couple of months with RH9, to Slackware 9.1.
I'm quite happy with it: much faster, simpler yet full, nothing to complain about! I think I'll stick to it and remove RH9 from my desktop (this one is on the laptop).
A question, though: I have installed a few things (LyX 1.3.3, xforms, xpm) from source (./configure, ./make, ./make install) and, to my surprise, they were automatically installed on the root folder (so now I have /lyx-1.3.3, /xforms, etc.). Is this normal? Under RH9 they were tucked somewhere else.
|
Did you install Lyx on Radhat as an rpm or from source as well? I ask this because it sounds like a not so nice Makefile that doesn't use the standard folders to install to. As you installed from source this problem definately does NOT relate to Slackware Packages.
Quote:
Originally posted by odin123
Another question: How do I temporarily disable the network service at startup (slowing things down) and avoid the quite long "broadcasting DHCP - Discover" process? I tried pkgtool/netconfig but I still get it.
|
If the DHCP timeout is too long then try to change the -t parameter in
"/etc/rc.d/rc.inet 1"
If you want to disable the startup of the network init scripts go into /etc/rc.d/rc.M and comment the lines where it starts rc.inet1 and rc.inet2 and run them manually if necessary.
You can however try to code a little script into that which asks you on startup whether to run it or not
|
|
|
10-24-2003, 04:15 PM
|
#5
|
LQ Newbie
Registered: Jun 2001
Distribution: Redhat
Posts: 18
Rep:
|
Quote:
Originally posted by odin123
Thanks, Randy,
Will keep in mind the root flag next time I do an install.
Checked the LyX folder and it seems that, other than the one I have in / (35 Mb), there's another one in /usr/share (11.5 Mb).
I'll try to rename the / one to something else and see if LyX runs. If it does, then I'll safely delete it.
What do you think?
|
This recently happened to me as well. I think I got a non-Slack package and used the rpm2tgz utility on it and just did an install and it installed a package that i already had I think. This was confusing since it looked like I had two versions of Apache in different locations. use pkgtool to browse the pacckages already installed. If you just want to update them, downloading swaret I found was a big help.
|
|
|
10-25-2003, 01:24 AM
|
#6
|
Member
Registered: May 2002
Location: Lebanon
Distribution: PCLinuxOS
Posts: 80
Original Poster
Rep:
|
Thanks guys,
Randy, The /lyx folder does nothing, it seems it was created temporarily and Slackware or the lyx source package forgot to remove it. I renamed the whole folder and I'm still using lyx normally, so I assume it's using the /usr/share setup.
Misel, the lyx package comes from the lyx people and it's a "genuine" .tar.gz file which I extracted "as is" and did the ./configure etc. on. Thanks for the network tip!
By the way, another funny thing happens with me in Slack: if I run some program from the console, like lyx, and close it, I get a console message saying "Mutex destroy failure: Device or resource busy." If I click on the program's icon, however, all is fine, no Mutex messages. Any suggestions? I checked the forum but all I got is incomprehensible guru-like answers.
By the way, I'm falling in love with Slack 9.1, and I think it's WAY SUPERIOR to RH9 and not at all as difficult as some say. I'm thinking of subscribing next time to show support rather than download from the net. Thumbs up!
|
|
|
All times are GMT -5. The time now is 05:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|