2 questions about the Container Void guide #1

Closed
opened 2020-08-19 15:17:26 +02:00 by wholesome · 2 comments

Hey tuxliban, thank you for this great tutorial. I have 2 things that I'm still uncertain about if you can answer them. The first question is the more important one. Here they are:

  1. Do I need to create this /glibc/ directory in / (root directory)? I would like to create this directory in my home directory, so in: ~/glibc/. I would use the following command for it: sudo mkdir -p ~/glibc/. Is that possible?

  2. Where do you create the glibc.c program? You have eventually copied the binary to /usr/bin/ so it appears in our path, but does it matter where you initially create the glibc.c file? I think it doesn't matter but I wanted to ask you nevertheless; just to be certain.

Thanks in advance for your reply!

Hey tuxliban, thank you for this great tutorial. I have 2 things that I'm still uncertain about if you can answer them. The first question is the more important one. Here they are: 1) Do I need to create this `/glibc/` directory in `/` (root directory)? I would like to create this directory in my home directory, so in: `~/glibc/`. I would use the following command for it: `sudo mkdir -p ~/glibc/`. Is that possible? 2) Where do you create the `glibc.c` program? You have eventually copied the binary to `/usr/bin/` so it appears in our path, but does it matter where you initially create the `glibc.c` file? I think it doesn't matter but I wanted to ask you nevertheless; just to be certain. Thanks in advance for your reply!
Owner

Hey tuxliban, thank you for this great tutorial. I have 2 things that I'm still uncertain about if you can answer them. The first question is the more important one. Here they are:

  1. Do I need to create this /glibc/ directory in / (root directory)? I would like to create this directory in my home directory, so in: ~/glibc/. I would use the following command for it: sudo mkdir -p ~/glibc/. Is that possible?

  2. Where do you create the glibc.c program? You have eventually copied the binary to /usr/bin/ so it appears in our path, but does it matter where you initially create the glibc.c file? I think it doesn't matter but I wanted to ask you nevertheless; just to be certain.

Thanks in advance for your reply!

Hello wholesome. I'm glad you like the tutorial.
I answer your questions

  1. Of course you can create glibc directory wherever you want. I copied it to the root directory to avoid inadvertent modifications since any change will be possible with administration permissions. Now, an observation is that it isn't necessary to create the directory using sudo because your user has sufficient permissions to modify the home directory.
  2. The glibc.c program creates it on my home page. The place where it is created is not relevant as long as it contains what the guide mentions.
    Later, once the binary has been compiled and created, the guide mentions copying it to the /usr/bin directory, although the ideal would be to copy it to the /usr/local/bin directory since it is a binary external to the system. In both cases the system should be able to locate and run it.

I hope I have been able to help you by solving your doubts.
Regards

> Hey tuxliban, thank you for this great tutorial. I have 2 things that I'm still uncertain about if you can answer them. The first question is the more important one. Here they are: > > 1) Do I need to create this `/glibc/` directory in `/` (root directory)? I would like to create this directory in my home directory, so in: `~/glibc/`. I would use the following command for it: `sudo mkdir -p ~/glibc/`. Is that possible? > > 2) Where do you create the `glibc.c` program? You have eventually copied the binary to `/usr/bin/` so it appears in our path, but does it matter where you initially create the `glibc.c` file? I think it doesn't matter but I wanted to ask you nevertheless; just to be certain. > > Thanks in advance for your reply! Hello wholesome. I'm glad you like the tutorial. I answer your questions 1. Of course you can create glibc directory wherever you want. I copied it to the root directory to avoid inadvertent modifications since any change will be possible with administration permissions. Now, an observation is that it isn't necessary to create the directory using sudo because your user has sufficient permissions to modify the home directory. 2. The glibc.c program creates it on my home page. The place where it is created is not relevant as long as it contains what the guide mentions. Later, once the binary has been compiled and created, the guide mentions copying it to the `/usr/bin` directory, although the ideal would be to copy it to the `/usr/local/bin` directory since it is a binary external to the system. In both cases the system should be able to locate and run it. I hope I have been able to help you by solving your doubts. Regards
Author

Thank you very much. You have indeed answered my doubts. And once again, thanks for the great tutorial!

Thank you very much. You have indeed answered my doubts. And once again, thanks for the great tutorial!
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tuxliban/tutoriales_void#1
No description provided.