Is there a command to install basic applications on Ubuntu 16.04?Install many applications using one commandInstallation of libavcodec-extra or libmp3lame failsRunning multiple services on one dedicated server with static IPSend mail using SMTP from multiple computers using just an ubuntu server?Low priority process (nice 19) getting more CPU time than regular process (nice 0)Do I need iptables if only two ports are open to the public?OpenVPN Ubuntu 16.04 headless server connects to VPN but no internetBad achive mirror during Server 16.04 install
Why is there so little discussion / research on the philosophy of precision?
What is a CirKle Word™?
Where was Carl Sagan working on a plan to detonate a nuke on the Moon? Where was he applying when he leaked it?
What is the difference between "Grippe" and "Männergrippe"?
Can RMSE and MAE have the same value?
Two questions about typesetting a Roman missal
How do thermal tapes transfer heat despite their low thermal conductivity?
Did the British navy fail to take into account the ballistics correction due to Coriolis force during WW1 Falkland Islands battle?
Why is 7 Bd3 in the Cambridge Springs QGD more often met with 7...Ne4 than 7...dxc4?
What to say to a student who has failed?
Do they have Supervillain(s)?
Why do banks “park” their money at the European Central Bank?
Is there any way to keep a player from killing an NPC?
How to prevent clipped screen edges on my TV, HDMI-connected?
Was there ever a treaty between 2 entities with significantly different translations to the detriment of one party?
What is the difference between Major and Minor Bug?
How do I, an introvert, communicate to my friend and only colleague, an extrovert, that I want to spend my scheduled breaks without them?
What are some interesting features that are common cross-linguistically but don't exist in English?
Why doesn't 'd /= d' throw a division by zero exception?
Would the Republic of Ireland and Northern Ireland be interested in reuniting?
Would it be possible to have a GMO that produces chocolate?
Which book is the Murderer's Gloves magic item from?
Why do all fields in a QFT transform like *irreducible* representations of some group?
Did anyone try to find the little box that held Professor Moriarty and his wife after the crash?
Is there a command to install basic applications on Ubuntu 16.04?
Install many applications using one commandInstallation of libavcodec-extra or libmp3lame failsRunning multiple services on one dedicated server with static IPSend mail using SMTP from multiple computers using just an ubuntu server?Low priority process (nice 19) getting more CPU time than regular process (nice 0)Do I need iptables if only two ports are open to the public?OpenVPN Ubuntu 16.04 headless server connects to VPN but no internetBad achive mirror during Server 16.04 install
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm using a dedicated server and this provider installs Ubuntu 16.04 with almost nothing. For example none of these commands exist so I need to install them one by one:
curl, nano, tmux, htop, iptables, ifconfig and many more of these basic stuff that I don't recall.
I used to use another dedicated server provider and their images would come with those basic stuff.
Now it's a hassle to install those one by one every time I get a new dedicated server (and I get a lot) and/or when I reinstall the OS and they don't have a snapshot feature either.
Is there a command that I can get basic stuff in bundle or something without having to run apt install xx each time for each app I mentioned above?
server software-installation cloud
|
show 5 more comments
I'm using a dedicated server and this provider installs Ubuntu 16.04 with almost nothing. For example none of these commands exist so I need to install them one by one:
curl, nano, tmux, htop, iptables, ifconfig and many more of these basic stuff that I don't recall.
I used to use another dedicated server provider and their images would come with those basic stuff.
Now it's a hassle to install those one by one every time I get a new dedicated server (and I get a lot) and/or when I reinstall the OS and they don't have a snapshot feature either.
Is there a command that I can get basic stuff in bundle or something without having to run apt install xx each time for each app I mentioned above?
server software-installation cloud
10
Just run it as a single commandapt install curl nano tmux htop iptables net-tools
– pLumo
Aug 12 at 12:14
15
there won't be a better solution, because everyone will have a different opinion what are "basic" applications. For example, I would never ever installnano...
– pLumo
Aug 12 at 12:16
5
Is creating a script to grab what you want beyond you? You should only grab the bare minimum set of tools you need, so it's better to create your own minimal set than use a predefined set created by someone else (that may contain packages you don't need)
– guiverc
Aug 12 at 12:17
1
This ^^^^ For things you want to automate for yourself you create a script. My post install script before the "minimal" option was introduced had lots of apt remove lines
– Rinzwind
Aug 12 at 12:18
2
You can install the packages you want when you provision the first server, and then export and import the package lists usingdpkg --get-selectionsanddpkg --set-selections. See for example Install many applications using one command
– steeldriver
Aug 12 at 12:44
|
show 5 more comments
I'm using a dedicated server and this provider installs Ubuntu 16.04 with almost nothing. For example none of these commands exist so I need to install them one by one:
curl, nano, tmux, htop, iptables, ifconfig and many more of these basic stuff that I don't recall.
I used to use another dedicated server provider and their images would come with those basic stuff.
Now it's a hassle to install those one by one every time I get a new dedicated server (and I get a lot) and/or when I reinstall the OS and they don't have a snapshot feature either.
Is there a command that I can get basic stuff in bundle or something without having to run apt install xx each time for each app I mentioned above?
server software-installation cloud
I'm using a dedicated server and this provider installs Ubuntu 16.04 with almost nothing. For example none of these commands exist so I need to install them one by one:
curl, nano, tmux, htop, iptables, ifconfig and many more of these basic stuff that I don't recall.
I used to use another dedicated server provider and their images would come with those basic stuff.
Now it's a hassle to install those one by one every time I get a new dedicated server (and I get a lot) and/or when I reinstall the OS and they don't have a snapshot feature either.
Is there a command that I can get basic stuff in bundle or something without having to run apt install xx each time for each app I mentioned above?
server software-installation cloud
server software-installation cloud
edited Aug 12 at 15:04
Eliah Kagan
88.7k22 gold badges247 silver badges387 bronze badges
88.7k22 gold badges247 silver badges387 bronze badges
asked Aug 12 at 12:12
Marry JaneMarry Jane
435 bronze badges
435 bronze badges
10
Just run it as a single commandapt install curl nano tmux htop iptables net-tools
– pLumo
Aug 12 at 12:14
15
there won't be a better solution, because everyone will have a different opinion what are "basic" applications. For example, I would never ever installnano...
– pLumo
Aug 12 at 12:16
5
Is creating a script to grab what you want beyond you? You should only grab the bare minimum set of tools you need, so it's better to create your own minimal set than use a predefined set created by someone else (that may contain packages you don't need)
– guiverc
Aug 12 at 12:17
1
This ^^^^ For things you want to automate for yourself you create a script. My post install script before the "minimal" option was introduced had lots of apt remove lines
– Rinzwind
Aug 12 at 12:18
2
You can install the packages you want when you provision the first server, and then export and import the package lists usingdpkg --get-selectionsanddpkg --set-selections. See for example Install many applications using one command
– steeldriver
Aug 12 at 12:44
|
show 5 more comments
10
Just run it as a single commandapt install curl nano tmux htop iptables net-tools
– pLumo
Aug 12 at 12:14
15
there won't be a better solution, because everyone will have a different opinion what are "basic" applications. For example, I would never ever installnano...
– pLumo
Aug 12 at 12:16
5
Is creating a script to grab what you want beyond you? You should only grab the bare minimum set of tools you need, so it's better to create your own minimal set than use a predefined set created by someone else (that may contain packages you don't need)
– guiverc
Aug 12 at 12:17
1
This ^^^^ For things you want to automate for yourself you create a script. My post install script before the "minimal" option was introduced had lots of apt remove lines
– Rinzwind
Aug 12 at 12:18
2
You can install the packages you want when you provision the first server, and then export and import the package lists usingdpkg --get-selectionsanddpkg --set-selections. See for example Install many applications using one command
– steeldriver
Aug 12 at 12:44
10
10
Just run it as a single command
apt install curl nano tmux htop iptables net-tools – pLumo
Aug 12 at 12:14
Just run it as a single command
apt install curl nano tmux htop iptables net-tools – pLumo
Aug 12 at 12:14
15
15
there won't be a better solution, because everyone will have a different opinion what are "basic" applications. For example, I would never ever install
nano ...– pLumo
Aug 12 at 12:16
there won't be a better solution, because everyone will have a different opinion what are "basic" applications. For example, I would never ever install
nano ...– pLumo
Aug 12 at 12:16
5
5
Is creating a script to grab what you want beyond you? You should only grab the bare minimum set of tools you need, so it's better to create your own minimal set than use a predefined set created by someone else (that may contain packages you don't need)
– guiverc
Aug 12 at 12:17
Is creating a script to grab what you want beyond you? You should only grab the bare minimum set of tools you need, so it's better to create your own minimal set than use a predefined set created by someone else (that may contain packages you don't need)
– guiverc
Aug 12 at 12:17
1
1
This ^^^^ For things you want to automate for yourself you create a script. My post install script before the "minimal" option was introduced had lots of apt remove lines
– Rinzwind
Aug 12 at 12:18
This ^^^^ For things you want to automate for yourself you create a script. My post install script before the "minimal" option was introduced had lots of apt remove lines
– Rinzwind
Aug 12 at 12:18
2
2
You can install the packages you want when you provision the first server, and then export and import the package lists using
dpkg --get-selections and dpkg --set-selections. See for example Install many applications using one command– steeldriver
Aug 12 at 12:44
You can install the packages you want when you provision the first server, and then export and import the package lists using
dpkg --get-selections and dpkg --set-selections. See for example Install many applications using one command– steeldriver
Aug 12 at 12:44
|
show 5 more comments
4 Answers
4
active
oldest
votes
The fastest solution to install these would be to install the ubuntu-server packageset which has dependencies on these tools and scripts by default. Then you can script the removal of tools you don't need.
However, if you do so, ubuntu-server gets removed (it's a metapackage, it won't break your system if it's removed), and then if you ever run apt autoremove at any point after, those tools will have a chance to be removed since their only dependency point on-system was ubuntu-server
add a comment |
Is creating a script to grab what you want beyond you?
You should only grab the bare minimum set of tools you need, so it's better to create your own minimal set than use a predefined set created by someone else (it'll likely contain packages you don't need)
As @Rinzwind said in comments, your script may also include the removal of default installed packages you don't need (ie. to help achieve the minimal packages your system actually needs).
add a comment |
If you don't want to run apt install <packagename> each time, you can combine them in one line
apt install curl nano tmux htop iptables net-tools
Alternatively, if you have a reference server you can use
on the original server
dpkg --get-selections > /tmp/selections.list
on the new server
dpkg --set-selection < /tmp/selections.list
apt-get dselect-upgrade
However, keep in mind this sets all packages !!
So its advised to only do this on the same OS version, i.e. Ubuntu 16.04 to Ubuntu 16.04.
If you do this from an old Ubuntu 16.04 to a new Ubuntu 18.04, you will break the new Ubuntu 18.04.
add a comment |
If you do this regularly consider using a configuration management tool like Ansible, Chef, Puppet, ...
You can create a bootstrap playbook/recipe/script (they all call it different) with the configuration you want and the tool makes sure your configuration is met. This can include installed packages, users, groups, ssh keys, passwords ... basically everything that can be configured.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1165171%2fis-there-a-command-to-install-basic-applications-on-ubuntu-16-04%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
The fastest solution to install these would be to install the ubuntu-server packageset which has dependencies on these tools and scripts by default. Then you can script the removal of tools you don't need.
However, if you do so, ubuntu-server gets removed (it's a metapackage, it won't break your system if it's removed), and then if you ever run apt autoremove at any point after, those tools will have a chance to be removed since their only dependency point on-system was ubuntu-server
add a comment |
The fastest solution to install these would be to install the ubuntu-server packageset which has dependencies on these tools and scripts by default. Then you can script the removal of tools you don't need.
However, if you do so, ubuntu-server gets removed (it's a metapackage, it won't break your system if it's removed), and then if you ever run apt autoremove at any point after, those tools will have a chance to be removed since their only dependency point on-system was ubuntu-server
add a comment |
The fastest solution to install these would be to install the ubuntu-server packageset which has dependencies on these tools and scripts by default. Then you can script the removal of tools you don't need.
However, if you do so, ubuntu-server gets removed (it's a metapackage, it won't break your system if it's removed), and then if you ever run apt autoremove at any point after, those tools will have a chance to be removed since their only dependency point on-system was ubuntu-server
The fastest solution to install these would be to install the ubuntu-server packageset which has dependencies on these tools and scripts by default. Then you can script the removal of tools you don't need.
However, if you do so, ubuntu-server gets removed (it's a metapackage, it won't break your system if it's removed), and then if you ever run apt autoremove at any point after, those tools will have a chance to be removed since their only dependency point on-system was ubuntu-server
answered Aug 12 at 14:18
Thomas Ward♦Thomas Ward
47.6k23 gold badges128 silver badges184 bronze badges
47.6k23 gold badges128 silver badges184 bronze badges
add a comment |
add a comment |
Is creating a script to grab what you want beyond you?
You should only grab the bare minimum set of tools you need, so it's better to create your own minimal set than use a predefined set created by someone else (it'll likely contain packages you don't need)
As @Rinzwind said in comments, your script may also include the removal of default installed packages you don't need (ie. to help achieve the minimal packages your system actually needs).
add a comment |
Is creating a script to grab what you want beyond you?
You should only grab the bare minimum set of tools you need, so it's better to create your own minimal set than use a predefined set created by someone else (it'll likely contain packages you don't need)
As @Rinzwind said in comments, your script may also include the removal of default installed packages you don't need (ie. to help achieve the minimal packages your system actually needs).
add a comment |
Is creating a script to grab what you want beyond you?
You should only grab the bare minimum set of tools you need, so it's better to create your own minimal set than use a predefined set created by someone else (it'll likely contain packages you don't need)
As @Rinzwind said in comments, your script may also include the removal of default installed packages you don't need (ie. to help achieve the minimal packages your system actually needs).
Is creating a script to grab what you want beyond you?
You should only grab the bare minimum set of tools you need, so it's better to create your own minimal set than use a predefined set created by someone else (it'll likely contain packages you don't need)
As @Rinzwind said in comments, your script may also include the removal of default installed packages you don't need (ie. to help achieve the minimal packages your system actually needs).
edited Aug 12 at 12:45
answered Aug 12 at 12:26
guivercguiverc
7,4802 gold badges17 silver badges26 bronze badges
7,4802 gold badges17 silver badges26 bronze badges
add a comment |
add a comment |
If you don't want to run apt install <packagename> each time, you can combine them in one line
apt install curl nano tmux htop iptables net-tools
Alternatively, if you have a reference server you can use
on the original server
dpkg --get-selections > /tmp/selections.list
on the new server
dpkg --set-selection < /tmp/selections.list
apt-get dselect-upgrade
However, keep in mind this sets all packages !!
So its advised to only do this on the same OS version, i.e. Ubuntu 16.04 to Ubuntu 16.04.
If you do this from an old Ubuntu 16.04 to a new Ubuntu 18.04, you will break the new Ubuntu 18.04.
add a comment |
If you don't want to run apt install <packagename> each time, you can combine them in one line
apt install curl nano tmux htop iptables net-tools
Alternatively, if you have a reference server you can use
on the original server
dpkg --get-selections > /tmp/selections.list
on the new server
dpkg --set-selection < /tmp/selections.list
apt-get dselect-upgrade
However, keep in mind this sets all packages !!
So its advised to only do this on the same OS version, i.e. Ubuntu 16.04 to Ubuntu 16.04.
If you do this from an old Ubuntu 16.04 to a new Ubuntu 18.04, you will break the new Ubuntu 18.04.
add a comment |
If you don't want to run apt install <packagename> each time, you can combine them in one line
apt install curl nano tmux htop iptables net-tools
Alternatively, if you have a reference server you can use
on the original server
dpkg --get-selections > /tmp/selections.list
on the new server
dpkg --set-selection < /tmp/selections.list
apt-get dselect-upgrade
However, keep in mind this sets all packages !!
So its advised to only do this on the same OS version, i.e. Ubuntu 16.04 to Ubuntu 16.04.
If you do this from an old Ubuntu 16.04 to a new Ubuntu 18.04, you will break the new Ubuntu 18.04.
If you don't want to run apt install <packagename> each time, you can combine them in one line
apt install curl nano tmux htop iptables net-tools
Alternatively, if you have a reference server you can use
on the original server
dpkg --get-selections > /tmp/selections.list
on the new server
dpkg --set-selection < /tmp/selections.list
apt-get dselect-upgrade
However, keep in mind this sets all packages !!
So its advised to only do this on the same OS version, i.e. Ubuntu 16.04 to Ubuntu 16.04.
If you do this from an old Ubuntu 16.04 to a new Ubuntu 18.04, you will break the new Ubuntu 18.04.
answered Aug 13 at 9:12
Robert RiedlRobert Riedl
3,55610 silver badges30 bronze badges
3,55610 silver badges30 bronze badges
add a comment |
add a comment |
If you do this regularly consider using a configuration management tool like Ansible, Chef, Puppet, ...
You can create a bootstrap playbook/recipe/script (they all call it different) with the configuration you want and the tool makes sure your configuration is met. This can include installed packages, users, groups, ssh keys, passwords ... basically everything that can be configured.
add a comment |
If you do this regularly consider using a configuration management tool like Ansible, Chef, Puppet, ...
You can create a bootstrap playbook/recipe/script (they all call it different) with the configuration you want and the tool makes sure your configuration is met. This can include installed packages, users, groups, ssh keys, passwords ... basically everything that can be configured.
add a comment |
If you do this regularly consider using a configuration management tool like Ansible, Chef, Puppet, ...
You can create a bootstrap playbook/recipe/script (they all call it different) with the configuration you want and the tool makes sure your configuration is met. This can include installed packages, users, groups, ssh keys, passwords ... basically everything that can be configured.
If you do this regularly consider using a configuration management tool like Ansible, Chef, Puppet, ...
You can create a bootstrap playbook/recipe/script (they all call it different) with the configuration you want and the tool makes sure your configuration is met. This can include installed packages, users, groups, ssh keys, passwords ... basically everything that can be configured.
answered Aug 13 at 9:33
Gerald SchneiderGerald Schneider
4443 silver badges12 bronze badges
4443 silver badges12 bronze badges
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1165171%2fis-there-a-command-to-install-basic-applications-on-ubuntu-16-04%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
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
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
10
Just run it as a single command
apt install curl nano tmux htop iptables net-tools– pLumo
Aug 12 at 12:14
15
there won't be a better solution, because everyone will have a different opinion what are "basic" applications. For example, I would never ever install
nano...– pLumo
Aug 12 at 12:16
5
Is creating a script to grab what you want beyond you? You should only grab the bare minimum set of tools you need, so it's better to create your own minimal set than use a predefined set created by someone else (that may contain packages you don't need)
– guiverc
Aug 12 at 12:17
1
This ^^^^ For things you want to automate for yourself you create a script. My post install script before the "minimal" option was introduced had lots of apt remove lines
– Rinzwind
Aug 12 at 12:18
2
You can install the packages you want when you provision the first server, and then export and import the package lists using
dpkg --get-selectionsanddpkg --set-selections. See for example Install many applications using one command– steeldriver
Aug 12 at 12:44