LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Installation directory for packages (https://www.linuxquestions.org/questions/slackware-14/installation-directory-for-packages-252644/)

imranamdam 11-08-2004 10:00 PM

Installation directory for packages
 
Hi There,
I need to know where is packages installation directory in slackware linux? How to change it to some where else directory?
Can we change it?
How?

With Microsoft OS system the the default installation directory is at C:\program files\xx.your program. Then we can change to (e.g) D:\program files or f:\file\program file\...
How we can do this in linux exspecially in installing packages.

mdarby 11-08-2004 10:28 PM

There is no defacto place to install linux programs. Usual conventions place binaries in /usr/local/bin or /usr/local/sbin (or even /sbin or /bin)

Most source code for programs go into /usr/local and most configuration files go into /etc

ror 11-08-2004 11:56 PM

I'm not suprised by your question (it comes up a lot with people from windows, the obsession with /where/ everything is) but intrigued as to why you want to change it.

imranamdam 11-09-2004 11:43 PM

Quote:

Originally posted by ror
I'm not suprised by your question (it comes up a lot with people from windows, the obsession with /where/ everything is) but intrigued as to why you want to change it.
Actually the real problem lies from my installation on my laptop. At first I decide to used external usb maxtor 80 GB hard drive(sda). During Installation process it can detect my hdd and can install everything in it, but after installation (restarting) The problems is kernel panic appear because it cannot boot my system correctly.
My plan is, I want to put only important part of linux in my laptop hdd(hda). Then i want to do all the installation into my external USB drive.

ror 11-09-2004 11:47 PM

The entire file system is pretty important, although if it's slackware it shouldn't be too big in total.

gbonvehi 11-10-2004 12:06 AM

Take a look here: http://www.slackware.com/book/index....urce=c623.html

I would personally install all in the notebook's hd and /home in the external one (maybe /etc to have my config between installs and /usr to save space on the notebook's hdd).

By the way, the kernel panic may be caused by the default kernel not having the modules to detect your disk built-in or in a initrd image, so it can't recognize it (because the modules are in the disk it can't see) to load the system.


All times are GMT -5. The time now is 11:07 AM.