Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I'm new to linux (ubuntu 7.04 beta dualboot on amd64 3500Mhz) and I try to follow the tutorial from this site about basic program installation (compiling and installing). It ...
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    2

    Help

    Hi,

    I'm new to linux (ubuntu 7.04 beta dualboot on amd64 3500Mhz) and I try to follow the tutorial from this site about basic program installation (compiling and installing).


    It begins with telling us to go to the following folder /usr/local/src.
    Although this folder exists, I can't get there with the cd command.

    Here is what happens:

    Code:
    slux@slinux:~$ cd /home/usr/local/src
    bash: cd: /home/usr/local/src: No such file or directory
    slux@slinux:~$ sudo cd /home/usr/local/src
    sudo: cd: command not found
    slux@slinux:~$ cd /usr/local
    slux@slinux:/usr/local$ ls
    bin  etc  games  include  lib  man  sbin  share  src
    slux@slinux:/usr/local$
    What am I getting wrong?

    HELP,.................. please.

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by slux
    Hi,

    I'm new to linux (ubuntu 7.04 beta dualboot on amd64 3500Mhz) and I try to follow the tutorial from this site about basic program installation (compiling and installing).
    First, you're looking at the wrong section. For most programs Ubuntu does not require you to compile anything. You can use apt-get for that. Look at the section for "apt-get" and Debian.

    Here is what happens:

    Code:
    slux@slinux:~$ cd /home/usr/local/src
    bash: cd: /home/usr/local/src: No such file or directory
    slux@slinux:~$ sudo cd /home/usr/local/src
    sudo: cd: command not found
    slux@slinux:~$ cd /usr/local
    slux@slinux:/usr/local$ ls
    bin  etc  games  include  lib  man  sbin  share  src
    slux@slinux:/usr/local$
    What am I getting wrong?

    HELP,.................. please.
    Understand that files in Linux are divided up hierarchically. This means that there is a root directory and many sub-directories underneath. When you change directories you must make sure you're pointing to the correct branch of the tree, so to speak.

    The /usr/local/src directory is located in the "usr" section of the root directory. To go there from /home/ you would type this:

    Code:
    cd /usr/local/src
    You'll note that I didn't include /home/ in front of it because /usr/local is not in the /home/ directory. That was your original problem.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  3. #3
    Just Joined!
    Join Date
    Apr 2007
    Posts
    2

    No internet

    Hi,

    unfortunately I can't download anything, because my internet connection is not running yet. it's wifi. Thats why I am trying to install wifi-radar. but I have to install 'menu' first.

    Thank to your advice I can now access the folder I want, unzip 'menu' run
    Code:
    ./configure
    Code:
    make
    and
    Code:
    make install
    . I get no error messages, but when I than want to install wifi-radar I get a message saying that it can't install because menu is missing. ??? I'm lost.

    I instaled both in folder usr/local/src

  4. #4
    Linux User tech_man's Avatar
    Join Date
    Jan 2007
    Location
    USA
    Posts
    385
    ^^ Try "sudo make menuinstall" or "sudo make menu" or any combination of the aforementioned.
    'Tis better to be silent and be thought a fool, than to speak and remove all doubt.'
    --Abraham Lincoln

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...