LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-04-2019, 06:20 PM   #1
AnneRanch
Member
 
Registered: Oct 2018
Posts: 198

Rep: Reputation: 12
How to download and install


I need some clarification to understand Linux download / install process.
I am using Ubuntu and I can "download" to "Download" directory.
As far as I know "Download" is not part of Linux directories structure.
For example "/usr" is part of Linux directory structure.

So where is (Ubuntu) "Download " in Linux directory structure ?

AFTER I download the zipped files I can move it to another directory.
So WHERE do I move it to keep it under Linux "supervision" ?

Other words - where are user files other than the ones which came with original OS install?


After the zipped file is moved to proper directory I can extract / unzip it to where ?

After it is extracted it usually has "config " or "install" to actually install the executable. Again "install" usually has source / destination options.

My assumption is all of the above is applicable under SINGLE user - currently logged in.


AT this point I am not asking about similar process when the application is retrieved from repository. Maybe I will ask later.
 
Old 03-04-2019, 07:33 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Downloads is in your home dir, you can untar / unzip files in your downloads then move them to where you need them or man the app you using to untar then use the flag to direct it to where to untar the file. use sudo to move to system side.

if you got a deb to install
Code:
sudo dpkg -i package-name
 
Old 03-04-2019, 07:48 PM   #3
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,776

Rep: Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770
The best and smartest way to install is from the default repos for your distribution, using subversion or apt tools.
This is the only way to ensure that they are distribution supported and will not break your system.

PS. No, I do not always follow my own advice, but it is good advice. I have 30+ years of experience. If you have less than ten then avoiding the stable and supported path will lead to cliffs and dragons from time to time.

Best of luck!
 
Old 03-04-2019, 08:51 PM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by AnneRanch View Post
As far as I know "Download" is not part of Linux directories structure.
For example "/usr" is part of Linux directory structure.

So where is (Ubuntu) "Download " in Linux directory structure ?
As BW-userx says, it's normally under /home/USER/Downloads, where USER stands for the name of the account you are using. You can change the download directory in the browser options.
Quote:
AFTER I download the zipped files I can move it to another directory.
So WHERE do I move it to keep it under Linux "supervision" ?
Anywhere, or don't move it.
Linux doesn't supervise your files. Nothing under /home/USER will ever be touched by a self-respecting system program.
Quote:
Other words - where are user files other than the ones which came with original OS install?
/home/USER. Of course, nothing prevents you to copy your files somewhere else, as long as you have permission. For example, /var/tmp.
Quote:
After the zipped file is moved to proper directory I can extract / unzip it to where ?
Anywhere that suits you. I would create a separate directory for it.
Quote:
After it is extracted it usually has "config " or "install" to actually install the executable. Again "install" usually has source / destination options.
That really depends on the particular software you are installing.

One of the standards by which software is distributed is named autoconf, a GNU project. Using autoconf, the developer creates a makefile that builds the software from source, and a configure script that both checks for prerequisites and prepares the environment for building the software. But such software is not normally distributed in ZIP form.
Quote:
My assumption is all of the above is applicable under SINGLE user - currently logged in.
This is no different if several users exist and are logged on at the same time.
Quote:
AT this point I am not asking about similar process when the application is retrieved from repository. Maybe I will ask later.
If you accept me answering your future question: Usually, when you install from an apt, yum, zypper etc. repository, you don't think about download directories or unpack directories. This is all done automatically behind the scenes, although I suppose you can control this manually if you want.
 
2 members found this post helpful.
Old 03-05-2019, 01:39 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
please read
Code:
man hier
afaiu, you are asking about the linux home directory (as opposed to system directories which, somewhat counterintuitive, /usr is also a part of)?

Code:
echo "$HOME"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to download ubuntu 12.04LTS and want to know where to download it? DOC RAS ALI Linux - Newbie 2 04-30-2012 08:55 AM
need to download xine_lib, how to find download and install on puppy 3.0 rickeymay Linux - Newbie 1 04-22-2008 02:37 PM
I download then wait and download and wait... jsheffie SUSE / openSUSE 1 11-04-2005 04:43 PM
Download Manager - download BIG files AndrewMSConvert Linux - General 3 11-09-2003 06:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration