VectorLinux
April 23, 2014, 12:36:23 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: What are all these directories under '/'?  (Read 1608 times)
Sivatheja
Vectorite
***
Posts: 156



WWW
« on: February 01, 2008, 11:41:26 pm »

Hi,

I'm a windows user and migrated to Linux, VL is my first try and worked out to be excellent. Nice GUI and speed on my machine. I'm done with all Linux installations and tweaked into many options, and now my machine is ready.

Next step is to install the tar.gz softwares that I've downloaded. I have the following immediate questions.
(Mine is Vector Linux 5.8 Gold)

  • I prefer wizards kind of installation. Is 'vpackager' such utility? I could not find it in the GSlapt pacage manager, any pointers in this regard?
  • There are overwhelmingly many directories under '/' Any guide kind of thing to know what for each directory is meant for?
  • Applications installed under root would be available for all other logins on the same machine?
  • I've installed open office 2.2 using GSlapt package manager, but I dont find any Icons added in [V]-->[office] menu, but am able to use it.

Thanks a million,
Sivatheja.
Logged

Full Linux Machine - Vector Linux 5.9 STD Gold, Intel - 1.79 GHz, 1Gb RAM, 60GB HDD
bigpaws
Vectorian
****
Posts: 1833


« Reply #1 on: February 02, 2008, 04:44:08 am »

Not all tar.gz are the same.

Quote
I prefer wizards kind of installation. Is 'vpackager' such utility? I could not find it in the GSlapt pacage manager, any pointers in this regard?

No vpackager is for making Vector packages from source. You can try
midnight commander or pkgtool.

Quote
There are overwhelmingly many directories under '/' Any guide kind of thing to know what for each directory is meant for?

http://www.tuxfiles.org/linuxhelp/linuxdir.html

Quote
Applications installed under root would be available for all other logins on the same machine?

Yes, if they are designed to be run as a normal user.

There are some things that will help in your transition to Linux.

1.   Linux is different from Windows in file structure, user permissions
      and philosophy to name a few. What you learned from Windows
      will not apply to Linux.

2.   Google is your friend. When searching it will help to use linux before
       a query.

3.   Reading is required. Linux will return what you put into it. If you spend
      time reading and learning it will pay off in an easier user experience.

4.   There is a learning curve be prepared for it. When you first started using
       Windows there was a learning curve, expect one here.

HTH

Bigaws
Logged
Sivatheja
Vectorite
***
Posts: 156



WWW
« Reply #2 on: February 02, 2008, 05:52:21 am »

Thanks for the link, I'm prepared to any curve Smiley
Logged

Full Linux Machine - Vector Linux 5.9 STD Gold, Intel - 1.79 GHz, 1Gb RAM, 60GB HDD
Sivatheja
Vectorite
***
Posts: 156



WWW
« Reply #3 on: February 02, 2008, 09:40:22 am »

The link says that each user installations go to /usr/local directory. I'm a Java guy, and would make my machine a development box.  So want the installation usable for all. I've downloaded things, and now want to install.

So as root where should the installations go?
Logged

Full Linux Machine - Vector Linux 5.9 STD Gold, Intel - 1.79 GHz, 1Gb RAM, 60GB HDD
newt
Vectorian
****
Posts: 1132



« Reply #4 on: February 02, 2008, 10:51:07 am »

Some default directories have changed since the edits of that link (2005).  Also, every distro is left to do things as they wish in regards to the linux directory structure.  With that said, /usr is the normal place VL (and slackware) install packages, although it seems sometimes /usr/local will be used Huh.  From that directory the package will place its contents in various other subdirectories based on the content; i.e. executable will go to /usr/bin or /usr/sbin, libraries will go to /usr/lib, documentation will go to /usr/doc, etc...  Understanding all of this is beneficial but not crucial, and there are exceptions to any rule (kde gets installed to /opt/kde).

I believe the java installer prompts you for the install directory (prefix) which should be '/usr'; this is just the java installers starting point - it will place its contents in the correct subdirectories automatically.  Once installed it will be available for all users.

Hope this helps.
« Last Edit: February 02, 2008, 10:57:27 am by newtor » Logged
Sivatheja
Vectorite
***
Posts: 156



WWW
« Reply #5 on: February 02, 2008, 11:03:31 am »

Thanks a lot.
Logged

Full Linux Machine - Vector Linux 5.9 STD Gold, Intel - 1.79 GHz, 1Gb RAM, 60GB HDD
rbistolfi
Packager
Vectorian
****
Posts: 2265


« Reply #6 on: February 02, 2008, 12:38:45 pm »

/usr/local seems to be the default on almost every configure script. So if the packager is a little lazy there ends the binary. Sivatheja, you will get used to the filesystem pretty soon, and you will find your way of doing things. For example, I install most of my software with the /usr/local prefix because I like to trace what I have done to the system beyond the vl defaults. In that way I know that if it is in /usr/local I put it there and is my responsibility and not a bug if something goes wrong. Also  I install big programs in /opt, as the custom suggest, but also any that comes in a binary form and does not need to be compiled. In that way I can upgrade or remove easily just deleting the binary and any symlink I could made. Examples are the Google apps or Skype and such.
As you probably noted, there is many ways for the same thing, and you have to find your own. My little advice is to go slow and setep by step, so you can ensure a good experience and not overheat your head with too much information, that works for me Smiley
Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
Sivatheja
Vectorite
***
Posts: 156



WWW
« Reply #7 on: February 02, 2008, 10:13:18 pm »

Thanks for all your inputs.
Logged

Full Linux Machine - Vector Linux 5.9 STD Gold, Intel - 1.79 GHz, 1Gb RAM, 60GB HDD
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!