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
  •  


Apple Mac Powerbook Duo 230 Vintage Laptop picture

Apple Mac Powerbook Duo 230 Vintage Laptop

$60.00



Vintage Apple Macintosh II 2 M5000 Computer no power very nice w drives card picture

Vintage Apple Macintosh II 2 M5000 Computer no power very nice w drives card

$350.00



Vintage Apple Macintosh SE Case - Empty Shell - Housing retro project picture

Vintage Apple Macintosh SE Case - Empty Shell - Housing retro project

$60.00



Apple MacIntosh IIcx Vintage Desktop Computer M5650 - 1988/89 picture

Apple MacIntosh IIcx Vintage Desktop Computer M5650 - 1988/89

$200.00



Apple Macintosh Vintage DOS on Mac PC Compatible Interface PCI 590-4539 Y Cable picture

Apple Macintosh Vintage DOS on Mac PC Compatible Interface PCI 590-4539 Y Cable

$80.00



Apple Macintosh SE/30 M5119 Vintage Mac Computer BAD FLOPPY DRIVE FOR PARTS picture

Apple Macintosh SE/30 M5119 Vintage Mac Computer BAD FLOPPY DRIVE FOR PARTS

$350.00



Vintage Apple Mac Sony MP-F75W-01G 2MB 3.5

Vintage Apple Mac Sony MP-F75W-01G 2MB 3.5" Floppy Disk Drive Parts Or Repair

$35.99



Apple Desktop Bus Mouse I ADB Beige Vintage for Macintosh G5431 M0142 A9M0331 picture

Apple Desktop Bus Mouse I ADB Beige Vintage for Macintosh G5431 M0142 A9M0331

$23.99



APPLE MACINTOSH PLUS M0001A Vintage Mac Computer Tested Working picture

APPLE MACINTOSH PLUS M0001A Vintage Mac Computer Tested Working

$799.99



Vintage Apple Macintosh Powerbook Desktop Laptop Computer Duo Dock Model M7779 picture

Vintage Apple Macintosh Powerbook Desktop Laptop Computer Duo Dock Model M7779

$299.99