Moving packages - linux command structure
I have done a little research on how the basic command structure works with Linux - with some success. Being a Newbie, new problems turn up nearly every day which causes the old heart to become agitated at times. At the moment I work as root because, I am the only user on the computer - and that I haven't got around to creating a user profile yet. After following tips from the forum and general searches on the net I have been able to download packages onto the desktop and create directories for them - and then moving those packages into directories before unpacking and installing depending on the package format.
My problem at the moment is I downloaded the latest version of wine-0.9.35-i486-1kjz.tgz This file I downloaded to desktop as usual and tried to move it to a directory that I had created before installing it. Well, as you guessed it, I couldn't move it for some reason. I kept on getting "directory doesn't exist" or similar information. I was wondering about the rights as root for moving packages of different formats. I created a directory in /usr/local - which I just called pkg hence mkdir /usr/local/pkg as usual this went ok, but when i tried the following command the package stood still on the desktop "mv desktop/wine-0.9.35-i486-1kjz.tgz/usr/local/pkg/ Can anyone shed some light on my problem - not forgetting that I am a Newbie and I have learned all I know from the internet and friends. Maybe I am doing something totally wrong. Please, please point me int the right direction. bookie |
Quote:
mv desktop/wine-0.9.35-i486-1kjz.tgz /usr/local/pkg/wine-0.9.35-i486-1kjz.tgz Quote:
is the command to add a user well which distro r u using?most of the them have a graphical tool for such purpose! In fedora go system->Administration->UserandGroups. regards, Nirmal Tom |
The first thing I notice is you typed in the mv command without a space between the files. The syntax would be "mv /original/file /destination/file".
Also remember that Linux is case sensitive. On most distros, the desktop folder is in /home/username/Desktop (btw, the command you issued would only work if you were in the home directory. If you run as root, it should be in /root/Desktop I think... By the way, what distro are you using? I'm assuming it's slackware, as it usually archives it's packages like that; in this case, you don't even need to move it, you can install from any dir with installpkg, and then in 99% of the cases you won't need the original package. (I might be wrong) |
re-moving packages
Thanks guys, Nirmaltom was on the right track. I made a typing error on my thread. desktop should have been a capital D . I copied from Nirmaltom, but received "cannot stat" as a reply, so I changed the small d for a capital D and then it moved.
|
hi,
trying too install from source package is good,but the ease of use is really considering rpm,dpkg etc packages regards, Nirmal Tom. |
Hi nirmaltom, sorry, I didn't see your extra post until now. I appreciate the advice.
Thanks a bunch. bookie |
Quote:
i thought u suceeded from ur previous post.Do u still have any problems in installing wine? regards, Nirmal tom. |
update
Hi again, no more problems.
Thanks again. bookie |
All times are GMT -5. The time now is 07:37 PM. |