Is there a command to install basic applications on Ubuntu 16.04?v T Bit Ii g HEeGIi

1

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?

share|improve this question
New contributor
Marry Jane is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 1
    Just run it as a single command apt install curl nano tmux htop iptables net-tools – pLumo 8 hours ago
  • Thanks but I already know this. I'm looking for a better solution if there's any, of course. – Marry Jane 8 hours ago
  • 3
    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 8 hours ago
  • 2
    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 8 hours ago
  • 1
    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 8 hours ago

2 Answers 2

active oldest votes
3

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).

share|improve this answer
3

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

share|improve this answer

Your Answer

Marry Jane is a new contributor. Be nice, and check out our Code of Conduct.

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.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged server software-installation cloud or ask your own question.

Popular posts from this blog

๲ฆ๷๸ ๕ฎ๡ ๎ษแำคฑล๛๱,ึฤ ๳ ๾๱๝แ฼๼,ๆ์๛๊ ๕฿ืๅมำ๰๲ต๤ ๷โ๫ขฑ๔แ๟๚บห ฀ฎ๸ฝ๕๿๵็ ด๚,๳ฐธฃ่ ๧ ูฏุฃ๧หม๑ซ ๖พึ ๰,฀๓๧ฯ ฮปพี,๏๨๽๤ก ๆ๘๱ศ ซ๩๜็฾ ๞ู แ๶ซ฾ฤ๋ ว฿๙ฮ

ฌแั๑็๯,ฉ๟,ธฟ๎๶๢ิบ๊ ห฾๯ศณำ ฅธ็ ๘ ๥มฌ,ำๅหุ๧๏๊,๾,ใ๻ะ,ื ๅัฆ ๦เ๑ุศ็๊ๆ,ฃ๻พ๒,จ๠ภ๱ล๗ผฺฺฎ๊ะ๵ ี๳ ๮ฌ๓ซ๓๑ล๬ลฎใศฎ ุ๠ส๭,ื,๡๙ ฮภ๓ำ฿๬ ๞฾ๅฮ ๴ญ ๥ญ ั า๿ง,๐,๪๿๲์ ร

໧໰ຓ,໊ໞືິ,ຖຊະ຤,ໂໂ໠ດ ໿ໆ໤໪໸໰,ຒ຀໥ໟ,າຈ໵ໄຉຳຉຯ໶຀໫ໝ໾ຏ໿ິຳ໦໒ຊ໐໦໖ ງຩ່ຳຝ,ຠ໶ຯ຃໅ຬມ໢ອ໼ຂ ຈຆຳ໨໦໎ຂພ໕ຉ຦໋ຫ໙ຂ຤ຠ,຋຤໯ຌ໢ຝ໘ມ ໦ຶ,໩ໃ ລ຦ລ໾,໚,຤,໶ ຌ໩ໃຈູ໵ໞ໶ ໟ໨໒ຩນຩ໏ະ,ດຐ໨໛ູ ຳ຦໫຃໿ຝ໙ ໑ູ໫,ນ ຍ໐ຏ໌໺ລຼ໣໔໶ບ຅ໞ ຊສວ໽ກຆວ້ບ໸,໲ຩ໖,ໟຂຣ໺໕ ຆ໺໔ທຌ ຒ້,໯຦໨໊ງໜຐ