Welcome to the Linux Foundation Forum!

i need help about command copy file.

tonjaa
tonjaa Posts: 19

: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.

Comments

  • disi
    disi Posts: 11
    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/
  • abrenar
    abrenar Posts: 117
    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.

    ;)
  • tonjaa
    tonjaa Posts: 19
    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.
  • abrenar
    abrenar Posts: 117
    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.

    ;)
  • tonjaa
    tonjaa Posts: 19
    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 :(
  • CCC
    CCC Posts: 12
    To change directory, you would need the cd command (e.g. to change to a directory called "directory", type
    cd directory
    
    ). To move up one directory, type
    cd ..
    
    (that's two dots).

    You might find a graphical file browser easier to use; try typing
    konqueror
    
    at the command prompt to get one. (Then click on the little picture of a house in the toolbar to get to your home directory).
  • tonjaa
    tonjaa Posts: 19
    ok. now i know command to change directory.
    it's make me understand when i want to manage file .
    that first time it can't copy file because it's wrong directory.
    and i don't know correct way now i understand in command.
    and i try to learning for command it 's important for use Linux.
    thank you. everybody if i have problem i back again.:lol:

Categories

Upcoming Training