Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
タイトルがかなり明確なので (そう願っています :) )、apt-get コマンドを使用して多くのソフトウェアを簡単にインストールする方法を探しています。必要なすべてのソフトウェアを配置するシェル スクリプトを作成しましたが、あまりクリーンではありません。そうするために私は仮定します。最もクリーンな方法は、コマンド pip のように apt-get にファイルを読み込むように指示することです。
前もって感謝します
test.txt次のように、パッケージ名をスペースで区切って、パッケージのリストをテキスト ファイル (たとえば) に入れます。
test.txt
python ruby foo bar
次に、このようにインストールできますapt-get-
apt-get
sudo apt-get install $(cat test.txt)