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
  •  


SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26 picture

SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26

$74.99



Western Digital 1TB WD Gold Enterprise Class SATA Internal HDD - WD1005FBYZ picture

Western Digital 1TB WD Gold Enterprise Class SATA Internal HDD - WD1005FBYZ

$84.99



Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ picture

Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ

$44.99



WD_BLACK 1TB 2.5-inch Performance Hard Drive - WD10SPSX picture

WD_BLACK 1TB 2.5-inch Performance Hard Drive - WD10SPSX

$69.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$23.99



PNY SSD7CS900-1TB-RB CS900 1TB 3D NAND 2.5

PNY SSD7CS900-1TB-RB CS900 1TB 3D NAND 2.5" SATA III Internal Solid State Drive

$65.99



Crucial - P3 Plus 1TB Internal SSD PCIe Gen 4 x4 NVMe picture

Crucial - P3 Plus 1TB Internal SSD PCIe Gen 4 x4 NVMe

$69.99



1TB HDD/SSD 2.5

1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed

$43.65



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US

$41.59