Ubuntu 16.04 LTS Upgrade and Command Terminal File
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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
command-line upgrade
add a comment |Â
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
command-line upgrade
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
add a comment |Â
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
command-line upgrade
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
command-line upgrade
asked May 15 at 13:18
![](https://i.stack.imgur.com/lFHD3.jpg?s=32&g=1)
![](https://i.stack.imgur.com/lFHD3.jpg?s=32&g=1)
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
add a comment |Â
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
add a comment |Â
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.
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
 |Â
show 6 more comments
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.
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
 |Â
show 6 more comments
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.
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
 |Â
show 6 more comments
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.
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.
answered May 16 at 16:29
![](https://i.stack.imgur.com/xIkSE.jpg?s=32&g=1)
![](https://i.stack.imgur.com/xIkSE.jpg?s=32&g=1)
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
 |Â
show 6 more comments
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
 |Â
show 6 more comments
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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