0

enter image description hereHow to add default packages in

/etc/apt/sources.list

but without nano or vim or any other software.... my server is naked only 600 MB with swap.

and which repositories to add???

0

Visit https://repogen.simplylinux.ch/ and choose everything you need. Click Generate List at the bottom. You can add each line to the sources.list file without editing by typing in:

sudo bash -c 'echo "full line of repository from generated list" >> /etc/apt/sources.list'

repeat the line above for each line from the generated list.

Hope this helps!

  • Thanks although it's now too late....i made a mistake while installing and didn't set this up.....now everything is working fine...but your answer is correct! – lewis4u Aug 6 '16 at 7:02

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.