Ubuntu – Install many applications using one command

package-management

after reinstall system I need install applications again. Is it possible to make bash script or own package where cancan I add needed application and after reinstall system will I install them all using one command?

Best Answer

  • To build a list of installed packages use:

    sudo dpkg --get-selections > package.list
    

    To restore the packages use:

    sudo dpkg --set-selections < package.list
    sudo apt-get dselect-upgrade