Ask Your Question
0

Is there any conventions on where to extract a tar.gz file that contains a program?

asked 2019-04-14 09:08:43 -0500

kennethk gravatar image

I have just downloaded a tar.gz file that contains a program (Intellij IDEA). All I need to do is to extract it and then I can run the program. Right now the tar.gz is in ~/Downloads. Where should I extract the program files to? Is there any conventions?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-04-14 15:36:39 -0500

florian gravatar image

updated 2019-04-14 19:21:19 -0500

Maybe use

/opt

See: http://www.pathname.com/fhs/pub/fhs-2...

I usually have a folder ~/bin where I place such stuff because a backup of my home dir then includes a backup of such software.

edit flag offensive delete link more

Comments

Something like that I would also recommend. I also have it in my home folder under a specific folder where I save programs or scripts. You can even hide the folders with a dot before the file name. This way executables do not interfere with personal files.

stonedrebel gravatar imagestonedrebel ( 2019-04-15 05:57:48 -0500 )edit

As /opt is for system-wide additional software, when I need some such programs only for myself, i put them into ~/opt/.

Night Romantic gravatar imageNight Romantic ( 2019-04-15 06:00:01 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-04-14 09:08:43 -0500

Seen: 47 times

Last updated: Apr 14