Results 1 to 2 of 2

Thread: command line WOES

  1. #1
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    237

    command line WOES

    I am having difficulty with something that should be so easy! 'Bash' does not recognize the 'install' command! I downloaded a "tar.bz2" file...it is a theme for KDE.....It is pretty much impossible to install this theme. The directions say to copy it to a location, so I have a folder named "Temp" in root. So I put file there....instructions say to do this:


    ./install .sh

    Here is the copied text from the console:



    :root@Home:~# cd ..
    root@Home:/# cd Temp
    root@Home:/Temp# dir
    bk_berlin_subway-3.2.1.tar.bz2
    root@Home:/Temp# ./install .sh
    bash: ./install: No such file or directory
    root@Home:/Temp#

    how come i cant install with the install command???? I tried it with a capital "I" too but no difference. Is there a way to do this in GUI????
    I really would rather us command line. thanks....bob

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: command line WOES

    Quote Originally Posted by bob58
    ./install .sh
    That would be ./install.sh note the no space.
    Here is the copied text from the console:



    :root@Home:~# cd ..
    root@Home:/# cd Temp
    root@Home:/Temp# dir
    bk_berlin_subway-3.2.1.tar.bz2
    root@Home:/Temp# ./install .sh
    bash: ./install: No such file or directory
    root@Home:/Temp#

    how come i cant install with the install command???? I tried it with a capital "I" too but no difference. Is there a way to do this in GUI????
    I really would rather us command line. thanks....bob
    Here you should be in the Temp directory tar -xjvf bk_berlin_subway-3.2.1.tar.bz2 to extract the compressed tarball then you would most likely cd bk_berlin_subway (you will see the directory name in the output) then ./install.sh to run the install. If you have not heard of TAB completion this is a good time too, when you want to run a command just start typing in the first few letters then hit the TAB key to complete eg. ./in then hit TAB key results in ./install.sh if it is in the directory or your path. If there is more than one item with the starting letters then hitting TAB twice will give you a list to help you with the auto completion eg.

    Typing in /usr/src/k and hitting TAB twice results in this list on my machine.

    Code:
    HappyTux:/home/stephen# ll /usr/src/kernel-
    kernel-headers-2.4.24.040105
    kernel-headers-2.4.24.040105_10.00.Custom_i386.deb
    kernel-headers-2.4.25_10.00.Custom_i386.deb
    kernel-headers-2.6.3_10.00.Custom_i386.deb.org
    kernel-headers-2.6.3-dt_10.00.Custom_i386.deb
    kernel-headers-2.6.4
    kernel-headers-2.6.4_10.00.Custom_i386.deb
    kernel-headers-2.6.4-rc3
    kernel-headers-2.6.4-rc3_10.00.Custom_i386.deb
    kernel-image-2.4.24.040105_10.00.Custom_i386.deb
    kernel-image-2.4.25_10.00.Custom_i386.deb
    kernel-image-2.6.3_10.00.Custom_i386.deb.org
    kernel-image-2.6.3-dt_10.00.Custom_i386.deb
    kernel-image-2.6.4_10.00.Custom_i386.deb
    kernel-image-2.6.4-rc3_10.00.Custom_i386.deb
    kernel-source-2.6.3
    kernel-source-2.6.3.tar.bz2
    Type in i and twice again results in this list of the images

    Code:
    HappyTux:/home/stephen# ll /usr/src/kernel-image-2.
    kernel-image-2.4.24.040105_10.00.Custom_i386.deb
    kernel-image-2.4.25_10.00.Custom_i386.deb
    kernel-image-2.6.3_10.00.Custom_i386.deb.org
    kernel-image-2.6.3-dt_10.00.Custom_i386.deb
    kernel-image-2.6.4_10.00.Custom_i386.deb
    kernel-image-2.6.4-rc3_10.00.Custom_i386.deb
    Type in 6 and twice gives me the list of 2.6 images.

    Code:
    HappyTux:/home/stephen# ll /usr/src/kernel-image-2.6.
    kernel-image-2.6.3_10.00.Custom_i386.deb.org
    kernel-image-2.6.3-dt_10.00.Custom_i386.deb
    kernel-image-2.6.4_10.00.Custom_i386.deb
    kernel-image-2.6.4-rc3_10.00.Custom_i386.deb
    4 and twice gives me the list of 2.6.4 images.

    Code:
    HappyTux:/home/stephen# ll /usr/src/kernel-image-2.6.4
    kernel-image-2.6.4_10.00.Custom_i386.deb
    kernel-image-2.6.4-rc3_10.00.Custom_i386.deb
    _ and TAB now gives me the file I want to see so hit enter and get the listing.

    Code:
    HappyTux:/home/stephen# ll /usr/src/kernel-image-2.6.4_10.00.Custom_i386.deb
    -rw-r--r--    1 stephen  src          2.4M 2004-03-13 05:49 /usr/src/kernel-image-2.6.4_10.00.Custom_i386.deb
    Aside from making life easier with less typing it eliminates the typos as well.

Similar Threads

  1. boot only in command line - help
    By teccim in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 06-14-2005, 04:09 PM
  2. booting into the command line
    By greygooseplz in forum General Support
    Replies: 1
    Last Post: 11-25-2004, 05:58 AM
  3. Bring up KDE from command line
    By Jesse in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 04-30-2004, 05:57 PM
  4. login with GUI/Command Line
    By wilsondk in forum General Support
    Replies: 2
    Last Post: 02-18-2004, 10:04 PM
  5. Hostname on command line
    By Ambrose in forum General Support
    Replies: 1
    Last Post: 08-08-2003, 02:17 AM

Posting Permissions

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