简体   繁体   English

Linux:如何将已安装的目录移动到其他地方?

[英]Linux: how to move the installed directory to other place?

I am using LINUX machine. 我正在使用LINUX机器。

I have install a folder in directory /mnt/sdc1 by running ./configure->make->make install . 我已经通过运行./configure->make->make install在目录/mnt/sdc1安装了一个文件夹。 Right now, I want to move that folder out of /mnt/sdc to ~/New_Place . 现在,我想将该文件夹从/mnt/sdc移到~/New_Place

What is the most convienent way to do this? 最简便的方法是什么? Do I simply mv or do I do cp ? 我是简单的mv还是cp

Do I have to uninstall first? 我必须先uninstall吗?

mv changes the location of a file or directory. mv更改文件或目录的位置。

cp copies a file or directory, and leaves the original alone. cp复制文件或目录,并保留原始文件或目录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM