apt-get

apt-get install tzdata noninteractive

与世无争的帅哥 提交于 2021-02-15 08:34:04
问题 When I try to apt-get install -y tzdata the command line option for picking timezone shows up. I am trying to use this in a script to do some setup, how can I make the apt-get run without user input? I know to reconfigure the tzdata I can do echo "America/New_York" > /etc/timezone dpkg-reconfigure -f noninteractive tzdata But when installing I need it to run fully even if it doesn't set the right timezone, I can always reconfigure it. I tried echo 5 | apt-get install -y tzdata but it is not

apt-get install tzdata noninteractive

a 夏天 提交于 2021-02-15 08:26:11
问题 When I try to apt-get install -y tzdata the command line option for picking timezone shows up. I am trying to use this in a script to do some setup, how can I make the apt-get run without user input? I know to reconfigure the tzdata I can do echo "America/New_York" > /etc/timezone dpkg-reconfigure -f noninteractive tzdata But when installing I need it to run fully even if it doesn't set the right timezone, I can always reconfigure it. I tried echo 5 | apt-get install -y tzdata but it is not

apt-get install tzdata noninteractive

我是研究僧i 提交于 2021-02-15 08:25:22
问题 When I try to apt-get install -y tzdata the command line option for picking timezone shows up. I am trying to use this in a script to do some setup, how can I make the apt-get run without user input? I know to reconfigure the tzdata I can do echo "America/New_York" > /etc/timezone dpkg-reconfigure -f noninteractive tzdata But when installing I need it to run fully even if it doesn't set the right timezone, I can always reconfigure it. I tried echo 5 | apt-get install -y tzdata but it is not

apt-get install tzdata noninteractive

谁说我不能喝 提交于 2021-02-15 08:24:59
问题 When I try to apt-get install -y tzdata the command line option for picking timezone shows up. I am trying to use this in a script to do some setup, how can I make the apt-get run without user input? I know to reconfigure the tzdata I can do echo "America/New_York" > /etc/timezone dpkg-reconfigure -f noninteractive tzdata But when installing I need it to run fully even if it doesn't set the right timezone, I can always reconfigure it. I tried echo 5 | apt-get install -y tzdata but it is not

How can I change the apt-get install directory

孤街醉人 提交于 2020-12-29 03:11:28
问题 The default install directory of apt-get is /opt. Can I change it to another directory? 回答1: Best way I can think of is to use a symbolic link note that not all programmes are installed to the same directory and /opt may not be the best thing to move. (see end for example of moving only one folder/program) This is what I did with EasyPeasy (Ubuntu 10.04) Follow this code carefully some of the commands can delete important files if used incorrectly. First you need to make sure /opt (or your

How can I change the apt-get install directory

江枫思渺然 提交于 2020-12-29 03:09:06
问题 The default install directory of apt-get is /opt. Can I change it to another directory? 回答1: Best way I can think of is to use a symbolic link note that not all programmes are installed to the same directory and /opt may not be the best thing to move. (see end for example of moving only one folder/program) This is what I did with EasyPeasy (Ubuntu 10.04) Follow this code carefully some of the commands can delete important files if used incorrectly. First you need to make sure /opt (or your

How can I change the apt-get install directory

烈酒焚心 提交于 2020-12-29 03:08:19
问题 The default install directory of apt-get is /opt. Can I change it to another directory? 回答1: Best way I can think of is to use a symbolic link note that not all programmes are installed to the same directory and /opt may not be the best thing to move. (see end for example of moving only one folder/program) This is what I did with EasyPeasy (Ubuntu 10.04) Follow this code carefully some of the commands can delete important files if used incorrectly. First you need to make sure /opt (or your