Partially use the -y argument when installing things in Debian in one line
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a long apt-get install sequence in Ubuntu 18.04.
Some of the software packages might need the -y
argument and some don't.
I could do the following in two lines:
apt-get upgrade unattended-upgrades sshguard curl wget git ansible zip unzip tree mc lamp-server^ -y
apt-get upgrade python-certbot-apache
But is there a way to do all in one line like?
apt upgrade unattended-upgrades sshguard curl wget git -y ansible zip unzip tree mc -y lamp-server^ python-certbot-apache
Note the two -y
arguments inside the sequence.
I can't test right now.
debian apt arguments
add a comment |Â
up vote
0
down vote
favorite
I have a long apt-get install sequence in Ubuntu 18.04.
Some of the software packages might need the -y
argument and some don't.
I could do the following in two lines:
apt-get upgrade unattended-upgrades sshguard curl wget git ansible zip unzip tree mc lamp-server^ -y
apt-get upgrade python-certbot-apache
But is there a way to do all in one line like?
apt upgrade unattended-upgrades sshguard curl wget git -y ansible zip unzip tree mc -y lamp-server^ python-certbot-apache
Note the two -y
arguments inside the sequence.
I can't test right now.
debian apt arguments
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a long apt-get install sequence in Ubuntu 18.04.
Some of the software packages might need the -y
argument and some don't.
I could do the following in two lines:
apt-get upgrade unattended-upgrades sshguard curl wget git ansible zip unzip tree mc lamp-server^ -y
apt-get upgrade python-certbot-apache
But is there a way to do all in one line like?
apt upgrade unattended-upgrades sshguard curl wget git -y ansible zip unzip tree mc -y lamp-server^ python-certbot-apache
Note the two -y
arguments inside the sequence.
I can't test right now.
debian apt arguments
I have a long apt-get install sequence in Ubuntu 18.04.
Some of the software packages might need the -y
argument and some don't.
I could do the following in two lines:
apt-get upgrade unattended-upgrades sshguard curl wget git ansible zip unzip tree mc lamp-server^ -y
apt-get upgrade python-certbot-apache
But is there a way to do all in one line like?
apt upgrade unattended-upgrades sshguard curl wget git -y ansible zip unzip tree mc -y lamp-server^ python-certbot-apache
Note the two -y
arguments inside the sequence.
I can't test right now.
debian apt arguments
debian apt arguments
edited 6 mins ago
Jeff Schaller
35.2k952115
35.2k952115
asked 13 mins ago
JohnDoea
101731
101731
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f480240%2fpartially-use-the-y-argument-when-installing-things-in-debian-in-one-line%23new-answer', 'question_page');
);
Post as a guest
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
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
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