LinuxQuestions.org
Help answer threads with 0 replies.
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 07-21-2022, 08:30 AM   #1
Matthew Wai
Member
 
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 200

Rep: Reputation: Disabled
How can I find the downloads on Linux?


net.lutris.lutris_0.5.2-2_amd64.deb

After installing Linux, when I installed the above package for the first time, Internet connection was necessary because the package had to download something from the Internet. After the installation had been completed, I disconnected Linux from the Internet and reinstalled the same package. This time the package was installed successfully without Internet connection. It goes to show that the downloads were still on Linux, so the package need not download them again. Where are the downloads on Linux. How can I find them? I want to back them up.

The "~/Downloads" folder is empty.
 
Old 07-21-2022, 08:32 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,903

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
it depends on the tool you used to download. What OS is it? How did you download that file exactly?
 
Old 07-21-2022, 08:40 AM   #3
Matthew Wai
Member
 
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 200

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
it depends on the tool you used to download. What OS is it? How did you download that file exactly?
My OS is UnionTech OS Desktop Home.
I just double-clicked on the said Debian package, which started downloading.
I downloaded the package by running the following command from Terminal:

Code:
sudo apt-get --download-only install net.lutris.lutris
 
Old 07-21-2022, 09:09 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,903

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
I see. In that case probably this helps: https://unix.stackexchange.com/quest...pt-get-command
 
1 members found this post helpful.
Old 07-21-2022, 09:26 AM   #5
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,174

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Debian based systems will download files to /var/cache/apt/archive if memory serves me, and then install them from there. This is the same for command line apt usage or any of the various graphical packages.
They stay there until the "apt autoclean" command is run which deletes all the downloads, which some of the graphical tools when they are done.
 
1 members found this post helpful.
Old 07-21-2022, 01:28 PM   #6
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by Matthew Wai View Post
Where are the downloads on Linux. How can I find them? I want to back them up.

The "~/Downloads" folder is empty.
I'm extrapolating from what I see on one of my RaspPis so your situation may be somewhat different. I see downloaded packages in:

/var/cache/apt/archives

What do you see in that directory?

A brute force search for the package file beginning at '/', ought to find out where it 'lives':
Code:
$ find / -type f -iname package-file-name  2>/dev/null
should show you where it is (the above command redirects the inevitable permissions errors to the bit bucket). It could take a minute or more to complete so... patience.
 
2 members found this post helpful.
Old 07-22-2022, 01:18 AM   #7
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
+1 for find. But doesn't it need the -xdev switch (plus a list of relevant file systems from df), to avoid endlessly traversing /sys, /proc, /dev, /run e.g. ???
 
Old 07-22-2022, 08:21 AM   #8
Matthew Wai
Member
 
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 200

Original Poster
Rep: Reputation: Disabled
I apologize for my stupid mistake.
I did not realize that I had already backed up all the dependencies required by the following package:

net.lutris.lutris_0.5.2-2_amd64.deb

As long as I have already installed all the dependencies, the package need not download anything and thus Internet connection is unnecessary.
In case I have not installed the dependencies, the package has to download them into the following folder:
/var/cache/apt/archives/
 
  


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
slackware.org downloads aren't adulterated like mxlinux.org downloads were, right? fresh_orange_0 Slackware 2 04-27-2022 01:22 PM
netinst downloads and apt-get downloads stalling then restarting Frustin Debian 2 03-08-2012 02:36 AM
I can't find my downloads. jonnyursin Linux - Newbie 5 06-27-2008 04:44 PM
XP Downloads Fast ... Ubuntu Downloads Slow :( Dinerty Ubuntu 2 07-23-2006 02:31 PM
Where can I find the downloads which have been downloaded by synaptic? abhishekp Ubuntu 1 02-09-2006 02:21 PM

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

All times are GMT -5. The time now is 02:47 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