Linux.com

Home Linux Community Forums Linux Distributions Ubuntu i need help about command copy file.

i need help about command copy file.

Link to this post 27 May 09

:huh: i have some problem . i new for Linux now i use ubuntu9.04
i try to install Ubuntulooks Engine i download to desktop. and they
have step to in stall =
Copy libubuntulooks.so and libubuntulooks.la to /usr/lib/gtk-2.0/2.*.*/engines as root (substitute "2.*.*" with your version number)

i try to use command like this =
sudo cp libubuntulooks.so libubuntulooks.la /usr/lib/gtk-2.0/2.10.0/engines/

but it ' tell =
cp: cannot stat `libubuntulooks.so': No such file or directory
cp: cannot stat `libubuntulooks.la': No such file or directory

i want to know true way of command how i can copy file to engines?
please tell me by step. thank you.

Link to this post 27 May 09

make sure you execute the command in the folder, that contains the file libubuntulooks.so

the command needs to be executes for each file
like:

$sudo cp libubuntulooks.so /usr/lib/gtk-2.0/2.10.0/engines/
$sudo cp libubuntulooks.la /usr/lib/gtk-2.0/2.10.0/engines/

Link to this post 27 May 09

but it ' tell =
cp: cannot stat `libubuntulooks.so': No such file or directory
cp: cannot stat `libubuntulooks.la': No such file or directory


i seems that the cp command does not recognize you files to be copied to engine, where did you run those commands? you must run that commands to the directory containing the files and add -p so that the permission will not change.

;)

Link to this post 27 May 09

thank for Marcus and Arben but i try to do that way it's can't copy same time. like this
tonjaa@tonjaa-desktop:~$ sudo cp libubuntulooks.la /usr/lib/gtk-2.0/2.10.0/engines/
cp: cannot stat `libubuntulooks.la': No such file or directory
i run command on desk top . how to run command to directory?
i try add -p but can't =
tonjaa@tonjaa-desktop:~$ sudo cp -p libubuntulooks.la /usr/lib/gtk-2.0/2.10.0/engines/
[sudo] password for tonjaa:
cp: cannot stat `libubuntulooks.la': No such file or directory

what's the true command ?please help me again.

Link to this post 27 May 09

you first run ls -l in the directory containing libubuntulooks.la then:

sudo cp -rp libubuntulooks.la /usr/lib/gtk-2.0/2.10.0/engines

then show us what you got.

;)

Link to this post 27 May 09

tonjaa@tonjaa-desktop:~$ sudo cp -rp libubuntulooks.la /usr/lib/gtk-2.0/2.10.0/engines
cp: cannot stat `libubuntulooks.la': No such file or directory

i use command but can't copy like same time.
i think because i use command wrong directory . or?
i extract file to desktop in folder name "ubuntulooks engine"
but when i open terminal it's like this
tonjaa@tonjaa-desktop:~$
i don't know the way correct to change directory.
if file libuubuntulooks.la in folder it's correct or not when use command from tonjaa@tonjaa-desktop:~$
if it's not correct directory how to change directory?
tell me again :(

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board