View Full Version : command line WOES
bob58
03-27-2004, 09:36 PM
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
:cry:
Stephen
03-27-2004, 11:10 PM
./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
:cry:
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.
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
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.
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.
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.
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.