Thread: How to delete directory after git clone
hello,
i quite new ubuntu. have couple of beginner questions;thanks
- i have checked out source code in directory, not inside home directory, using:
code:git clone git://git.videolan.org/ffmpeg.git ffmpeg-git
i moved folder around (was not in right directory), , delete , start scratch. how can without creating issues git? (i don't see ffmpeg-git in synaptic)
- more generally, best way delete old folders related obsolete or malfunctioning software, or unsuccessful attempts @ installing software ? can 'delete' in file manager? or sudo rm <folder name> ? or there hidden issues?
- another related question: when manually installing packages not available in synaptic, example, downloaded tar.gz, recommended directory structure. example, better use, example:
/home/<program name>/source unpack source code
/home/<program name>/build build software?
as opposed using folders in root directory? there tutorial on subject of best practice directory structure?
just delete ffmpeg-git directory. won't create issues git because each cloned directory contains it's own git information.
it depends on how installed or attempted install compiled software. if used sudo make install, should keep directory until want remove software. once ready uninstall run sudo make uninstall, , can delete directory either in file manager or rm.
if used checkinstall or method integrate software package management system, can delete source directory whenever want because synaptic/apt/aptitude know of installed files are.
i don't think there rules this. whatever comfortable you. example, on 1 distro place them in build directory such as:
...but on 1 (a virtual machine testing) use:code:~/builds/<program name>
note ~ equivalent of user's home directory, such /home/marcjn.code:~/<program name>
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] How to delete directory after git clone
Ubuntu

Comments
Post a Comment