Ubuntu 16.04 LTS Upgrade and Command Terminal File

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I have ubuntu 16.04 LTS installed on my HP Compaq 6005 SFF and I want to have a way to where I can upgrade my computer easily to newer versions and as well create a command list file to execute in any terminal application to install a list of apps that I need to install.



Heres the list of commands that I want



---LINK TO FILE ATTACHED---



This is the list of apps that I use every day on Ubuntu (most of them anyway) but I wouldn't mind having a way to make all of these apps simple and easy to install on a fresh new Ubuntu installation every time.



Link: File For Ubuntu Commands







share|improve this question




















  • You do not need to add sudo apt-get install on any line, you can combine the installation into one command sudo apt-get install synaptic yakuake .... etc. Though in your list there is a multitude of closed source software that will not install in that way.
    – Bruni
    May 15 at 13:45











  • ok then so how can I get it all to work in one file that I can just execute on any Linux distro (some anyway, mostly mint and ubuntu)
    – CalebO5
    May 15 at 18:50














up vote
0
down vote

favorite












I have ubuntu 16.04 LTS installed on my HP Compaq 6005 SFF and I want to have a way to where I can upgrade my computer easily to newer versions and as well create a command list file to execute in any terminal application to install a list of apps that I need to install.



Heres the list of commands that I want



---LINK TO FILE ATTACHED---



This is the list of apps that I use every day on Ubuntu (most of them anyway) but I wouldn't mind having a way to make all of these apps simple and easy to install on a fresh new Ubuntu installation every time.



Link: File For Ubuntu Commands







share|improve this question




















  • You do not need to add sudo apt-get install on any line, you can combine the installation into one command sudo apt-get install synaptic yakuake .... etc. Though in your list there is a multitude of closed source software that will not install in that way.
    – Bruni
    May 15 at 13:45











  • ok then so how can I get it all to work in one file that I can just execute on any Linux distro (some anyway, mostly mint and ubuntu)
    – CalebO5
    May 15 at 18:50












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have ubuntu 16.04 LTS installed on my HP Compaq 6005 SFF and I want to have a way to where I can upgrade my computer easily to newer versions and as well create a command list file to execute in any terminal application to install a list of apps that I need to install.



Heres the list of commands that I want



---LINK TO FILE ATTACHED---



This is the list of apps that I use every day on Ubuntu (most of them anyway) but I wouldn't mind having a way to make all of these apps simple and easy to install on a fresh new Ubuntu installation every time.



Link: File For Ubuntu Commands







share|improve this question












I have ubuntu 16.04 LTS installed on my HP Compaq 6005 SFF and I want to have a way to where I can upgrade my computer easily to newer versions and as well create a command list file to execute in any terminal application to install a list of apps that I need to install.



Heres the list of commands that I want



---LINK TO FILE ATTACHED---



This is the list of apps that I use every day on Ubuntu (most of them anyway) but I wouldn't mind having a way to make all of these apps simple and easy to install on a fresh new Ubuntu installation every time.



Link: File For Ubuntu Commands









share|improve this question











share|improve this question




share|improve this question










asked May 15 at 13:18









CalebO5

176




176











  • You do not need to add sudo apt-get install on any line, you can combine the installation into one command sudo apt-get install synaptic yakuake .... etc. Though in your list there is a multitude of closed source software that will not install in that way.
    – Bruni
    May 15 at 13:45











  • ok then so how can I get it all to work in one file that I can just execute on any Linux distro (some anyway, mostly mint and ubuntu)
    – CalebO5
    May 15 at 18:50
















  • You do not need to add sudo apt-get install on any line, you can combine the installation into one command sudo apt-get install synaptic yakuake .... etc. Though in your list there is a multitude of closed source software that will not install in that way.
    – Bruni
    May 15 at 13:45











  • ok then so how can I get it all to work in one file that I can just execute on any Linux distro (some anyway, mostly mint and ubuntu)
    – CalebO5
    May 15 at 18:50















You do not need to add sudo apt-get install on any line, you can combine the installation into one command sudo apt-get install synaptic yakuake .... etc. Though in your list there is a multitude of closed source software that will not install in that way.
– Bruni
May 15 at 13:45





You do not need to add sudo apt-get install on any line, you can combine the installation into one command sudo apt-get install synaptic yakuake .... etc. Though in your list there is a multitude of closed source software that will not install in that way.
– Bruni
May 15 at 13:45













ok then so how can I get it all to work in one file that I can just execute on any Linux distro (some anyway, mostly mint and ubuntu)
– CalebO5
May 15 at 18:50




ok then so how can I get it all to work in one file that I can just execute on any Linux distro (some anyway, mostly mint and ubuntu)
– CalebO5
May 15 at 18:50










1 Answer
1






active

oldest

votes

















up vote
0
down vote













A natural approach to achieve what you appear to want, is to write a script, for example a bash script. As it appears that you don't know what a script is, I'm going to provide you with a very simple approach, that lacks almost any possible optimization, but is in exchange for this pretty close to what you already have, which might support your understanding and could serve as a basis to build upon a more advanced solution.



This is how your script could look like:



#!/bin/bash
sudo apt-get --yes update
sudo apt-get --yes upgrade
# reboot is not necessary here, it would also makes things more complicated
sudo apt-get --yes install synaptic
sudo apt-get --yes install software-center
sudo apt-get --yes install gdebi
sudo apt-get --yes install bleachbit
sudo apt-get --yes install yakuake
sudo apt-get --yes install unity-tweak-tool
sudo apt-get --yes install neofetch
sudo apt-get --yes install vlc
sudo apt-get --yes install caffeine
sudo apt-get --yes install gimp
sudo apt-get --yes install virtualbox
sudo apt-get --yes install ubuntu-restricted-extras
sudo apt-get --yes install google-chrome
sudo apt-get --yes install dropbox
sudo apt-get --yes install atom
sudo apt-get --yes install pyhton
sudo apt-get --yes install kdenlive
sudo apt-get --yes install transmission
sudo apt-get --yes install audacity
sudo apt-get --yes install wine
sudo apt-get --yes update
sudo apt-get --yes upgrade
sudo shutdown -r now # the reboot


As you most likely noticed, the only thing I really added is the --yes to run everything in non-interactive mode, so it stops asking for permission to install all the stuff. Read this short introduction (or any other you might find useful) to get a bit understanding of how this is working in general and how to run the script.



As I already mentioned at the beginning, this script is very, very primitve and could (should) be improved in multiple ways. Good candidates for improvement would be to find a way do avoid the necessity to write sudo prior to every command while still making sure everything gets executed with the correct privileges, to reduce the overall amount of repetitive code used, to make sure you truly need the trailing update and upgrade and I'm pretty sure the people around here might have additional ideas I forgot to improve this script. You might want to use this template and the given advice to find your own way into scripting.






share|improve this answer




















  • Thank you so much for this! So I just input this whole command list into my terminal and I have my command executable file? Correct?
    – CalebO5
    May 16 at 18:54










  • @CalebO5 You haven't read the tutorial I provided you the link to in my answer, have you? It is all explained there.
    – Wanderer
    May 17 at 9:14










  • Oh, I didn't see the link but now I see how the file is made this way.
    – CalebO5
    May 17 at 11:18










  • Now if I upgrade to Ubuntu 17.04, 17.10, or 18.04. All of these apps are compatible, Yes?
    – CalebO5
    May 17 at 11:58










  • I don't get it when I run the command above, it doesn't give me anything, I want the file to be on my desktop for easy access to the commands when I need to access them
    – CalebO5
    May 17 at 13:13










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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
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%2f1036528%2fubuntu-16-04-lts-upgrade-and-command-terminal-file%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













A natural approach to achieve what you appear to want, is to write a script, for example a bash script. As it appears that you don't know what a script is, I'm going to provide you with a very simple approach, that lacks almost any possible optimization, but is in exchange for this pretty close to what you already have, which might support your understanding and could serve as a basis to build upon a more advanced solution.



This is how your script could look like:



#!/bin/bash
sudo apt-get --yes update
sudo apt-get --yes upgrade
# reboot is not necessary here, it would also makes things more complicated
sudo apt-get --yes install synaptic
sudo apt-get --yes install software-center
sudo apt-get --yes install gdebi
sudo apt-get --yes install bleachbit
sudo apt-get --yes install yakuake
sudo apt-get --yes install unity-tweak-tool
sudo apt-get --yes install neofetch
sudo apt-get --yes install vlc
sudo apt-get --yes install caffeine
sudo apt-get --yes install gimp
sudo apt-get --yes install virtualbox
sudo apt-get --yes install ubuntu-restricted-extras
sudo apt-get --yes install google-chrome
sudo apt-get --yes install dropbox
sudo apt-get --yes install atom
sudo apt-get --yes install pyhton
sudo apt-get --yes install kdenlive
sudo apt-get --yes install transmission
sudo apt-get --yes install audacity
sudo apt-get --yes install wine
sudo apt-get --yes update
sudo apt-get --yes upgrade
sudo shutdown -r now # the reboot


As you most likely noticed, the only thing I really added is the --yes to run everything in non-interactive mode, so it stops asking for permission to install all the stuff. Read this short introduction (or any other you might find useful) to get a bit understanding of how this is working in general and how to run the script.



As I already mentioned at the beginning, this script is very, very primitve and could (should) be improved in multiple ways. Good candidates for improvement would be to find a way do avoid the necessity to write sudo prior to every command while still making sure everything gets executed with the correct privileges, to reduce the overall amount of repetitive code used, to make sure you truly need the trailing update and upgrade and I'm pretty sure the people around here might have additional ideas I forgot to improve this script. You might want to use this template and the given advice to find your own way into scripting.






share|improve this answer




















  • Thank you so much for this! So I just input this whole command list into my terminal and I have my command executable file? Correct?
    – CalebO5
    May 16 at 18:54










  • @CalebO5 You haven't read the tutorial I provided you the link to in my answer, have you? It is all explained there.
    – Wanderer
    May 17 at 9:14










  • Oh, I didn't see the link but now I see how the file is made this way.
    – CalebO5
    May 17 at 11:18










  • Now if I upgrade to Ubuntu 17.04, 17.10, or 18.04. All of these apps are compatible, Yes?
    – CalebO5
    May 17 at 11:58










  • I don't get it when I run the command above, it doesn't give me anything, I want the file to be on my desktop for easy access to the commands when I need to access them
    – CalebO5
    May 17 at 13:13














up vote
0
down vote













A natural approach to achieve what you appear to want, is to write a script, for example a bash script. As it appears that you don't know what a script is, I'm going to provide you with a very simple approach, that lacks almost any possible optimization, but is in exchange for this pretty close to what you already have, which might support your understanding and could serve as a basis to build upon a more advanced solution.



This is how your script could look like:



#!/bin/bash
sudo apt-get --yes update
sudo apt-get --yes upgrade
# reboot is not necessary here, it would also makes things more complicated
sudo apt-get --yes install synaptic
sudo apt-get --yes install software-center
sudo apt-get --yes install gdebi
sudo apt-get --yes install bleachbit
sudo apt-get --yes install yakuake
sudo apt-get --yes install unity-tweak-tool
sudo apt-get --yes install neofetch
sudo apt-get --yes install vlc
sudo apt-get --yes install caffeine
sudo apt-get --yes install gimp
sudo apt-get --yes install virtualbox
sudo apt-get --yes install ubuntu-restricted-extras
sudo apt-get --yes install google-chrome
sudo apt-get --yes install dropbox
sudo apt-get --yes install atom
sudo apt-get --yes install pyhton
sudo apt-get --yes install kdenlive
sudo apt-get --yes install transmission
sudo apt-get --yes install audacity
sudo apt-get --yes install wine
sudo apt-get --yes update
sudo apt-get --yes upgrade
sudo shutdown -r now # the reboot


As you most likely noticed, the only thing I really added is the --yes to run everything in non-interactive mode, so it stops asking for permission to install all the stuff. Read this short introduction (or any other you might find useful) to get a bit understanding of how this is working in general and how to run the script.



As I already mentioned at the beginning, this script is very, very primitve and could (should) be improved in multiple ways. Good candidates for improvement would be to find a way do avoid the necessity to write sudo prior to every command while still making sure everything gets executed with the correct privileges, to reduce the overall amount of repetitive code used, to make sure you truly need the trailing update and upgrade and I'm pretty sure the people around here might have additional ideas I forgot to improve this script. You might want to use this template and the given advice to find your own way into scripting.






share|improve this answer




















  • Thank you so much for this! So I just input this whole command list into my terminal and I have my command executable file? Correct?
    – CalebO5
    May 16 at 18:54










  • @CalebO5 You haven't read the tutorial I provided you the link to in my answer, have you? It is all explained there.
    – Wanderer
    May 17 at 9:14










  • Oh, I didn't see the link but now I see how the file is made this way.
    – CalebO5
    May 17 at 11:18










  • Now if I upgrade to Ubuntu 17.04, 17.10, or 18.04. All of these apps are compatible, Yes?
    – CalebO5
    May 17 at 11:58










  • I don't get it when I run the command above, it doesn't give me anything, I want the file to be on my desktop for easy access to the commands when I need to access them
    – CalebO5
    May 17 at 13:13












up vote
0
down vote










up vote
0
down vote









A natural approach to achieve what you appear to want, is to write a script, for example a bash script. As it appears that you don't know what a script is, I'm going to provide you with a very simple approach, that lacks almost any possible optimization, but is in exchange for this pretty close to what you already have, which might support your understanding and could serve as a basis to build upon a more advanced solution.



This is how your script could look like:



#!/bin/bash
sudo apt-get --yes update
sudo apt-get --yes upgrade
# reboot is not necessary here, it would also makes things more complicated
sudo apt-get --yes install synaptic
sudo apt-get --yes install software-center
sudo apt-get --yes install gdebi
sudo apt-get --yes install bleachbit
sudo apt-get --yes install yakuake
sudo apt-get --yes install unity-tweak-tool
sudo apt-get --yes install neofetch
sudo apt-get --yes install vlc
sudo apt-get --yes install caffeine
sudo apt-get --yes install gimp
sudo apt-get --yes install virtualbox
sudo apt-get --yes install ubuntu-restricted-extras
sudo apt-get --yes install google-chrome
sudo apt-get --yes install dropbox
sudo apt-get --yes install atom
sudo apt-get --yes install pyhton
sudo apt-get --yes install kdenlive
sudo apt-get --yes install transmission
sudo apt-get --yes install audacity
sudo apt-get --yes install wine
sudo apt-get --yes update
sudo apt-get --yes upgrade
sudo shutdown -r now # the reboot


As you most likely noticed, the only thing I really added is the --yes to run everything in non-interactive mode, so it stops asking for permission to install all the stuff. Read this short introduction (or any other you might find useful) to get a bit understanding of how this is working in general and how to run the script.



As I already mentioned at the beginning, this script is very, very primitve and could (should) be improved in multiple ways. Good candidates for improvement would be to find a way do avoid the necessity to write sudo prior to every command while still making sure everything gets executed with the correct privileges, to reduce the overall amount of repetitive code used, to make sure you truly need the trailing update and upgrade and I'm pretty sure the people around here might have additional ideas I forgot to improve this script. You might want to use this template and the given advice to find your own way into scripting.






share|improve this answer












A natural approach to achieve what you appear to want, is to write a script, for example a bash script. As it appears that you don't know what a script is, I'm going to provide you with a very simple approach, that lacks almost any possible optimization, but is in exchange for this pretty close to what you already have, which might support your understanding and could serve as a basis to build upon a more advanced solution.



This is how your script could look like:



#!/bin/bash
sudo apt-get --yes update
sudo apt-get --yes upgrade
# reboot is not necessary here, it would also makes things more complicated
sudo apt-get --yes install synaptic
sudo apt-get --yes install software-center
sudo apt-get --yes install gdebi
sudo apt-get --yes install bleachbit
sudo apt-get --yes install yakuake
sudo apt-get --yes install unity-tweak-tool
sudo apt-get --yes install neofetch
sudo apt-get --yes install vlc
sudo apt-get --yes install caffeine
sudo apt-get --yes install gimp
sudo apt-get --yes install virtualbox
sudo apt-get --yes install ubuntu-restricted-extras
sudo apt-get --yes install google-chrome
sudo apt-get --yes install dropbox
sudo apt-get --yes install atom
sudo apt-get --yes install pyhton
sudo apt-get --yes install kdenlive
sudo apt-get --yes install transmission
sudo apt-get --yes install audacity
sudo apt-get --yes install wine
sudo apt-get --yes update
sudo apt-get --yes upgrade
sudo shutdown -r now # the reboot


As you most likely noticed, the only thing I really added is the --yes to run everything in non-interactive mode, so it stops asking for permission to install all the stuff. Read this short introduction (or any other you might find useful) to get a bit understanding of how this is working in general and how to run the script.



As I already mentioned at the beginning, this script is very, very primitve and could (should) be improved in multiple ways. Good candidates for improvement would be to find a way do avoid the necessity to write sudo prior to every command while still making sure everything gets executed with the correct privileges, to reduce the overall amount of repetitive code used, to make sure you truly need the trailing update and upgrade and I'm pretty sure the people around here might have additional ideas I forgot to improve this script. You might want to use this template and the given advice to find your own way into scripting.







share|improve this answer












share|improve this answer



share|improve this answer










answered May 16 at 16:29









Wanderer

8119




8119











  • Thank you so much for this! So I just input this whole command list into my terminal and I have my command executable file? Correct?
    – CalebO5
    May 16 at 18:54










  • @CalebO5 You haven't read the tutorial I provided you the link to in my answer, have you? It is all explained there.
    – Wanderer
    May 17 at 9:14










  • Oh, I didn't see the link but now I see how the file is made this way.
    – CalebO5
    May 17 at 11:18










  • Now if I upgrade to Ubuntu 17.04, 17.10, or 18.04. All of these apps are compatible, Yes?
    – CalebO5
    May 17 at 11:58










  • I don't get it when I run the command above, it doesn't give me anything, I want the file to be on my desktop for easy access to the commands when I need to access them
    – CalebO5
    May 17 at 13:13
















  • Thank you so much for this! So I just input this whole command list into my terminal and I have my command executable file? Correct?
    – CalebO5
    May 16 at 18:54










  • @CalebO5 You haven't read the tutorial I provided you the link to in my answer, have you? It is all explained there.
    – Wanderer
    May 17 at 9:14










  • Oh, I didn't see the link but now I see how the file is made this way.
    – CalebO5
    May 17 at 11:18










  • Now if I upgrade to Ubuntu 17.04, 17.10, or 18.04. All of these apps are compatible, Yes?
    – CalebO5
    May 17 at 11:58










  • I don't get it when I run the command above, it doesn't give me anything, I want the file to be on my desktop for easy access to the commands when I need to access them
    – CalebO5
    May 17 at 13:13















Thank you so much for this! So I just input this whole command list into my terminal and I have my command executable file? Correct?
– CalebO5
May 16 at 18:54




Thank you so much for this! So I just input this whole command list into my terminal and I have my command executable file? Correct?
– CalebO5
May 16 at 18:54












@CalebO5 You haven't read the tutorial I provided you the link to in my answer, have you? It is all explained there.
– Wanderer
May 17 at 9:14




@CalebO5 You haven't read the tutorial I provided you the link to in my answer, have you? It is all explained there.
– Wanderer
May 17 at 9:14












Oh, I didn't see the link but now I see how the file is made this way.
– CalebO5
May 17 at 11:18




Oh, I didn't see the link but now I see how the file is made this way.
– CalebO5
May 17 at 11:18












Now if I upgrade to Ubuntu 17.04, 17.10, or 18.04. All of these apps are compatible, Yes?
– CalebO5
May 17 at 11:58




Now if I upgrade to Ubuntu 17.04, 17.10, or 18.04. All of these apps are compatible, Yes?
– CalebO5
May 17 at 11:58












I don't get it when I run the command above, it doesn't give me anything, I want the file to be on my desktop for easy access to the commands when I need to access them
– CalebO5
May 17 at 13:13




I don't get it when I run the command above, it doesn't give me anything, I want the file to be on my desktop for easy access to the commands when I need to access them
– CalebO5
May 17 at 13:13












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036528%2fubuntu-16-04-lts-upgrade-and-command-terminal-file%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491