How do I pause/resume download and install from terminal?












9














I mostly use terminal for installation of programs (as does mostly everybody). However, at times (particularly when I have low battery and no charger wire OR more importantly, when installer file is too big, installation is incomplete and I need to power down my system) I would like to pause the installation (while it is in downloading state) so that I won't loose already downloaded files.



How do I do this?










share|improve this question
























  • Wouldn't it be simpler not to start a long installation when the battery is low? I thought "everybody" new about that.
    – mikewhatever
    Nov 19 '12 at 12:11










  • I start installation with considerable battery (mostly >90%). But I have a slow bandwidth connection and a power saving problem. I get max 25 kB/s on downloads (sometimes 30 kB/s at night). Also focus is on the second condition as that is more frequently occurring.
    – VedVals
    Nov 19 '12 at 12:48


















9














I mostly use terminal for installation of programs (as does mostly everybody). However, at times (particularly when I have low battery and no charger wire OR more importantly, when installer file is too big, installation is incomplete and I need to power down my system) I would like to pause the installation (while it is in downloading state) so that I won't loose already downloaded files.



How do I do this?










share|improve this question
























  • Wouldn't it be simpler not to start a long installation when the battery is low? I thought "everybody" new about that.
    – mikewhatever
    Nov 19 '12 at 12:11










  • I start installation with considerable battery (mostly >90%). But I have a slow bandwidth connection and a power saving problem. I get max 25 kB/s on downloads (sometimes 30 kB/s at night). Also focus is on the second condition as that is more frequently occurring.
    – VedVals
    Nov 19 '12 at 12:48
















9












9








9


8





I mostly use terminal for installation of programs (as does mostly everybody). However, at times (particularly when I have low battery and no charger wire OR more importantly, when installer file is too big, installation is incomplete and I need to power down my system) I would like to pause the installation (while it is in downloading state) so that I won't loose already downloaded files.



How do I do this?










share|improve this question















I mostly use terminal for installation of programs (as does mostly everybody). However, at times (particularly when I have low battery and no charger wire OR more importantly, when installer file is too big, installation is incomplete and I need to power down my system) I would like to pause the installation (while it is in downloading state) so that I won't loose already downloaded files.



How do I do this?







installation command-line apt






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 19 '12 at 12:53

























asked Nov 19 '12 at 11:56









VedVals

1,57662441




1,57662441












  • Wouldn't it be simpler not to start a long installation when the battery is low? I thought "everybody" new about that.
    – mikewhatever
    Nov 19 '12 at 12:11










  • I start installation with considerable battery (mostly >90%). But I have a slow bandwidth connection and a power saving problem. I get max 25 kB/s on downloads (sometimes 30 kB/s at night). Also focus is on the second condition as that is more frequently occurring.
    – VedVals
    Nov 19 '12 at 12:48




















  • Wouldn't it be simpler not to start a long installation when the battery is low? I thought "everybody" new about that.
    – mikewhatever
    Nov 19 '12 at 12:11










  • I start installation with considerable battery (mostly >90%). But I have a slow bandwidth connection and a power saving problem. I get max 25 kB/s on downloads (sometimes 30 kB/s at night). Also focus is on the second condition as that is more frequently occurring.
    – VedVals
    Nov 19 '12 at 12:48


















Wouldn't it be simpler not to start a long installation when the battery is low? I thought "everybody" new about that.
– mikewhatever
Nov 19 '12 at 12:11




Wouldn't it be simpler not to start a long installation when the battery is low? I thought "everybody" new about that.
– mikewhatever
Nov 19 '12 at 12:11












I start installation with considerable battery (mostly >90%). But I have a slow bandwidth connection and a power saving problem. I get max 25 kB/s on downloads (sometimes 30 kB/s at night). Also focus is on the second condition as that is more frequently occurring.
– VedVals
Nov 19 '12 at 12:48






I start installation with considerable battery (mostly >90%). But I have a slow bandwidth connection and a power saving problem. I get max 25 kB/s on downloads (sometimes 30 kB/s at night). Also focus is on the second condition as that is more frequently occurring.
– VedVals
Nov 19 '12 at 12:48












3 Answers
3






active

oldest

votes


















8














Ctrl+c cancels it but next time start from where you left
Ctrl+z stops process but then you can't do another process as it remains locked to the first process



Using one of the above methods is generally better than just closing the terminal, but if you just close the terminal while it's downloading packages, it should start the download right where it stopped next time you run sudo apt-get upgrade



If you want to restart the download after using Ctrl+z:




  1. Check paused tasks by typing jobs in the terminal

  2. To resume a process, type fg

  3. If you have multiple tasks, then type fg 1, fg 2, etc…


Make sure, however, that you never stop it while it's installing the downloaded packages, since this will result in a lock on apt-get, which will require a computer restart or reconfiguration of apt, and you'll have to start at the beginning of the installation.
So make sure to only "pause" (close) the terminal when it's downloading, not installing.



If you would like to start another apt-get process - after pausing the first process, run sudo rm /var/lib/dpkg/lock && sudo rm /var/cache/apt/archives/lock; it won't look like it did anything, but you should be able to start another apt-get process.



To kill a command that you've paused with Ctrl+z, enter kill -9 %x into the terminal, replacing x with the number that the paused process is (see jobs). The process will remain in the list, but it will say "killed" after it instead of "stopped", indicating it is no longer active.





Sources : [ubuntu] How to pause download operation in terminal
Accidently pressed Ctrl-Z in a Linux terminal in Ubuntu Intrepid Ipex. What do I do now?
Starting, Stopping and Managing Jobs in the Ubuntu Terminal









share|improve this answer























  • Tried the answer. Now how to resume?
    – VedVals
    Nov 19 '12 at 13:40










  • @ved2254 Just use fg, assuming you haven't started any other processes. I added it to the answer for consistency.
    – DaimyoKirby
    Nov 19 '12 at 13:45










  • I'm not on my home computer right now, so I'll test this when I get home, but typing fg or fg 1 should "unpause" it.
    – DaimyoKirby
    Nov 19 '12 at 14:05












  • It works. On a side note, I had to stop it as it couldn't connect to the servers. Does this tend to happen? Tried to install Ubuntu Ultimate Edition Theme Pack
    – VedVals
    Nov 19 '12 at 14:13






  • 1




    I added the instructions to the post - sudo rm /var/lib/dpkg/lock && sudo rm /var/cache/apt/archives/lock should unlock it, yet keep the old process so you can recall it later. I think it's just with that package, since I anything else I recall with fg runs like normal, without any server errors. Don't really know what else, sorry. :/ Maybe if you start a new thread someone more knowledgeable could take a look at it.
    – DaimyoKirby
    Nov 22 '12 at 2:03





















0














Find the answer on how I solved it here. or follow this
link https://superuser.com/a/1388933/979057 . I run grep VERSION /etc/os-release
VERSION="2019.1"
VERSION_ID="2019.1"
Linux psycho 4.18.0-kali3-amd64 #1 SMP Debian 4.18.20-2kali2 (2018-11-30) x86_64 GNU/Linux






share|improve this answer








New contributor




Thorne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
    – Martin Thornton
    Dec 30 '18 at 19:55



















-2














If you want to pause the downloaded files from terminal, I hope you have downloading something url. Just copy it first. and enter this lines in that terminal



wget -m -P [download-url]


It can pulse the downloading files. Where as you want to resume to download or even after net is disconnected, want to resume the file. Simply run this in terminal:



wget -c -m -P [brokern url]


or



wget --continue [broken url]





share|improve this answer



















  • 1




    a little confusing. We want apt-get, not wget
    – Find Me In The Woods
    Jun 2 '15 at 14:20










  • What are you trying to pulse?
    – Yaakov Ainspan
    Jan 30 '17 at 1:14











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f219242%2fhow-do-i-pause-resume-download-and-install-from-terminal%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























3 Answers
3






active

oldest

votes








3 Answers
3






active

oldest

votes









active

oldest

votes






active

oldest

votes









8














Ctrl+c cancels it but next time start from where you left
Ctrl+z stops process but then you can't do another process as it remains locked to the first process



Using one of the above methods is generally better than just closing the terminal, but if you just close the terminal while it's downloading packages, it should start the download right where it stopped next time you run sudo apt-get upgrade



If you want to restart the download after using Ctrl+z:




  1. Check paused tasks by typing jobs in the terminal

  2. To resume a process, type fg

  3. If you have multiple tasks, then type fg 1, fg 2, etc…


Make sure, however, that you never stop it while it's installing the downloaded packages, since this will result in a lock on apt-get, which will require a computer restart or reconfiguration of apt, and you'll have to start at the beginning of the installation.
So make sure to only "pause" (close) the terminal when it's downloading, not installing.



If you would like to start another apt-get process - after pausing the first process, run sudo rm /var/lib/dpkg/lock && sudo rm /var/cache/apt/archives/lock; it won't look like it did anything, but you should be able to start another apt-get process.



To kill a command that you've paused with Ctrl+z, enter kill -9 %x into the terminal, replacing x with the number that the paused process is (see jobs). The process will remain in the list, but it will say "killed" after it instead of "stopped", indicating it is no longer active.





Sources : [ubuntu] How to pause download operation in terminal
Accidently pressed Ctrl-Z in a Linux terminal in Ubuntu Intrepid Ipex. What do I do now?
Starting, Stopping and Managing Jobs in the Ubuntu Terminal









share|improve this answer























  • Tried the answer. Now how to resume?
    – VedVals
    Nov 19 '12 at 13:40










  • @ved2254 Just use fg, assuming you haven't started any other processes. I added it to the answer for consistency.
    – DaimyoKirby
    Nov 19 '12 at 13:45










  • I'm not on my home computer right now, so I'll test this when I get home, but typing fg or fg 1 should "unpause" it.
    – DaimyoKirby
    Nov 19 '12 at 14:05












  • It works. On a side note, I had to stop it as it couldn't connect to the servers. Does this tend to happen? Tried to install Ubuntu Ultimate Edition Theme Pack
    – VedVals
    Nov 19 '12 at 14:13






  • 1




    I added the instructions to the post - sudo rm /var/lib/dpkg/lock && sudo rm /var/cache/apt/archives/lock should unlock it, yet keep the old process so you can recall it later. I think it's just with that package, since I anything else I recall with fg runs like normal, without any server errors. Don't really know what else, sorry. :/ Maybe if you start a new thread someone more knowledgeable could take a look at it.
    – DaimyoKirby
    Nov 22 '12 at 2:03


















8














Ctrl+c cancels it but next time start from where you left
Ctrl+z stops process but then you can't do another process as it remains locked to the first process



Using one of the above methods is generally better than just closing the terminal, but if you just close the terminal while it's downloading packages, it should start the download right where it stopped next time you run sudo apt-get upgrade



If you want to restart the download after using Ctrl+z:




  1. Check paused tasks by typing jobs in the terminal

  2. To resume a process, type fg

  3. If you have multiple tasks, then type fg 1, fg 2, etc…


Make sure, however, that you never stop it while it's installing the downloaded packages, since this will result in a lock on apt-get, which will require a computer restart or reconfiguration of apt, and you'll have to start at the beginning of the installation.
So make sure to only "pause" (close) the terminal when it's downloading, not installing.



If you would like to start another apt-get process - after pausing the first process, run sudo rm /var/lib/dpkg/lock && sudo rm /var/cache/apt/archives/lock; it won't look like it did anything, but you should be able to start another apt-get process.



To kill a command that you've paused with Ctrl+z, enter kill -9 %x into the terminal, replacing x with the number that the paused process is (see jobs). The process will remain in the list, but it will say "killed" after it instead of "stopped", indicating it is no longer active.





Sources : [ubuntu] How to pause download operation in terminal
Accidently pressed Ctrl-Z in a Linux terminal in Ubuntu Intrepid Ipex. What do I do now?
Starting, Stopping and Managing Jobs in the Ubuntu Terminal









share|improve this answer























  • Tried the answer. Now how to resume?
    – VedVals
    Nov 19 '12 at 13:40










  • @ved2254 Just use fg, assuming you haven't started any other processes. I added it to the answer for consistency.
    – DaimyoKirby
    Nov 19 '12 at 13:45










  • I'm not on my home computer right now, so I'll test this when I get home, but typing fg or fg 1 should "unpause" it.
    – DaimyoKirby
    Nov 19 '12 at 14:05












  • It works. On a side note, I had to stop it as it couldn't connect to the servers. Does this tend to happen? Tried to install Ubuntu Ultimate Edition Theme Pack
    – VedVals
    Nov 19 '12 at 14:13






  • 1




    I added the instructions to the post - sudo rm /var/lib/dpkg/lock && sudo rm /var/cache/apt/archives/lock should unlock it, yet keep the old process so you can recall it later. I think it's just with that package, since I anything else I recall with fg runs like normal, without any server errors. Don't really know what else, sorry. :/ Maybe if you start a new thread someone more knowledgeable could take a look at it.
    – DaimyoKirby
    Nov 22 '12 at 2:03
















8












8








8






Ctrl+c cancels it but next time start from where you left
Ctrl+z stops process but then you can't do another process as it remains locked to the first process



Using one of the above methods is generally better than just closing the terminal, but if you just close the terminal while it's downloading packages, it should start the download right where it stopped next time you run sudo apt-get upgrade



If you want to restart the download after using Ctrl+z:




  1. Check paused tasks by typing jobs in the terminal

  2. To resume a process, type fg

  3. If you have multiple tasks, then type fg 1, fg 2, etc…


Make sure, however, that you never stop it while it's installing the downloaded packages, since this will result in a lock on apt-get, which will require a computer restart or reconfiguration of apt, and you'll have to start at the beginning of the installation.
So make sure to only "pause" (close) the terminal when it's downloading, not installing.



If you would like to start another apt-get process - after pausing the first process, run sudo rm /var/lib/dpkg/lock && sudo rm /var/cache/apt/archives/lock; it won't look like it did anything, but you should be able to start another apt-get process.



To kill a command that you've paused with Ctrl+z, enter kill -9 %x into the terminal, replacing x with the number that the paused process is (see jobs). The process will remain in the list, but it will say "killed" after it instead of "stopped", indicating it is no longer active.





Sources : [ubuntu] How to pause download operation in terminal
Accidently pressed Ctrl-Z in a Linux terminal in Ubuntu Intrepid Ipex. What do I do now?
Starting, Stopping and Managing Jobs in the Ubuntu Terminal









share|improve this answer














Ctrl+c cancels it but next time start from where you left
Ctrl+z stops process but then you can't do another process as it remains locked to the first process



Using one of the above methods is generally better than just closing the terminal, but if you just close the terminal while it's downloading packages, it should start the download right where it stopped next time you run sudo apt-get upgrade



If you want to restart the download after using Ctrl+z:




  1. Check paused tasks by typing jobs in the terminal

  2. To resume a process, type fg

  3. If you have multiple tasks, then type fg 1, fg 2, etc…


Make sure, however, that you never stop it while it's installing the downloaded packages, since this will result in a lock on apt-get, which will require a computer restart or reconfiguration of apt, and you'll have to start at the beginning of the installation.
So make sure to only "pause" (close) the terminal when it's downloading, not installing.



If you would like to start another apt-get process - after pausing the first process, run sudo rm /var/lib/dpkg/lock && sudo rm /var/cache/apt/archives/lock; it won't look like it did anything, but you should be able to start another apt-get process.



To kill a command that you've paused with Ctrl+z, enter kill -9 %x into the terminal, replacing x with the number that the paused process is (see jobs). The process will remain in the list, but it will say "killed" after it instead of "stopped", indicating it is no longer active.





Sources : [ubuntu] How to pause download operation in terminal
Accidently pressed Ctrl-Z in a Linux terminal in Ubuntu Intrepid Ipex. What do I do now?
Starting, Stopping and Managing Jobs in the Ubuntu Terminal










share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 22 '12 at 2:16

























answered Nov 19 '12 at 13:13









DaimyoKirby

2,67332247




2,67332247












  • Tried the answer. Now how to resume?
    – VedVals
    Nov 19 '12 at 13:40










  • @ved2254 Just use fg, assuming you haven't started any other processes. I added it to the answer for consistency.
    – DaimyoKirby
    Nov 19 '12 at 13:45










  • I'm not on my home computer right now, so I'll test this when I get home, but typing fg or fg 1 should "unpause" it.
    – DaimyoKirby
    Nov 19 '12 at 14:05












  • It works. On a side note, I had to stop it as it couldn't connect to the servers. Does this tend to happen? Tried to install Ubuntu Ultimate Edition Theme Pack
    – VedVals
    Nov 19 '12 at 14:13






  • 1




    I added the instructions to the post - sudo rm /var/lib/dpkg/lock && sudo rm /var/cache/apt/archives/lock should unlock it, yet keep the old process so you can recall it later. I think it's just with that package, since I anything else I recall with fg runs like normal, without any server errors. Don't really know what else, sorry. :/ Maybe if you start a new thread someone more knowledgeable could take a look at it.
    – DaimyoKirby
    Nov 22 '12 at 2:03




















  • Tried the answer. Now how to resume?
    – VedVals
    Nov 19 '12 at 13:40










  • @ved2254 Just use fg, assuming you haven't started any other processes. I added it to the answer for consistency.
    – DaimyoKirby
    Nov 19 '12 at 13:45










  • I'm not on my home computer right now, so I'll test this when I get home, but typing fg or fg 1 should "unpause" it.
    – DaimyoKirby
    Nov 19 '12 at 14:05












  • It works. On a side note, I had to stop it as it couldn't connect to the servers. Does this tend to happen? Tried to install Ubuntu Ultimate Edition Theme Pack
    – VedVals
    Nov 19 '12 at 14:13






  • 1




    I added the instructions to the post - sudo rm /var/lib/dpkg/lock && sudo rm /var/cache/apt/archives/lock should unlock it, yet keep the old process so you can recall it later. I think it's just with that package, since I anything else I recall with fg runs like normal, without any server errors. Don't really know what else, sorry. :/ Maybe if you start a new thread someone more knowledgeable could take a look at it.
    – DaimyoKirby
    Nov 22 '12 at 2:03


















Tried the answer. Now how to resume?
– VedVals
Nov 19 '12 at 13:40




Tried the answer. Now how to resume?
– VedVals
Nov 19 '12 at 13:40












@ved2254 Just use fg, assuming you haven't started any other processes. I added it to the answer for consistency.
– DaimyoKirby
Nov 19 '12 at 13:45




@ved2254 Just use fg, assuming you haven't started any other processes. I added it to the answer for consistency.
– DaimyoKirby
Nov 19 '12 at 13:45












I'm not on my home computer right now, so I'll test this when I get home, but typing fg or fg 1 should "unpause" it.
– DaimyoKirby
Nov 19 '12 at 14:05






I'm not on my home computer right now, so I'll test this when I get home, but typing fg or fg 1 should "unpause" it.
– DaimyoKirby
Nov 19 '12 at 14:05














It works. On a side note, I had to stop it as it couldn't connect to the servers. Does this tend to happen? Tried to install Ubuntu Ultimate Edition Theme Pack
– VedVals
Nov 19 '12 at 14:13




It works. On a side note, I had to stop it as it couldn't connect to the servers. Does this tend to happen? Tried to install Ubuntu Ultimate Edition Theme Pack
– VedVals
Nov 19 '12 at 14:13




1




1




I added the instructions to the post - sudo rm /var/lib/dpkg/lock && sudo rm /var/cache/apt/archives/lock should unlock it, yet keep the old process so you can recall it later. I think it's just with that package, since I anything else I recall with fg runs like normal, without any server errors. Don't really know what else, sorry. :/ Maybe if you start a new thread someone more knowledgeable could take a look at it.
– DaimyoKirby
Nov 22 '12 at 2:03






I added the instructions to the post - sudo rm /var/lib/dpkg/lock && sudo rm /var/cache/apt/archives/lock should unlock it, yet keep the old process so you can recall it later. I think it's just with that package, since I anything else I recall with fg runs like normal, without any server errors. Don't really know what else, sorry. :/ Maybe if you start a new thread someone more knowledgeable could take a look at it.
– DaimyoKirby
Nov 22 '12 at 2:03















0














Find the answer on how I solved it here. or follow this
link https://superuser.com/a/1388933/979057 . I run grep VERSION /etc/os-release
VERSION="2019.1"
VERSION_ID="2019.1"
Linux psycho 4.18.0-kali3-amd64 #1 SMP Debian 4.18.20-2kali2 (2018-11-30) x86_64 GNU/Linux






share|improve this answer








New contributor




Thorne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
    – Martin Thornton
    Dec 30 '18 at 19:55
















0














Find the answer on how I solved it here. or follow this
link https://superuser.com/a/1388933/979057 . I run grep VERSION /etc/os-release
VERSION="2019.1"
VERSION_ID="2019.1"
Linux psycho 4.18.0-kali3-amd64 #1 SMP Debian 4.18.20-2kali2 (2018-11-30) x86_64 GNU/Linux






share|improve this answer








New contributor




Thorne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
    – Martin Thornton
    Dec 30 '18 at 19:55














0












0








0






Find the answer on how I solved it here. or follow this
link https://superuser.com/a/1388933/979057 . I run grep VERSION /etc/os-release
VERSION="2019.1"
VERSION_ID="2019.1"
Linux psycho 4.18.0-kali3-amd64 #1 SMP Debian 4.18.20-2kali2 (2018-11-30) x86_64 GNU/Linux






share|improve this answer








New contributor




Thorne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









Find the answer on how I solved it here. or follow this
link https://superuser.com/a/1388933/979057 . I run grep VERSION /etc/os-release
VERSION="2019.1"
VERSION_ID="2019.1"
Linux psycho 4.18.0-kali3-amd64 #1 SMP Debian 4.18.20-2kali2 (2018-11-30) x86_64 GNU/Linux







share|improve this answer








New contributor




Thorne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer






New contributor




Thorne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered Dec 30 '18 at 10:39









Thorne

11




11




New contributor




Thorne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Thorne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Thorne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
    – Martin Thornton
    Dec 30 '18 at 19:55


















  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
    – Martin Thornton
    Dec 30 '18 at 19:55
















While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
– Martin Thornton
Dec 30 '18 at 19:55




While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
– Martin Thornton
Dec 30 '18 at 19:55











-2














If you want to pause the downloaded files from terminal, I hope you have downloading something url. Just copy it first. and enter this lines in that terminal



wget -m -P [download-url]


It can pulse the downloading files. Where as you want to resume to download or even after net is disconnected, want to resume the file. Simply run this in terminal:



wget -c -m -P [brokern url]


or



wget --continue [broken url]





share|improve this answer



















  • 1




    a little confusing. We want apt-get, not wget
    – Find Me In The Woods
    Jun 2 '15 at 14:20










  • What are you trying to pulse?
    – Yaakov Ainspan
    Jan 30 '17 at 1:14
















-2














If you want to pause the downloaded files from terminal, I hope you have downloading something url. Just copy it first. and enter this lines in that terminal



wget -m -P [download-url]


It can pulse the downloading files. Where as you want to resume to download or even after net is disconnected, want to resume the file. Simply run this in terminal:



wget -c -m -P [brokern url]


or



wget --continue [broken url]





share|improve this answer



















  • 1




    a little confusing. We want apt-get, not wget
    – Find Me In The Woods
    Jun 2 '15 at 14:20










  • What are you trying to pulse?
    – Yaakov Ainspan
    Jan 30 '17 at 1:14














-2












-2








-2






If you want to pause the downloaded files from terminal, I hope you have downloading something url. Just copy it first. and enter this lines in that terminal



wget -m -P [download-url]


It can pulse the downloading files. Where as you want to resume to download or even after net is disconnected, want to resume the file. Simply run this in terminal:



wget -c -m -P [brokern url]


or



wget --continue [broken url]





share|improve this answer














If you want to pause the downloaded files from terminal, I hope you have downloading something url. Just copy it first. and enter this lines in that terminal



wget -m -P [download-url]


It can pulse the downloading files. Where as you want to resume to download or even after net is disconnected, want to resume the file. Simply run this in terminal:



wget -c -m -P [brokern url]


or



wget --continue [broken url]






share|improve this answer














share|improve this answer



share|improve this answer








edited Jun 2 '15 at 14:06









Jens Erat

4,11972031




4,11972031










answered Jun 2 '15 at 13:33









Venu A Positive

1011




1011








  • 1




    a little confusing. We want apt-get, not wget
    – Find Me In The Woods
    Jun 2 '15 at 14:20










  • What are you trying to pulse?
    – Yaakov Ainspan
    Jan 30 '17 at 1:14














  • 1




    a little confusing. We want apt-get, not wget
    – Find Me In The Woods
    Jun 2 '15 at 14:20










  • What are you trying to pulse?
    – Yaakov Ainspan
    Jan 30 '17 at 1:14








1




1




a little confusing. We want apt-get, not wget
– Find Me In The Woods
Jun 2 '15 at 14:20




a little confusing. We want apt-get, not wget
– Find Me In The Woods
Jun 2 '15 at 14:20












What are you trying to pulse?
– Yaakov Ainspan
Jan 30 '17 at 1:14




What are you trying to pulse?
– Yaakov Ainspan
Jan 30 '17 at 1:14


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f219242%2fhow-do-i-pause-resume-download-and-install-from-terminal%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Category:香港粉麵

List *all* the tuples!

Channel [V]